Class: DbSchema::Operations::DropForeignKey

Inherits:
Object
  • Object
show all
Defined in:
lib/db_schema/operations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (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_nameObject (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