Module: Postgresql::Check::Table

Defined in:
lib/postgresql/check/table.rb

Instance Method Summary collapse

Instance Method Details

#check(condition, options) ⇒ Object



4
5
6
# File 'lib/postgresql/check/table.rb', line 4

def check(condition, options)
  @base.add_check check_table_name, condition, options
end

#remove_check(options) ⇒ Object



8
9
10
# File 'lib/postgresql/check/table.rb', line 8

def remove_check(options)
  @base.remove_check check_table_name, options
end