thingspeak/db/migrate/20111209111008_rename_twitters_table.rb

10 lines
191 B
Ruby
Raw Permalink Normal View History

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