module Postgresql
  module Check
    module Table
      def check(column, condition = nil)
        @base.add_check(@table_name, column, condition)
      end

      def remove_check(column_name)
        @base.remove_check(@table_name, column_name)
      end
    end
  end
end
module Postgresql
  module Check
    module Table
      def check(condition, options)
        @base.add_check(@table_name, condition, options)
      end

      def remove_check(options)
        @base.remove_check(@table_name, options)
      end
    end
  end
end
Change add_check and remove_check signatures
Change add_check and remove_check signatures
