mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-10 15:50:50 +00:00
First crack at setting an owner for the tournament
This commit is contained in:
6
db/migrate/20151023123932_add_user_id_to_tournaments.rb
Normal file
6
db/migrate/20151023123932_add_user_id_to_tournaments.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class AddUserIdToTournaments < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :tournaments, :user_id, :integer
|
||||
add_index :tournaments, :user_id
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user