1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-04 13:43:48 +00:00

Added current season record for wrestlers and updated show command for weights and schools

This commit is contained in:
Jacob Cody Wimer
2014-01-22 22:57:14 -05:00
parent c551852dfb
commit 7b726b38c0
6 changed files with 24 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
class WrestlerAddWinLossColumn < ActiveRecord::Migration
def change
add_column :wrestlers, :season_win, :integer
add_column :wrestlers, :season_loss, :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: 20140122151620) do
ActiveRecord::Schema.define(version: 20140123035131) do
create_table "schools", force: true do |t|
t.string "name"
@@ -63,6 +63,8 @@ ActiveRecord::Schema.define(version: 20140122151620) do
t.integer "original_seed"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "season_win"
t.integer "season_loss"
end
end