2014-05-26 13:51:03 +05:30
|
|
|
class CreateOrganizations < ActiveRecord::Migration
|
|
|
|
|
def change
|
|
|
|
|
create_table :organizations do |t|
|
2014-05-26 15:43:19 +05:30
|
|
|
t.string :title
|
|
|
|
|
t.string :email_id
|
|
|
|
|
t.text :description
|
|
|
|
|
t.string :photo_file_name
|
|
|
|
|
t.string :photo_content_type
|
|
|
|
|
t.integer :photo_file_size
|
|
|
|
|
t.datetime :photo_updated_at
|
2014-05-26 13:51:03 +05:30
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|