docbrown/db/migrate/20160129154529_create_organizations.rb
leewynne 5b50d52b5f Replaced hard coded AWS region in carrierwave.rb and sitemaps.rb. Updated legacy migration files to include pre rails 5 version (this resolved new instances on Heroku) (#4874) [deploy]
* missing rails version 4.2 added to pre 5 migrations

* updated carrierwave.rb and sitemap.rb with AWS_DEFAULT_REGION
2019-11-22 09:07:59 -05:00

19 lines
466 B
Ruby

class CreateOrganizations < ActiveRecord::Migration[4.2]
def change
create_table :organizations do |t|
t.string :name
t.text :summary
t.string :profile_image
t.string :url
t.string :twitter_username
t.string :jobs_url
t.string :jobs_email
t.string :address
t.string :city
t.string :state
t.string :zip_code
t.string :country
t.timestamps null: false
end
end
end