1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-11 16:01:56 +00:00

Updated re-directs, added weights to tournament#show, and edited a few views

This commit is contained in:
Jacob Cody Wimer
2014-01-22 13:12:40 -05:00
parent 4a463132da
commit d4b97c83c3
13 changed files with 91 additions and 20 deletions

View File

@@ -0,0 +1,5 @@
class WeightAddTournamentId < ActiveRecord::Migration
def change
add_column :weights, :tournament_id, :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: 20140122030856) do
ActiveRecord::Schema.define(version: 20140122151620) do
create_table "schools", force: true do |t|
t.string "name"
@@ -52,6 +52,7 @@ ActiveRecord::Schema.define(version: 20140122030856) do
t.integer "max"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "tournament_id"
end
create_table "wrestlers", force: true do |t|