mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Working on generating rounds in tournament model
This commit is contained in:
5
db/migrate/20150202180900_add_bout_number_to_match.rb
Normal file
5
db/migrate/20150202180900_add_bout_number_to_match.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddBoutNumberToMatch < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :matches, :boutNumber, :integer
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20141226133941) do
|
||||
ActiveRecord::Schema.define(version: 20150202180900) do
|
||||
|
||||
create_table "matches", force: true do |t|
|
||||
t.integer "r_id"
|
||||
@@ -26,6 +26,7 @@ ActiveRecord::Schema.define(version: 20141226133941) do
|
||||
t.integer "tournament_id"
|
||||
t.integer "round"
|
||||
t.integer "finished"
|
||||
t.integer "boutNumber"
|
||||
end
|
||||
|
||||
create_table "mats", force: true do |t|
|
||||
|
||||
Reference in New Issue
Block a user