1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-09 15:42:09 +00:00

Created Pool 1 of 10 Man Bracket

This commit is contained in:
Jacob Cody Wimer
2014-01-24 08:41:49 -05:00
parent e36b4ec5ab
commit dddedcf30f
11 changed files with 104 additions and 13 deletions

View File

@@ -0,0 +1,5 @@
class DropSchoolScore < ActiveRecord::Migration
def change
remove_column :schools, :score
end
end

View File

@@ -0,0 +1,5 @@
class AddSchoolScore < ActiveRecord::Migration
def change
add_column :schools, :score, :integer
end
end

View File

@@ -11,14 +11,14 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20140123035131) do
ActiveRecord::Schema.define(version: 20140124021031) do
create_table "schools", force: true do |t|
t.string "name"
t.integer "score"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "tournament_id"
t.integer "score"
end
create_table "tournaments", force: true do |t|