From 77cda886e609d1762498537c10a4e3f93b9089c9 Mon Sep 17 00:00:00 2001 From: jcwimer Date: Thu, 5 Nov 2015 16:55:27 +0000 Subject: [PATCH] Changes in cloud 9 --- Gemfile.lock | 3 --- db/schema.rb | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index c45b50f..4a57ef7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -175,6 +175,3 @@ DEPENDENCIES therubyracer turbolinks uglifier (>= 1.3.0) - -BUNDLED WITH - 1.10.6 diff --git a/db/schema.rb b/db/schema.rb index 466c9d4..36479a8 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -37,7 +37,7 @@ ActiveRecord::Schema.define(version: 20151023123932) do add_index "matches", ["mat_id"], name: "index_matches_on_mat_id" add_index "matches", ["tournament_id"], name: "index_matches_on_tournament_id" - add_index "matches", ["w1", "w2"], name: "index_matches_on_w1_and_w2" + add_index "matches", ["w1", "w2"], name: "index_matches_on_w1_and_w2", unique: true create_table "mats", force: :cascade do |t| t.string "name" @@ -70,6 +70,7 @@ ActiveRecord::Schema.define(version: 20151023123932) do end add_index "tournaments", ["user_id"], name: "index_tournaments_on_user_id" + add_index "tournaments", ["weigh_in_ref"], name: "index_tournaments_on_weigh_in_ref" create_table "users", force: :cascade do |t| t.string "email", default: "", null: false @@ -113,6 +114,7 @@ ActiveRecord::Schema.define(version: 20151023123932) do t.decimal "offical_weight" end + add_index "wrestlers", ["offical_weight"], name: "index_wrestlers_on_offical_weight" add_index "wrestlers", ["weight_id"], name: "index_wrestlers_on_weight_id" end