You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
schema-export (and all dbCreate modes except 'none') should make use of the check constraints, i.e. the generated DB should have them, and when starting an application with dbCreate=validate should warn/error that they're missing (like in the case of other mapping differences).
Actual Behaviour
No check constraints are being used, nor any warning/error is being displayed for dbCreate=validate.
Task List
Steps to Reproduce
For
inList
fields the check constraints seem to be missing:'S','M','L','XL'
andnull
22, 42, 44, 66
'y','n','x'
but the generated DDL https://github.com/aadrian/fieldbugs1/blob/master/ddl.sql does not contain constraints on those fields (only a size limitation)
Expected Behaviour
schema-export
(and alldbCreate
modes except 'none') should make use of the check constraints, i.e. the generated DB should have them, and when starting an application withdbCreate=validate
should warn/error that they're missing (like in the case of other mapping differences).Actual Behaviour
No check constraints are being used, nor any warning/error is being displayed for
dbCreate=validate
.Environment Information
Example Application
https://github.com/aadrian/fieldbugs1/
Thank you.
The text was updated successfully, but these errors were encountered: