class Mv::Core::Migration::Operations::RenameTable

Attributes

new_table_name[R]

Public Class Methods

new(table_name, new_table_name) click to toggle source
# File lib/mv/core/migration/operations/rename_table.rb, line 12
def initialize(table_name, new_table_name)
  self.table_name = table_name

  @new_table_name = new_table_name
end

Public Instance Methods

execute() click to toggle source
# File lib/mv/core/migration/operations/rename_table.rb, line 18
def execute
  update_table_validators(new_table_name)
end