thingspeak/db/migrate/20111209111008_rename_twitters_table.rb
2014-02-17 12:05:39 -05:00

10 lines
191 B
Ruby

class RenameTwittersTable < ActiveRecord::Migration
def self.up
rename_table :twitters, :twitter_accounts
end
def self.down
rename_table :twitter_accounts, :twitters
end
end