10 lines
230 B
Ruby
10 lines
230 B
Ruby
|
class RenameFieldInLocalBrainzReleases < ActiveRecord::Migration
|
||
|
def up
|
||
|
rename_column :local_brainz_releases, :artist_id, :album_id
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
rename_column :local_brainz_releases, :album_id, :artist_id
|
||
|
end
|
||
|
end
|