Class: DbSchema::Changes::DropForeignKey

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(table_name, fkey_name) ⇒ DropForeignKey

Returns a new instance of DropForeignKey.



382
383
384
385
# File 'lib/db_schema/changes.rb', line 382

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.



380
381
382
# File 'lib/db_schema/changes.rb', line 380

def fkey_name
  @fkey_name
end

#table_nameObject (readonly)

Returns the value of attribute table_name.



380
381
382
# File 'lib/db_schema/changes.rb', line 380

def table_name
  @table_name
end