Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CreateUserSettings < ActiveRecord::Migration
- def self.up
- create_table :user_settings do |t|
- t.references :user
- t.boolean :haveporn
- t.timestamps
- end
- end
- def self.down
- drop_table :user_settings
- end
- end
Add Comment
Please, Sign In to add comment