summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorTomer Kimia <tkimia@purdue.edu>2014-03-27 16:59:11 -0400
committerTomer Kimia <tkimia@purdue.edu>2014-03-27 16:59:11 -0400
commita683a208e31d5bafe7658521921f9f2c1a637418 (patch)
treeabf23ef14f584583973796b3da573c5061eb8533 /db/schema.rb
parentaeda550c2ad04c9496a803b1d7f1d34a4566a9fe (diff)
parentd8acc6785ee41a2628cd0d59d91916b2f087290b (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Conflicts: app/views/tournaments/show.html.erb
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb14
1 files changed, 11 insertions, 3 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 55f4046..4704a45 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: 20140307052443) do
+ActiveRecord::Schema.define(version: 20140325214602) do
create_table "alerts", force: true do |t|
t.integer "author_id"
@@ -22,14 +22,20 @@ ActiveRecord::Schema.define(version: 20140307052443) do
add_index "alerts", ["author_id"], name: "index_alerts_on_author_id"
- create_table "game_options", force: true do |t|
- t.integer "vartype"
+ create_table "game_settings", force: true do |t|
+ t.integer "game_id"
+ t.integer "type"
t.string "name"
t.text "default"
+ t.text "discription"
+ t.text "type_opt"
+ t.integer "display_order"
t.datetime "created_at"
t.datetime "updated_at"
end
+ add_index "game_settings", ["game_id"], name: "index_game_settings_on_game_id"
+
create_table "games", force: true do |t|
t.text "name"
t.integer "min_players_per_team"
@@ -48,6 +54,7 @@ ActiveRecord::Schema.define(version: 20140307052443) do
end
create_table "matches", force: true do |t|
+ t.integer "status"
t.integer "tournament_id"
t.string "name"
t.integer "winner_id"
@@ -133,6 +140,7 @@ ActiveRecord::Schema.define(version: 20140307052443) do
add_index "tournament_options", ["tournament_id"], name: "index_tournament_options_on_tournament_id"
create_table "tournaments", force: true do |t|
+ t.string "name"
t.integer "game_id"
t.integer "status"
t.integer "min_players_per_team"