osem-fcy/db/migrate/20140605101748_create_organizations.rb

17 lines
398 B
Ruby
Raw Normal View History

2014-06-05 16:27:51 +05:30
class CreateOrganizations < ActiveRecord::Migration
def change
create_table :organizations do |t|
t.string :name
t.string :email
t.string :phone_number
t.string :website_url
t.text :description
t.string :logo_file_name
t.string :logo_content_type
t.integer :logo_file_size
t.datetime :logo_updated_at
t.timestamps
end
end
end