Class: DbSchema::Definitions::NullForeignKey
- Inherits:
-
ForeignKey
- Object
- ForeignKey
- DbSchema::Definitions::NullForeignKey
- Defined in:
- lib/db_schema/definitions/foreign_key.rb
Instance Attribute Summary
Attributes inherited from ForeignKey
#fields, #keys, #name, #on_delete, #on_update, #table
Instance Method Summary collapse
-
#initialize ⇒ NullForeignKey
constructor
A new instance of NullForeignKey.
Methods inherited from ForeignKey
#deferrable?, #options, #references_primary_key?
Constructor Details
#initialize ⇒ NullForeignKey
Returns a new instance of NullForeignKey.
38 39 40 41 |
# File 'lib/db_schema/definitions/foreign_key.rb', line 38 def initialize @fields = [] @keys = [] end |