#primary_key? ⇒ Boolean (readonly)
[ GitHub ]
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 110
def primary_key? [:primary_key] end
123456789_123456789_123456789_123456789_123456789_
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
::Struct
|
|
|
Instance Chain:
self,
::Struct
|
|
| Inherits: | Struct |
| Defined in: | activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb |
Abstract representation of a column definition. Instances of this type
are typically created by methods in TableDefinition, and added to the
columns attribute of said TableDefinition object, in order to be used
for generating a number of table creation or table changing SQL statements.
use options instead
use options instead
use options instead
use options instead
use options instead
use options instead
use options instead
use options instead
use options instead
Abstract representation of a column definition.
Abstract representation of a column definition.
Abstract representation of a column definition.
Abstract representation of a column definition.
Abstract representation of a column definition.
Abstract representation of a column definition. Instances of this type
are typically created by methods in TableDefinition, and added to the
columns attribute of said TableDefinition object, in order to be used
for generating a number of table creation or table changing SQL statements.
use options instead
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 139
def collation = [:collation]
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 140
def collation=(value) [:collation] = value end
use options instead
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 144
def comment = [:comment]
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 145
def comment=(value) [:comment] = value end
use options instead
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 129
def default = [:default]
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 130
def default=(value) [:default] = value end
use options instead
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 149
def if_exists = [:if_exists]
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 150
def if_exists=(value) [:if_exists] = value end
use options instead
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 154
def if_not_exists = [:if_not_exists]
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 155
def if_not_exists=(value) [:if_not_exists] = value end
use options instead
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 114
def limit = [:limit]
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 115
def limit=(value) [:limit] = value end
Abstract representation of a column definition. Instances of this type
are typically created by methods in TableDefinition, and added to the
columns attribute of said TableDefinition object, in order to be used
for generating a number of table creation or table changing SQL statements.
use options instead
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 134
def null = [:null]
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 135
def null=(value) [:null] = value end
Abstract representation of a column definition. Instances of this type
are typically created by methods in TableDefinition, and added to the
columns attribute of said TableDefinition object, in order to be used
for generating a number of table creation or table changing SQL statements.
use options instead
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 119
def precision = [:precision]
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 120
def precision=(value) [:precision] = value end
Boolean (readonly)
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 110
def primary_key? [:primary_key] end
use options instead
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 124
def scale = [:scale]
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 125
def scale=(value) [:scale] = value end
Abstract representation of a column definition. Instances of this type
are typically created by methods in TableDefinition, and added to the
columns attribute of said TableDefinition object, in order to be used
for generating a number of table creation or table changing SQL statements.
Abstract representation of a column definition. Instances of this type
are typically created by methods in TableDefinition, and added to the
columns attribute of said TableDefinition object, in order to be used
for generating a number of table creation or table changing SQL statements.