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

Optimize check field json field #22

Merged

Conversation

BigChaoChao
Copy link
Contributor

  1. 审核参数"enable_blob_type",添加包含JSON字段类型;
  2. 当审核参数"enable_nullable=false"时,不强制text\blob\json必须有NOT NULL约束;
  3. text/blob/json 字段禁止设置NOT NULL约束。

update: 优化零值校验,基于服务器sql_mode规则
1. 审核参数"enable_blob_type",添加包含JSON字段类型;
2. 当审核参数"enable_nullable=false"时,不强制text\blob\json必须有NOT NULL约束;
3. text/blob/json 字段禁止设置NOT NULL约束。
@codecov
Copy link

codecov bot commented Apr 26, 2019

Codecov Report

Merging #22 into master will increase coverage by 0.0038%.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             master        #22        +/-   ##
================================================
+ Coverage   62.9923%   62.9961%   +0.0038%     
================================================
  Files           371        371                
  Lines         77873      77873                
================================================
+ Hits          49054      49057         +3     
+ Misses        24626      24621         -5     
- Partials       4193       4195         +2

@hanchuanchuan
Copy link
Owner

thanks!

@hanchuanchuan hanchuanchuan merged commit 0209f2e into hanchuanchuan:master Apr 26, 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