- <%= f.label "Score" %> Also put pin time here if applicable. If default or forfeit, leave blank. Example: 7-2, 17-2, or 2:34
+ <%= f.label "Final Score" %> Also put pin time here if applicable. If default or forfeit, leave blank. Example: 7-2, 17-2, or 2:34
<%= f.text_field :score %>
@@ -39,3 +97,132 @@
<% end %>
+
+
diff --git a/db/migrate/20151216154211_rename_stats.rb b/db/migrate/20151216154211_rename_stats.rb
new file mode 100644
index 0000000..3cc1fe7
--- /dev/null
+++ b/db/migrate/20151216154211_rename_stats.rb
@@ -0,0 +1,6 @@
+class RenameStats < ActiveRecord::Migration
+ def change
+ rename_column :matches, :g_stat, :w1_stat
+ rename_column :matches, :r_stat, :w2_stat
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 30e61b4..57bdb34 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,13 +11,13 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20151117152454) do
+ActiveRecord::Schema.define(version: 20151216154211) do
create_table "matches", force: :cascade do |t|
t.integer "w1"
t.integer "w2"
- t.text "g_stat"
- t.text "r_stat"
+ t.text "w1_stat"
+ t.text "w2_stat"
t.integer "winner_id"
t.string "win_type"
t.string "score"