osem-fcy/db/migrate/20140605101748_create_organizations.rb
2014-06-05 16:29:34 +05:30

16 lines
398 B
Ruby

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