summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-06 15:23:30 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-06 15:23:30 -0500
commit50371ba04b52f74bfc2ceb05a429e072ad4848bb (patch)
treed25494926d2e01f9681fbcbc7615d52f15b7b3f3 /db/schema.rb
parentd0545c2820d101a98b3c895cf6e3691145a62f3c (diff)
add a user_tournament_pair
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb12
1 files changed, 11 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index b0d0766..3a0ce17 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20140306024744) do
+ActiveRecord::Schema.define(version: 20140306202232) do
create_table "alerts", force: true do |t|
t.integer "author_id"
@@ -118,6 +118,16 @@ ActiveRecord::Schema.define(version: 20140306024744) do
add_index "user_team_pairs", ["team_id"], name: "index_user_team_pairs_on_team_id"
add_index "user_team_pairs", ["user_id"], name: "index_user_team_pairs_on_user_id"
+ create_table "user_tournament_pairs", force: true do |t|
+ t.integer "user_id"
+ t.integer "tournament_id"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
+ add_index "user_tournament_pairs", ["tournament_id"], name: "index_user_tournament_pairs_on_tournament_id"
+ add_index "user_tournament_pairs", ["user_id"], name: "index_user_tournament_pairs_on_user_id"
+
create_table "users", force: true do |t|
t.string "name"
t.string "email"