Skip to content
New issue

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

fix: checkFieldGeneratedNullable #14

Merged

Conversation

BigChaoChao
Copy link
Contributor

修复:不允许null约束时,忽略对计算列Generated的nullable检查

enable_nullable = false
CREATE TABLE t1(id bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id',operate_info json not null COMMENT '日志记录',type tinyint(10) GENERATED ALWAYS AS (json_extract(operate_info, '$.type')) VIRTUAL COMMENT '操作类型', PRIMARY KEY (id) ) ENGINE = InnoDB COMMENT ='xxx';

修复:不允许null约束时,忽略对计算列Generated的nullable检查
@codecov
Copy link

codecov bot commented Apr 2, 2019

Codecov Report

Merging #14 into master will decrease coverage by 0.0051%.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             master        #14        +/-   ##
================================================
- Coverage   63.2315%   63.2264%   -0.0052%     
================================================
  Files           373        373                
  Lines         77844      77844                
================================================
- Hits          49222      49218         -4     
- Misses        24422      24425         +3     
- Partials       4200       4201         +1

@hanchuanchuan hanchuanchuan merged commit 76ca01e into hanchuanchuan:master Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants