go-zero
go-zero copied to clipboard
feat: Add strict flag
In strict mode, if there has a constraint unsigned on a column, it wouldn't be ignored, for example:
...
age int unsigned not null default 0
...
in strict mode, the datatype of golang will be convert into uint
, or else, it will be convert into int