Class: ActiveRecord::ConnectionAdapters::PostgreSQL::ExclusionConstraintDefinition
Relationships & Source Files | |
Inherits: |
Struct
|
Defined in: | activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb |
Instance Attribute Summary
- #export_name_on_schema_dump? ⇒ Boolean readonly
- #expression rw
- #options rw
- #table_name rw
Instance Method Summary
Instance Attribute Details
#export_name_on_schema_dump? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 209
def export_name_on_schema_dump? !ActiveRecord::SchemaDumper.excl_ignore_pattern.match?(name) if name end
#expression (rw)
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 192
ExclusionConstraintDefinition = Struct.new(:table_name, :expression, : )
#options (rw)
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 192
ExclusionConstraintDefinition = Struct.new(:table_name, :expression, : )
#table_name (rw)
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 192
ExclusionConstraintDefinition = Struct.new(:table_name, :expression, : )
Instance Method Details
#deferrable
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 205
def deferrable [:deferrable] end
#name
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 193
def name [:name] end
#using
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 197
def using [:using] end
#where
[ GitHub ]# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_definitions.rb', line 201
def where [:where] end