Adds organization model

This commit is contained in:
Gopesh Tulsyan 2014-06-05 16:27:51 +05:30
parent a95a03c7e5
commit b63f3fa7c9
5 changed files with 84 additions and 10 deletions

View file

@ -0,0 +1,16 @@
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