Class | Sequel::AlterTableGenerator |
In: |
lib/sequel/adapters/shared/postgres.rb
|
Parent: | Sequel::Schema::AlterTableGenerator |
Adds an exclusion constraint to an existing table, see CreateTableGenerator#exclude.
# File lib/sequel/adapters/shared/postgres.rb, line 118 118: def add_exclusion_constraint(elements, opts=OPTS) 119: @operations << {:op => :add_constraint, :type => :exclude, :elements => elements}.merge!(opts) 120: end