aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/auth
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2019-07-16 15:04:14 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-16 21:20:38 +0100
commit6f6cf975e4e0bef621b9465f364476ec6731ae0d (patch)
tree797ef2d8d3bf09e4b0e6d4319301a42003b21358 /sql/updates/auth
parentbd7aae928e699adba63c0a14661cffeb5fdf8b3b (diff)
Scripts/Commands: Add .debug questreset to force daily/weekly/monthly quest reset.
(cherry picked from commit 293ba08d21c4e9634229bb5015445ecc0cc08fef)
Diffstat (limited to 'sql/updates/auth')
-rw-r--r--sql/updates/auth/master/2019_07_16_00_auth.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/updates/auth/master/2019_07_16_00_auth.sql b/sql/updates/auth/master/2019_07_16_00_auth.sql
new file mode 100644
index 00000000000..bbec0eb65aa
--- /dev/null
+++ b/sql/updates/auth/master/2019_07_16_00_auth.sql
@@ -0,0 +1,6 @@
+--
+DELETE FROM `rbac_permissions` WHERE `id`=878;
+INSERT INTO `rbac_permissions` (`id`,`name`) VALUES (878, 'Command: debug questreset');
+
+DELETE FROM `rbac_linked_permissions` WHERE `linkedId`=878;
+INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES (196,878);