Class: ActiveRecord::ConnectionAdapters::NullDBAdapter::TableDefinition
- Inherits:
-
TableDefinition
- Object
- TableDefinition
- ActiveRecord::ConnectionAdapters::NullDBAdapter::TableDefinition
- Defined in:
- lib/active_record/connection_adapters/nulldb_adapter/table_definition.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#create_column_definition(name, type, options) ⇒ Object
Avoid check for option validity.
- #exclusion_constraint(*args) ⇒ Object
- #unique_constraint(*args, **kwargs, &block) ⇒ Object
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/active_record/connection_adapters/nulldb_adapter/table_definition.rb', line 4 def name @name end |
Instance Method Details
#create_column_definition(name, type, options) ⇒ Object
Avoid check for option validity
23 24 25 |
# File 'lib/active_record/connection_adapters/nulldb_adapter/table_definition.rb', line 23 def create_column_definition(name, type, ) ActiveRecord::ConnectionAdapters::ColumnDefinition.new(name, type, ) end |
#exclusion_constraint(*args) ⇒ Object
19 |
# File 'lib/active_record/connection_adapters/nulldb_adapter/table_definition.rb', line 19 def exclusion_constraint(*args); end |
#unique_constraint(*args, **kwargs, &block) ⇒ Object
18 |
# File 'lib/active_record/connection_adapters/nulldb_adapter/table_definition.rb', line 18 def unique_constraint(*args, **kwargs, &block); end |