method

unique_constraint

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: TableDefinition
unique_constraint(column_name, **options) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb, line 255
        def unique_constraint(column_name, **options)
          unique_constraints << new_unique_constraint_definition(column_name, options)
        end
Register or log in to add new notes.