Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class AddReviews < ActiveRecord::Migration
- def self.up
- create_table :reviews do |t|
- t.integer 'potatoes'
- t.references 'movie'
- t.references 'moviegoer'
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement