Class: DbSchema::Operations::DropForeignKey
- Inherits:
-
Object
- Object
- DbSchema::Operations::DropForeignKey
- Defined in:
- lib/db_schema/operations.rb
Instance Attribute Summary collapse
-
#fkey_name ⇒ Object
readonly
Returns the value of attribute fkey_name.
-
#table_name ⇒ Object
readonly
Returns the value of attribute table_name.
Instance Method Summary collapse
-
#initialize(table_name, fkey_name) ⇒ DropForeignKey
constructor
A new instance of DropForeignKey.
Constructor Details
#initialize(table_name, fkey_name) ⇒ DropForeignKey
Returns a new instance of DropForeignKey.
182 183 184 185 |
# File 'lib/db_schema/operations.rb', line 182 def initialize(table_name, fkey_name) @table_name = table_name @fkey_name = fkey_name end |
Instance Attribute Details
#fkey_name ⇒ Object (readonly)
Returns the value of attribute fkey_name.
180 181 182 |
# File 'lib/db_schema/operations.rb', line 180 def fkey_name @fkey_name end |
#table_name ⇒ Object (readonly)
Returns the value of attribute table_name.
180 181 182 |
# File 'lib/db_schema/operations.rb', line 180 def table_name @table_name end |