lomba/schema_plus — pull request #128 by adymo (2013-10-16 23:51:59+00:00)
Title: Support for check constraints. 

Hi,
I missed the ability to define check constraints in Rails migrations syntax. So here's the patch :)

Constraints can be specified as:
- SQL expression, for example:
t.string :type, check: "type = 'mytype'"
- array of possible column values:
t.string :type, check: ["Type1", "Type2", "Type3"]