Class: DbSchema::Definitions::NullTable
- Defined in:
- lib/db_schema/definitions/table.rb
Instance Attribute Summary
Attributes inherited from Table
#checks, #fields, #foreign_keys, #indexes, #name
Instance Method Summary collapse
-
#initialize ⇒ NullTable
constructor
A new instance of NullTable.
Methods inherited from Table
#check, #field, #foreign_key, #has_check?, #has_expressions?, #has_field?, #has_foreign_key?, #has_foreign_key_to?, #has_index?, #has_index_on?, #has_unique_index_on?, #index, #with_fields, #with_foreign_keys, #with_indexes, #with_name
Constructor Details
#initialize ⇒ NullTable
Returns a new instance of NullTable.
112 113 114 115 116 117 |
# File 'lib/db_schema/definitions/table.rb', line 112 def initialize @fields = [] @indexes = [] @checks = [] @foreign_keys = [] end |