go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

feat: Add strict flag

Open kesonan opened this issue 1 year ago • 0 comments

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

kesonan avatar Aug 10 '22 03:08 kesonan