method

new_exclusion_constraint_definition

rails latest stable - Class: ActiveRecord::ConnectionAdapters::PostgreSQL::TableDefinition

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

new_exclusion_constraint_definition(expression, options)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 252
        def new_exclusion_constraint_definition(expression, options) # :nodoc:
          options = @conn.exclusion_constraint_options(name, expression, options)
          ExclusionConstraintDefinition.new(name, expression, options)
        end