socialforge/db/migrate/20140402023357_create_join_...

11 lines
211 B
Ruby

class CreateJoinInCompetitions < ActiveRecord::Migration
def change
create_table :join_in_competitions do |t|
t.integer :user_id
t.integer :competition_id
t.timestamps
end
end
end