schemats icon indicating copy to clipboard operation
schemats copied to clipboard

Add option to disable bigint.

Open wirekang opened this issue 1 year ago • 2 comments

wirekang avatar Oct 18 '22 06:10 wirekang

Can you please provide a bit more information on this issue?

yasserf avatar Oct 18 '22 08:10 yasserf

Sorry for the lack of information. If there is a bigint (=sql type) column, schemats will create a bigint (=js type) attribute. Although this is very appropriate behavior, and JavaScript numbers don't cover the range of all possible 64-bit integer values, sometimes we need 'number' rather than 'bigint'. It would be nice to have an option like --no-bigint.

wirekang avatar Oct 18 '22 08:10 wirekang