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:
5
db/migrate/20140122151620_weight_add_tournament_id.rb
Normal file
5
db/migrate/20140122151620_weight_add_tournament_id.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class WeightAddTournamentId < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :weights, :tournament_id, :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: 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|
|
||||
|
||||
Reference in New Issue
Block a user