add column check constraints

Issue #217 resolved
Former user created an issue

add column check constraints in schema definition.

Comments (3)

  1. Mike Bayer repo owner

    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 have CONSTRAINT <somename> CHECK <condition>, so maybe additionally constraintname="somename".....

  2. Log in to comment