ref: master
plugins/currency/db/migrate/20130617130532_rename_currency_enterprise.rb
1 2 3 4 5 6 7 8 9
class RenameCurrencyEnterprise < ActiveRecord::Migration def self.up rename_table :currency_plugin_currency_enterprises, :currency_plugin_enterprise_currencies end def self.down say "this migration can't be reverted" end end