1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-07 06:54:16 +00:00

Got stuff working with matches being saved individually.

This commit is contained in:
2015-04-26 15:49:13 -04:00
parent 391e523b2e
commit dd44efa869
12 changed files with 97 additions and 128 deletions

View File

@@ -0,0 +1,6 @@
class AddWNamesToMatch < ActiveRecord::Migration
def change
add_column :matches, :w1_name, :string
add_column :matches, :w2_name, :string
end
end

View File

@@ -0,0 +1,6 @@
class ChangeWNameToLoserName < ActiveRecord::Migration
def change
rename_column :matches, :w1_name, :loser1_name
rename_column :matches, :w2_name, :loser2_name
end
end