| 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 74
74: def add_exclusion_constraint(elements, opts={})
75: @operations << {:op => :add_constraint, :type => :exclude, :elements => elements}.merge(opts)
76: end