Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- migration 1, :create_foobars_table do
- up do
- create_table :foobars do
- column :id, Integer, :serial => true
- column :name, String, :size => 64
- column :created_at, DateTime
- end
- end
- down do
- drop_table :foobars
- end
- end
Add Comment
Please, Sign In to add comment