1
0
Fork 0
oldhaven/db/migrate/20110920164044_rename_field...

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