method

exclusion_constraint

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: Table
exclusion_constraint(*args) public

Adds an exclusion constraint.

t.exclusion_constraint("price WITH =, availability_range WITH &&", using: :gist, name: "price_check")

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

Show source
Register or log in to add new notes.