You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
505 B
21 lines
505 B
class CreateOrganizations < ActiveRecord::Migration
|
|
def change
|
|
create_table :organizations do |t|
|
|
t.string :name
|
|
t.string :slug
|
|
t.string :email_address
|
|
t.string :url
|
|
t.integer :year_founded
|
|
t.text :info
|
|
t.string :logo
|
|
t.string :avatar
|
|
t.boolean :requires_approval
|
|
t.string :secret_question
|
|
t.string :secret_answer
|
|
t.integer :location_id
|
|
t.integer :user_organization_replationship_id
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|
|
|