diff options
author | tkimia <tkimia@purdue.edu> | 2014-04-26 19:39:57 -0400 |
---|---|---|
committer | tkimia <tkimia@purdue.edu> | 2014-04-26 19:39:57 -0400 |
commit | 93e291c8e5002fdea906bb8c96cd528fa8b75935 (patch) | |
tree | 0b000e5c51f8928ba37859bfc0bc7086cd3c272a /db/seeds.rb | |
parent | 96dd3fbe302eec54b34678e098d3b59710b09b5f (diff) |
brackets just get created
Diffstat (limited to 'db/seeds.rb')
-rw-r--r-- | db/seeds.rb | 2 |
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") |