1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00
Files
wrestlingdev.com/db/migrate/20151023123932_add_user_id_to_tournaments.rb

7 lines
169 B
Ruby

class AddUserIdToTournaments < ActiveRecord::Migration[4.2]
def change
add_column :tournaments, :user_id, :integer
add_index :tournaments, :user_id
end
end