We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create table tb1 (id int unsigned not null auto_increment comment 'a', b timestamp not null default '0000-00-00 00:00' comment 'b', primary key(id) ) engine=innodb charset utf8 comment='tb1'; 有些场景,需要设置默认值为上述0000-00-00 00:00的非空默认值
目前inception检查时默认不通过(即使后端sql_mode关闭了参数NO_ZERO_IN_DATE 和 NO_ZERO_DATE),报错如下: Invalid default value for column 'b'.
是否可以增加一个开关选项,不控制此类时间默认值的检查,由后端的数据源的sql_mode返回呢
The text was updated successfully, but these errors were encountered:
No branches or pull requests
create table tb1
(id int unsigned not null auto_increment comment 'a',
b timestamp not null default '0000-00-00 00:00' comment 'b',
primary key(id)
) engine=innodb charset utf8 comment='tb1';
有些场景,需要设置默认值为上述0000-00-00 00:00的非空默认值
目前inception检查时默认不通过(即使后端sql_mode关闭了参数NO_ZERO_IN_DATE 和 NO_ZERO_DATE),报错如下:
Invalid default value for column 'b'.
是否可以增加一个开关选项,不控制此类时间默认值的检查,由后端的数据源的sql_mode返回呢
The text was updated successfully, but these errors were encountered: