1
0
Fork 0
oldhaven/db/migrate/20110925231256_rename_local...

11 lines
378 B
Ruby

class RenameLocalBrainzTables < ActiveRecord::Migration
def self.up
rename_table :local_brainz_tracks, :local_brainz_cached_tracks
rename_table :local_brainz_releases, :local_brainz_cached_releases
end
def self.down
rename_table :local_brainz_cached_tracks, :local_brainz_tracks
rename_table :local_brainz_cached_releases, :local_brainz_releases
end
end