- marked as critical
add column check constraints
Issue #217
resolved
add column check constraints in schema definition.
Comments (3)
-
repo owner -
repo owner - changed status to resolved
-
repo owner - removed milestone
Removing milestone: 0.3.0 (automated comment)
- Log in to comment
probably want to implement this as a ClauseElement you can stick on the Column, except you need to reference the column itself...so, that might make it messy.
quick and easy way would be to just add
"check='somestring'"
and you just put the literal string in there. but then PG lets you also haveCONSTRAINT <somename> CHECK <condition>
, so maybe additionallyconstraintname="somename"
.....