11 lines
378 B
Ruby
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
|