aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/auth/master/2018_09_17_00_auth.sql6
-rw-r--r--sql/updates/world/master/2021_11_08_00_world_2018_09_17_00_world.sql6
2 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/auth/master/2018_09_17_00_auth.sql b/sql/updates/auth/master/2018_09_17_00_auth.sql
new file mode 100644
index 00000000000..7aa76283e57
--- /dev/null
+++ b/sql/updates/auth/master/2018_09_17_00_auth.sql
@@ -0,0 +1,6 @@
+--
+DELETE FROM `rbac_permissions` WHERE `id`=852;
+INSERT INTO `rbac_permissions` (`id`,`name`) VALUES (852, 'Command: debug dummy');
+
+DELETE FROM `rbac_linked_permissions` WHERE `linkedId`=852;
+INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES (196,852);
diff --git a/sql/updates/world/master/2021_11_08_00_world_2018_09_17_00_world.sql b/sql/updates/world/master/2021_11_08_00_world_2018_09_17_00_world.sql
new file mode 100644
index 00000000000..d8602da97ae
--- /dev/null
+++ b/sql/updates/world/master/2021_11_08_00_world_2018_09_17_00_world.sql
@@ -0,0 +1,6 @@
+--
+DELETE FROM `command` WHERE `name`='debug dummy';
+INSERT INTO `command` (`name`,`permission`,`help`) VALUES
+('debug dummy',852,'Syntax: .debug dummy <???>
+
+Catch-all debug command. Does nothing by default. If you want it to do things for testing, add the things to its script in cs_debug.cpp.');