Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class AddAttributesToSongs < ActiveRecord::Migration
- def change
- add_column :songs, :artist_id, :integer
- add_column :songs, :genre_id, :integer
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement