docbrown/db/migrate/20170228174838_add_identity_data_to_users.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

9 lines
357 B
Ruby

class AddIdentityDataToUsers < ActiveRecord::Migration[4.2]
def change
add_column :identities, :auth_data_dump, :text
add_column :users, :github_created_at, :datetime
add_column :users, :twitter_created_at, :datetime
add_column :users, :twitter_following_count, :integer
add_column :users, :twitter_followers_count, :integer
end
end