Flowdock
method

check_constraint

Importance_1
v6.1.7.7 - Show latest stable - 0 notes - Class: Table
check_constraint(*args) public

Adds a check constraint.

t.check_constraint("price > 0", name: "price_check")

See {connection.add_check_constraint}[rdoc-ref:SchemaStatements#add_check_constraint]

Show source
Register or log in to add new notes.