doc/technical/archived_migrations/20160407112710_rename_user_to_participant.rb
Method change
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def change
drop_view :leaderboards
rename_table :users, :participants
rename_table :team_users, :team_participants
rename_column :team_participants, :user_id, :participant_id