Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CreateCompanies < ActiveRecord::Migration
- def self.up
- create_table :companies do |t|
- t.string :name
- t.text :description
- t.string :logo_url
- t.timestamps
- end
- end
- def self.down
- drop_table :companies
- end
- end
Add Comment
Please, Sign In to add comment