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

12 lines
237 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2017-05-31 18:42:52 +05:30
class CreateOrganizations < ActiveRecord::Migration
def change
create_table :organizations do |t|
2017-06-06 20:04:39 +05:30
t.string :name, null: false
2017-05-31 18:42:52 +05:30
t.text :description
t.string :picture
end
end
end