aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/auth
diff options
context:
space:
mode:
authorzartech22 <kevin.plestan@outlook.fr>2020-04-18 14:26:05 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-01 19:38:40 +0100
commitc57c26d7fbead1ae342aba2e1e082db27c944c8d (patch)
treea2a2e163a1d94a14cbf3e07e8ae116e44ef921df /sql/updates/auth
parente67e0ff9fbbb26d2b9b8b8d2ec0233cee24d46ba (diff)
Add realm ID for actions based ip logging (#24453)
* Update SQL queries to insert realm id * Insert the realm id when logging actions based on IP * Adding the SQL update file * Update 9999_99_99_99_auth.sql * Update auth structure Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit 56f20d69a6ab23a9818f77fd4e2df541a7c30f0e)
Diffstat (limited to 'sql/updates/auth')
-rw-r--r--sql/updates/auth/master/2020_04_18_00_auth.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/updates/auth/master/2020_04_18_00_auth.sql b/sql/updates/auth/master/2020_04_18_00_auth.sql
new file mode 100644
index 00000000000..afa498a0342
--- /dev/null
+++ b/sql/updates/auth/master/2020_04_18_00_auth.sql
@@ -0,0 +1,2 @@
+--
+ALTER TABLE `logs_ip_actions` ADD COLUMN `realm_id` INT(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'Realm ID' AFTER `character_guid`;