summaryrefslogtreecommitdiff
path: root/db/seeds.rb
diff options
context:
space:
mode:
authortkimia <tkimia@purdue.edu>2014-04-26 19:39:57 -0400
committertkimia <tkimia@purdue.edu>2014-04-26 19:39:57 -0400
commit93e291c8e5002fdea906bb8c96cd528fa8b75935 (patch)
tree0b000e5c51f8928ba37859bfc0bc7086cd3c272a /db/seeds.rb
parent96dd3fbe302eec54b34678e098d3b59710b09b5f (diff)
brackets just get created
Diffstat (limited to 'db/seeds.rb')
-rw-r--r--db/seeds.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
index 87bf540..0917afc 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -7,7 +7,7 @@
# Mayor.create(name: 'Emanuel', city: cities.first)
#
p = User.permission_bits
-Server.create(default_user_permissions: p[:join_tournament] | p[:create_pm])
+Server.create(default_user_permissions: p[:join_tournament] | p[:create_pm] | p[:create_bracket] | p[:edit_bracket])
Game.create(name: "League of Legends",min_players_per_team: 5, max_players_per_team: 5, min_teams_per_match: 2, max_teams_per_match: 2, set_rounds: nil, randomized_teams: true, sampling_method: "Manual,Double Blind,RiotAPI")
Game.create(name: "Chess", min_players_per_team: 1, max_players_per_team: 1, min_teams_per_match: 2, max_teams_per_match: 2, set_rounds: nil, randomized_teams: true, sampling_method: "Manual,Double Blind")