1
0
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:
2015-02-02 15:45:46 -05:00
parent 9de0215a5e
commit 7ea80b2997
8 changed files with 78 additions and 9 deletions

View File

@@ -0,0 +1,5 @@
class AddBoutNumberToMatch < ActiveRecord::Migration
def change
add_column :matches, :boutNumber, :integer
end
end

View File

@@ -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|