Closed Kino1994 closed 2 years ago
Hi,
The script db_tars.sql execution fails because "registry Id" field has not numeric default value (line 331):
CREATE TABLE t_base_image ( id int(11) NOT NULL AUTO_INCREMENT, image varchar(255) NOT NULL DEFAULT '', registryId int(11) NOT NULL DEFAULT '', remark varchar(255) NOT NULL DEFAULT '', create_time datetime DEFAULT NULL, update_time datetime DEFAULT NULL, PRIMARY KEY (id) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
t_base_image
id
image
registryId
remark
create_time
update_time
Chnaged to: registryId int(11) NOT NULL DEFAULT '0', and works.
Other option I didn't tried is to remove default value: registryId int(11) NOT NULL,
I see is fixed with f9325915aab95b58d636647d14e981f409457015. So I close the issue.
Hi,
The script db_tars.sql execution fails because "registry Id" field has not numeric default value (line 331):
CREATE TABLE
t_base_image
(id
int(11) NOT NULL AUTO_INCREMENT,image
varchar(255) NOT NULL DEFAULT '',registryId
int(11) NOT NULL DEFAULT '',remark
varchar(255) NOT NULL DEFAULT '',create_time
datetime DEFAULT NULL,update_time
datetime DEFAULT NULL, PRIMARY KEY (id
) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;Chnaged to: registryId int(11) NOT NULL DEFAULT '0', and works.
Other option I didn't tried is to remove default value: registryId int(11) NOT NULL,