method

new_unique_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_unique_constraint_definition(column_name, options)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 257
        def new_unique_constraint_definition(column_name, options) # :nodoc:
          options = @conn.unique_constraint_options(name, column_name, options)
          UniqueConstraintDefinition.new(name, column_name, options)
        end