doc/technical/archived_migrations/20160208213843_create_user_competitions.rb
class CreateUserCompetitions < ActiveRecord::Migration
def change
create_table :user_competitions do |t|
t.references :user, index: true, foreign_key: true
t.references :competition, index: true, foreign_key: true
t.boolean :rules_accepted
t.timestamps null: false
end
end
end