diff options
author | emkael <emkael@tlen.pl> | 2021-06-12 21:01:37 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2021-06-12 21:05:32 +0200 |
commit | 4e94ecfd0430522496a9ef8e55b7782d86ef815c (patch) | |
tree | 7ade5899197d2c1edd9fc09189ecc0838db22e7d /butler/config.json | |
parent | fe52d49a3a956be94d56102c293666278042ff9b (diff) |
1N tournament added to butler bundles
Diffstat (limited to 'butler/config.json')
-rw-r--r-- | butler/config.json | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/butler/config.json b/butler/config.json index 7c4cb04..3654b57 100644 --- a/butler/config.json +++ b/butler/config.json @@ -2,6 +2,7 @@ "1+2": { "source": [ "dmp202021_1n_b", + "dmp202021_1n_z3", "dmp202021_1s", "dmp202021_2se", "dmp202021_2sw", @@ -13,6 +14,7 @@ "1": { "source": [ "dmp202021_1n_b", + "dmp202021_1n_z3", "dmp202021_1s" ], "output": "dmp202021_b_1" @@ -30,6 +32,7 @@ "dmp202021_e": "E", "dmp202021_1s": "S", "dmp202021_1n_b": "N", + "dmp202021_1n_z3": "N", "dmp202021_2se": "SE", "dmp202021_2sw": "SW", "dmp202021_2ne": "NE", @@ -38,7 +41,27 @@ "__queries": { "dmp202021_1n_b": [ "UPDATE _matches SET mtitle = '--' WHERE rnd < 6;", - "UPDATE _segments SET openN = 0, openS = 0, openW = 0, openE = 0, closeN = 0, closeS = 0, closeW = 0, closeE = 0, towel = 1 WHERE rnd < 6;" + "DELETE FROM _segments WHERE rnd < 6;", + "UPDATE _matches SET mtitle = '--' WHERE rnd > 10;", + "DELETE FROM _segments WHERE rnd > 10;", + "TRUNCATE _players;" + ], + "dmp202021_1n_z3": [ + "UPDATE _rounds SET rnd = rnd + 10;", + "UPDATE _matches SET rnd = rnd + 10;", + "UPDATE _segments SET rnd = rnd + 10, openN = openN - 400, openS = openS - 400, openE = openE - 400, openW = openW - 400, closeN = closeN - 400, closeS = closeS - 400, closeE = closeE - 400, closeW = closeW - 400;", + "UPDATE _players SET id = id - 400;", + "UPDATE _scores SET rnd = rnd + 10;", + "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT 1, id, id, id+8, '--' FROM teams WHERE id < 9;", + "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT 2, id, id, id+8, '--' FROM teams WHERE id < 9;", + "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT 3, id, id, id+8, '--' FROM teams WHERE id < 9;", + "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT 4, id, id, id+8, '--' FROM teams WHERE id < 9;", + "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT 5, id, id, id+8, '--' FROM teams WHERE id < 9;", + "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT 6, id, id, id+8, '--' FROM teams WHERE id < 9;", + "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT 7, id, id, id+8, '--' FROM teams WHERE id < 9;", + "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT 8, id, id, id+8, '--' FROM teams WHERE id < 9;", + "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT 9, id, id, id+8, '--' FROM teams WHERE id < 9;", + "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT 10, id, id, id+8, '--' FROM teams WHERE id < 9;" ], "dmp202021_2se": [ "UPDATE admin SET roundcnt = 15;", |