Class | Sequel::Postgres::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 81 81: def add_exclusion_constraint(elements, opts={}) 82: @operations << {:op => :add_constraint, :type => :exclude, :elements => elements}.merge(opts) 83: end