aboutsummaryrefslogtreecommitdiff
path: root/sql/base
diff options
context:
space:
mode:
Diffstat (limited to 'sql/base')
-rw-r--r--sql/base/auth_database.sql47
-rw-r--r--sql/base/characters_database.sql9
-rw-r--r--sql/base/dev/hotfixes_database.sql59
-rw-r--r--sql/base/dev/world_database.sql154
4 files changed, 165 insertions, 104 deletions
diff --git a/sql/base/auth_database.sql b/sql/base/auth_database.sql
index b1f18e05337..75eef536d0b 100644
--- a/sql/base/auth_database.sql
+++ b/sql/base/auth_database.sql
@@ -1,8 +1,8 @@
--- MySQL dump 10.13 Distrib 8.0.34, for Linux (x86_64)
+-- MySQL dump 10.13 Distrib 8.0.36, for Linux (x86_64)
--
-- Host: localhost Database: auth
-- ------------------------------------------------------
--- Server version 8.0.34-0ubuntu0.20.04.1
+-- Server version 8.0.36-0ubuntu0.20.04.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
@@ -419,7 +419,7 @@ DROP TABLE IF EXISTS `battlenet_accounts`;
CREATE TABLE `battlenet_accounts` (
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
`email` varchar(320) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
- `srp_version` tinyint(3) NOT NULL DEFAULT '1',
+ `srp_version` tinyint NOT NULL DEFAULT '1',
`salt` binary(32) NOT NULL,
`verifier` blob NOT NULL,
`joindate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
@@ -2373,7 +2373,7 @@ CREATE TABLE `realmlist` (
`timezone` tinyint unsigned NOT NULL DEFAULT '0',
`allowedSecurityLevel` tinyint unsigned NOT NULL DEFAULT '0',
`population` float unsigned NOT NULL DEFAULT '0',
- `gamebuild` int unsigned NOT NULL DEFAULT '53212',
+ `gamebuild` int unsigned NOT NULL DEFAULT '52607',
`Region` tinyint unsigned NOT NULL DEFAULT '1',
`Battlegroup` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
@@ -2780,24 +2780,25 @@ INSERT INTO `updates` VALUES
('2023_11_14_00_auth.sql','192D729737C5E3332D7B5B9B7F9DBDD9626D7B98','ARCHIVED','2023-11-14 11:36:05',0),
('2023_11_15_00_auth.sql','85CE6DCBE9391F0FB3819C7579067E2775D7C20E','ARCHIVED','2023-11-15 00:48:07',0),
('2023_11_15_01_auth.sql','622218EB74372055943D7B62AD30B52F959CC94B','ARCHIVED','2023-11-15 00:53:47',0),
-('2023_11_16_00_auth.sql','2EF3FE83B74EFC10B8536E2EB6AFAE7074FC59BD','RELEASED','2023-11-16 23:19:09',0),
-('2023_11_21_00_auth.sql','146E5E6EF94C5DB78343372A8FDB32B062B80040','RELEASED','2023-11-21 11:24:11',0),
-('2023_11_24_00_auth.sql','AC1B5136CC97264A21933BD1074D02E88D819488','RELEASED','2023-11-24 19:37:38',0),
-('2023_11_30_00_auth.sql','49E92311D7373965320CCEE3720D4EF9F1A28F97','RELEASED','2023-11-30 13:39:17',0),
-('2023_12_05_00_auth.sql','25DC15C708E6A962DC322293D0CE5D52941F560A','RELEASED','2023-12-05 16:18:14',0),
-('2023_12_12_00_auth.sql','EDC092787956178A08D15B9245EE4716ED0847B0','RELEASED','2023-12-12 05:47:47',0),
-('2023_12_13_00_auth.sql','C3D6AA45BECD5A7F8A420FE0022AAF6A349C5E3F','RELEASED','2023-12-13 06:42:48',0),
-('2023_12_19_00_auth.sql','6761E7111F613E57A7D684E18E38FCA3F5CD66A6','RELEASED','2023-12-19 08:54:36',0),
-('2023_12_21_00_auth.sql','DB294EF35C00AA92C79786F7A0BFBCE739D4E193','RELEASED','2023-12-21 09:08:30',0),
-('2023_12_24_00_auth.sql','F59B3A895750FD83177324B89BFCEBD8A43DD577','RELEASED','2023-12-24 06:24:58',0),
-('2023_12_26_00_auth.sql','5C8716F7F6E2792E15A42BDA8F2D855A7DE95FC5','RELEASED','2023-12-26 13:38:58',0),
-('2024_01_05_00_auth.sql','7F401D473B08BBE5212551E96A86F85107CE7C8E','RELEASED','2023-12-19 10:05:39',0),
-('2024_01_10_00_auth.sql','75F06894D95986AEAB2933F141DB7693FABB0324','RELEASED','2024-01-10 11:14:55',0),
-('2024_01_21_00_auth.sql','5F12B88EAADC5390AD42843290BD13CEF3BF2E0B','RELEASED','2024-01-21 21:21:50',0),
-('2024_01_23_00_auth.sql','55E3C2CC1FAF02916EB47711CD2278443F7AA183','RELEASED','2024-01-23 09:40:35',0),
-('2024_01_31_00_auth.sql','7328692BBD9B455D51ABE90B9C6571EA889EE26F','RELEASED','2024-01-31 11:58:00',0),
-('2024_02_01_00_auth.sql','1822B9B3E28AB0E77CF253C6A96F78EB5020447A','RELEASED','2024-02-01 10:46:27',0),
-('2024_02_07_00_auth.sql','F6A65673A7020B4C64083AFC1CAD4206BC960170','RELEASED','2024-02-07 12:26:24',0);
+('2023_11_16_00_auth.sql','2EF3FE83B74EFC10B8536E2EB6AFAE7074FC59BD','ARCHIVED','2023-11-16 23:19:09',0),
+('2023_11_21_00_auth.sql','146E5E6EF94C5DB78343372A8FDB32B062B80040','ARCHIVED','2023-11-21 11:24:11',0),
+('2023_11_24_00_auth.sql','AC1B5136CC97264A21933BD1074D02E88D819488','ARCHIVED','2023-11-24 19:37:38',0),
+('2023_11_30_00_auth.sql','49E92311D7373965320CCEE3720D4EF9F1A28F97','ARCHIVED','2023-11-30 13:39:17',0),
+('2023_12_05_00_auth.sql','25DC15C708E6A962DC322293D0CE5D52941F560A','ARCHIVED','2023-12-05 16:18:14',0),
+('2023_12_12_00_auth.sql','EDC092787956178A08D15B9245EE4716ED0847B0','ARCHIVED','2023-12-12 05:47:47',0),
+('2023_12_13_00_auth.sql','C3D6AA45BECD5A7F8A420FE0022AAF6A349C5E3F','ARCHIVED','2023-12-13 06:42:48',0),
+('2023_12_19_00_auth.sql','EDC1C8E58EEF18F952A3509D40D27E17CAC49563','ARCHIVED','2024-02-08 00:48:00',0),
+('2023_12_21_00_auth.sql','DB294EF35C00AA92C79786F7A0BFBCE739D4E193','ARCHIVED','2023-12-21 09:08:30',0),
+('2023_12_24_00_auth.sql','F59B3A895750FD83177324B89BFCEBD8A43DD577','ARCHIVED','2023-12-24 06:24:58',0),
+('2023_12_26_00_auth.sql','5C8716F7F6E2792E15A42BDA8F2D855A7DE95FC5','ARCHIVED','2023-12-26 13:38:58',0),
+('2024_01_05_00_auth.sql','7F401D473B08BBE5212551E96A86F85107CE7C8E','ARCHIVED','2023-12-19 10:05:39',0),
+('2024_01_10_00_auth.sql','75F06894D95986AEAB2933F141DB7693FABB0324','ARCHIVED','2024-01-10 11:14:55',0),
+('2024_01_21_00_auth.sql','5F12B88EAADC5390AD42843290BD13CEF3BF2E0B','ARCHIVED','2024-01-21 21:21:50',0),
+('2024_01_23_00_auth.sql','55E3C2CC1FAF02916EB47711CD2278443F7AA183','ARCHIVED','2024-01-23 09:40:35',0),
+('2024_01_31_00_auth.sql','7328692BBD9B455D51ABE90B9C6571EA889EE26F','ARCHIVED','2024-01-31 11:58:00',0),
+('2024_02_01_00_auth.sql','1822B9B3E28AB0E77CF253C6A96F78EB5020447A','ARCHIVED','2024-02-01 10:46:27',0),
+('2024_02_07_00_auth.sql','F6A65673A7020B4C64083AFC1CAD4206BC960170','ARCHIVED','2024-02-07 12:26:24',0),
+('2024_02_08_00_auth.sql','E62D51C3D536FDF79EBEDFE060EB9D232ACE1EDD','ARCHIVED','2024-02-08 00:56:26',0);
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
UNLOCK TABLES;
@@ -2940,4 +2941,4 @@ SET character_set_client = @saved_cs_client;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
--- Dump completed on 2023-11-15 0:53:49
+-- Dump completed on 2024-02-08 0:56:27
diff --git a/sql/base/characters_database.sql b/sql/base/characters_database.sql
index 3d2375d0117..f5806f977f6 100644
--- a/sql/base/characters_database.sql
+++ b/sql/base/characters_database.sql
@@ -1,8 +1,8 @@
--- MySQL dump 10.13 Distrib 8.0.34, for Linux (x86_64)
+-- MySQL dump 10.13 Distrib 8.0.36, for Linux (x86_64)
--
-- Host: localhost Database: characters
-- ------------------------------------------------------
--- Server version 8.0.34-0ubuntu0.20.04.1
+-- Server version 8.0.36-0ubuntu0.20.04.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
@@ -3723,7 +3723,8 @@ INSERT INTO `updates` VALUES
('2023_10_06_00_characters.sql','FFAFF1F0916BB9DC58345466E0BB1A15A4611836','ARCHIVED','2023-10-06 00:40:46',0),
('2023_11_02_00_characters.sql','1A76A843F204901C8598DA5682029E815477E427','ARCHIVED','2023-11-02 18:59:41',0),
('2023_11_09_00_characters.sql','1A3D7CA6890353DA55793FE8D925CC8C54965A69','ARCHIVED','2023-11-09 00:56:31',0),
-('2023_11_15_00_characters.sql','441E0F17DE3E3945307AC400DF86FCDF06C61653','ARCHIVED','2023-11-15 00:53:47',0);
+('2023_11_15_00_characters.sql','441E0F17DE3E3945307AC400DF86FCDF06C61653','ARCHIVED','2023-11-15 00:53:47',0),
+('2024_02_08_00_characters.sql','743A11042AA17CDBD5F3D510D24509A10838DB5A','ARCHIVED','2024-02-08 00:56:26',0);
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
UNLOCK TABLES;
@@ -3850,4 +3851,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
--- Dump completed on 2023-11-15 0:53:50
+-- Dump completed on 2024-02-08 0:56:28
diff --git a/sql/base/dev/hotfixes_database.sql b/sql/base/dev/hotfixes_database.sql
index fe85e324a45..cf504e9cb3a 100644
--- a/sql/base/dev/hotfixes_database.sql
+++ b/sql/base/dev/hotfixes_database.sql
@@ -1,8 +1,8 @@
--- MySQL dump 10.13 Distrib 8.0.34, for Linux (x86_64)
+-- MySQL dump 10.13 Distrib 8.0.36, for Linux (x86_64)
--
-- Host: localhost Database: hotfixes
-- ------------------------------------------------------
--- Server version 8.0.34-0ubuntu0.20.04.1
+-- Server version 8.0.36-0ubuntu0.20.04.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
@@ -2237,8 +2237,8 @@ DROP TABLE IF EXISTS `conditional_chr_model`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `conditional_chr_model` (
- `ID` int NOT NULL DEFAULT '0',
- `ChrModelID` int unsigned NOT NULL DEFAULT '0',
+ `ID` int unsigned NOT NULL DEFAULT '0',
+ `ChrModelID` int NOT NULL DEFAULT '0',
`ChrCustomizationReqID` int NOT NULL DEFAULT '0',
`PlayerConditionID` int NOT NULL DEFAULT '0',
`Flags` int NOT NULL DEFAULT '0',
@@ -7008,6 +7008,49 @@ CREATE TABLE `pvp_season` (
/*!40101 SET character_set_client = @saved_cs_client */;
--
+-- Table structure for table `pvp_stat`
+--
+
+DROP TABLE IF EXISTS `pvp_stat`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!50503 SET character_set_client = utf8mb4 */;
+CREATE TABLE `pvp_stat` (
+ `Description` text COLLATE utf8mb4_unicode_ci,
+ `ID` int unsigned NOT NULL DEFAULT '0',
+ `MapID` int NOT NULL DEFAULT '0',
+ `VerifiedBuild` int NOT NULL DEFAULT '0',
+ PRIMARY KEY (`ID`,`VerifiedBuild`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Table structure for table `pvp_stat_locale`
+--
+
+DROP TABLE IF EXISTS `pvp_stat_locale`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!50503 SET character_set_client = utf8mb4 */;
+CREATE TABLE `pvp_stat_locale` (
+ `ID` int unsigned NOT NULL DEFAULT '0',
+ `locale` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL,
+ `Description_lang` text COLLATE utf8mb4_unicode_ci,
+ `VerifiedBuild` int NOT NULL DEFAULT '0',
+ PRIMARY KEY (`ID`,`locale`,`VerifiedBuild`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
+/*!50500 PARTITION BY LIST COLUMNS(locale)
+(PARTITION deDE VALUES IN ('deDE') ENGINE = InnoDB,
+ PARTITION esES VALUES IN ('esES') ENGINE = InnoDB,
+ PARTITION esMX VALUES IN ('esMX') ENGINE = InnoDB,
+ PARTITION frFR VALUES IN ('frFR') ENGINE = InnoDB,
+ PARTITION itIT VALUES IN ('itIT') ENGINE = InnoDB,
+ PARTITION koKR VALUES IN ('koKR') ENGINE = InnoDB,
+ PARTITION ptBR VALUES IN ('ptBR') ENGINE = InnoDB,
+ PARTITION ruRU VALUES IN ('ruRU') ENGINE = InnoDB,
+ PARTITION zhCN VALUES IN ('zhCN') ENGINE = InnoDB,
+ PARTITION zhTW VALUES IN ('zhTW') ENGINE = InnoDB) */;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
-- Table structure for table `pvp_talent`
--
@@ -7626,7 +7669,7 @@ DROP TABLE IF EXISTS `server_messages`;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `server_messages` (
`ID` int unsigned NOT NULL DEFAULT '0',
- `Text` text COLLATE utf8mb4_unicode_ci,
+ `Text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
@@ -7641,8 +7684,8 @@ DROP TABLE IF EXISTS `server_messages_locale`;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `server_messages_locale` (
`ID` int unsigned NOT NULL DEFAULT '0',
- `locale` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL,
- `Text_lang` text COLLATE utf8mb4_unicode_ci,
+ `locale` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
+ `Text_lang` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`locale`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
@@ -10560,4 +10603,4 @@ CREATE TABLE `world_state_expression` (
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
--- Dump completed on 2023-11-15 0:53:58
+-- Dump completed on 2024-02-08 0:56:32
diff --git a/sql/base/dev/world_database.sql b/sql/base/dev/world_database.sql
index 32d5537da71..3a995f20763 100644
--- a/sql/base/dev/world_database.sql
+++ b/sql/base/dev/world_database.sql
@@ -1,8 +1,8 @@
--- MySQL dump 10.13 Distrib 8.0.34, for Linux (x86_64)
+-- MySQL dump 10.13 Distrib 8.0.36, for Linux (x86_64)
--
-- Host: localhost Database: world
-- ------------------------------------------------------
--- Server version 8.0.34-0ubuntu0.20.04.1
+-- Server version 8.0.36-0ubuntu0.20.04.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
@@ -116,8 +116,8 @@ DROP TABLE IF EXISTS `areatrigger`;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `areatrigger` (
`SpawnId` bigint unsigned NOT NULL,
- `AreaTriggerId` int unsigned NOT NULL,
- `IsServerSide` tinyint unsigned NOT NULL,
+ `AreaTriggerCreatePropertiesId` int unsigned NOT NULL,
+ `IsCustom` tinyint unsigned NOT NULL,
`MapId` int unsigned NOT NULL,
`SpawnDifficulties` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
`PosX` float NOT NULL,
@@ -127,15 +127,6 @@ CREATE TABLE `areatrigger` (
`PhaseUseFlags` tinyint unsigned DEFAULT '0',
`PhaseId` int unsigned DEFAULT '0',
`PhaseGroup` int unsigned DEFAULT '0',
- `Shape` tinyint unsigned NOT NULL DEFAULT '0',
- `ShapeData0` float NOT NULL DEFAULT '0',
- `ShapeData1` float NOT NULL DEFAULT '0',
- `ShapeData2` float NOT NULL DEFAULT '0',
- `ShapeData3` float NOT NULL DEFAULT '0',
- `ShapeData4` float NOT NULL DEFAULT '0',
- `ShapeData5` float NOT NULL DEFAULT '0',
- `ShapeData6` float NOT NULL DEFAULT '0',
- `ShapeData7` float NOT NULL DEFAULT '0',
`SpellForVisuals` int DEFAULT NULL,
`ScriptName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
@@ -153,7 +144,10 @@ DROP TABLE IF EXISTS `areatrigger_create_properties`;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `areatrigger_create_properties` (
`Id` int unsigned NOT NULL,
+ `IsCustom` tinyint unsigned NOT NULL,
`AreaTriggerId` int unsigned NOT NULL,
+ `IsAreatriggerCustom` tinyint unsigned NOT NULL,
+ `Flags` int unsigned NOT NULL DEFAULT '0',
`MoveCurveId` int unsigned NOT NULL DEFAULT '0',
`ScaleCurveId` int unsigned NOT NULL DEFAULT '0',
`MorphCurveId` int unsigned NOT NULL DEFAULT '0',
@@ -174,7 +168,7 @@ CREATE TABLE `areatrigger_create_properties` (
`ShapeData7` float NOT NULL DEFAULT '0',
`ScriptName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`VerifiedBuild` int unsigned NOT NULL DEFAULT '0',
- PRIMARY KEY (`Id`)
+ PRIMARY KEY (`Id`,`IsCustom`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -187,6 +181,7 @@ DROP TABLE IF EXISTS `areatrigger_create_properties_orbit`;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `areatrigger_create_properties_orbit` (
`AreaTriggerCreatePropertiesId` int unsigned NOT NULL,
+ `IsCustom` tinyint unsigned NOT NULL,
`StartDelay` int unsigned NOT NULL DEFAULT '0',
`CircleRadius` float NOT NULL DEFAULT '0',
`BlendFromRadius` float NOT NULL DEFAULT '0',
@@ -195,7 +190,7 @@ CREATE TABLE `areatrigger_create_properties_orbit` (
`CounterClockwise` tinyint unsigned NOT NULL DEFAULT '0',
`CanLoop` tinyint unsigned NOT NULL DEFAULT '0',
`VerifiedBuild` int unsigned NOT NULL DEFAULT '0',
- PRIMARY KEY (`AreaTriggerCreatePropertiesId`)
+ PRIMARY KEY (`AreaTriggerCreatePropertiesId`,`IsCustom`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -208,13 +203,14 @@ DROP TABLE IF EXISTS `areatrigger_create_properties_polygon_vertex`;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `areatrigger_create_properties_polygon_vertex` (
`AreaTriggerCreatePropertiesId` int unsigned NOT NULL,
+ `IsCustom` tinyint unsigned NOT NULL,
`Idx` int unsigned NOT NULL,
`VerticeX` float NOT NULL DEFAULT '0',
`VerticeY` float NOT NULL DEFAULT '0',
`VerticeTargetX` float DEFAULT NULL,
`VerticeTargetY` float DEFAULT NULL,
`VerifiedBuild` int unsigned NOT NULL DEFAULT '0',
- PRIMARY KEY (`AreaTriggerCreatePropertiesId`,`Idx`)
+ PRIMARY KEY (`AreaTriggerCreatePropertiesId`,`IsCustom`,`Idx`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -227,12 +223,13 @@ DROP TABLE IF EXISTS `areatrigger_create_properties_spline_point`;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `areatrigger_create_properties_spline_point` (
`AreaTriggerCreatePropertiesId` int unsigned NOT NULL,
+ `IsCustom` tinyint unsigned NOT NULL,
`Idx` int unsigned NOT NULL,
`X` float NOT NULL DEFAULT '0',
`Y` float NOT NULL DEFAULT '0',
`Z` float NOT NULL DEFAULT '0',
`VerifiedBuild` int unsigned NOT NULL DEFAULT '0',
- PRIMARY KEY (`AreaTriggerCreatePropertiesId`,`Idx`)
+ PRIMARY KEY (`AreaTriggerCreatePropertiesId`,`IsCustom`,`Idx`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -303,19 +300,10 @@ DROP TABLE IF EXISTS `areatrigger_template`;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `areatrigger_template` (
`Id` int unsigned NOT NULL,
- `IsServerSide` tinyint unsigned NOT NULL,
- `Type` tinyint unsigned NOT NULL DEFAULT '0',
+ `IsCustom` tinyint unsigned NOT NULL,
`Flags` int unsigned NOT NULL DEFAULT '0',
- `Data0` float NOT NULL DEFAULT '0',
- `Data1` float NOT NULL DEFAULT '0',
- `Data2` float NOT NULL DEFAULT '0',
- `Data3` float NOT NULL DEFAULT '0',
- `Data4` float NOT NULL DEFAULT '0',
- `Data5` float NOT NULL DEFAULT '0',
- `Data6` float NOT NULL DEFAULT '0',
- `Data7` float NOT NULL DEFAULT '0',
`VerifiedBuild` int unsigned NOT NULL DEFAULT '0',
- PRIMARY KEY (`Id`,`IsServerSide`)
+ PRIMARY KEY (`Id`,`IsCustom`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -328,11 +316,11 @@ DROP TABLE IF EXISTS `areatrigger_template_actions`;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `areatrigger_template_actions` (
`AreaTriggerId` int unsigned NOT NULL,
- `IsServerSide` tinyint unsigned NOT NULL,
+ `IsCustom` tinyint unsigned NOT NULL,
`ActionType` int unsigned NOT NULL,
`ActionParam` int unsigned NOT NULL,
`TargetType` int unsigned NOT NULL DEFAULT '0',
- PRIMARY KEY (`AreaTriggerId`,`IsServerSide`)
+ PRIMARY KEY (`AreaTriggerId`,`IsCustom`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -511,12 +499,13 @@ CREATE TABLE `conditions` (
`ConditionValue1` int unsigned NOT NULL DEFAULT '0',
`ConditionValue2` int unsigned NOT NULL DEFAULT '0',
`ConditionValue3` int unsigned NOT NULL DEFAULT '0',
+ `ConditionStringValue1` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`NegativeCondition` tinyint unsigned NOT NULL DEFAULT '0',
`ErrorType` int unsigned NOT NULL DEFAULT '0',
`ErrorTextId` int unsigned NOT NULL DEFAULT '0',
`ScriptName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
- PRIMARY KEY (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`)
+ PRIMARY KEY (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ConditionStringValue1`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Condition System';
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -570,6 +559,7 @@ CREATE TABLE `conversation_template` (
`Id` int unsigned NOT NULL,
`FirstLineId` int unsigned NOT NULL,
`TextureKitId` int unsigned NOT NULL DEFAULT '0',
+ `Flags` tinyint NOT NULL DEFAULT '0',
`ScriptName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`VerifiedBuild` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`Id`)
@@ -628,7 +618,7 @@ DROP TABLE IF EXISTS `creature_addon`;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `creature_addon` (
`guid` bigint unsigned NOT NULL DEFAULT '0',
- `path_id` int unsigned NOT NULL DEFAULT '0',
+ `PathId` int unsigned NOT NULL DEFAULT '0',
`mount` int unsigned NOT NULL DEFAULT '0',
`MountCreatureID` int unsigned NOT NULL DEFAULT '0',
`StandState` tinyint unsigned NOT NULL DEFAULT '0',
@@ -708,6 +698,27 @@ CREATE TABLE `creature_formations` (
/*!40101 SET character_set_client = @saved_cs_client */;
--
+-- Table structure for table `creature_immunities`
+--
+
+DROP TABLE IF EXISTS `creature_immunities`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!50503 SET character_set_client = utf8mb4 */;
+CREATE TABLE `creature_immunities` (
+ `ID` int NOT NULL,
+ `SchoolMask` tinyint NOT NULL DEFAULT '0',
+ `DispelTypeMask` smallint NOT NULL DEFAULT '0',
+ `MechanicsMask` bigint NOT NULL DEFAULT '0',
+ `Effects` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
+ `Auras` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
+ `ImmuneAoE` tinyint(1) NOT NULL DEFAULT '0',
+ `ImmuneChain` tinyint(1) NOT NULL DEFAULT '0',
+ `Comment` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
+ PRIMARY KEY (`ID`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
-- Table structure for table `creature_loot_template`
--
@@ -804,6 +815,21 @@ CREATE TABLE `creature_onkill_reputation` (
/*!40101 SET character_set_client = @saved_cs_client */;
--
+-- Table structure for table `creature_quest_currency`
+--
+
+DROP TABLE IF EXISTS `creature_quest_currency`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!50503 SET character_set_client = utf8mb4 */;
+CREATE TABLE `creature_quest_currency` (
+ `CreatureId` int unsigned NOT NULL,
+ `CurrencyId` int NOT NULL,
+ `VerifiedBuild` int NOT NULL DEFAULT '0',
+ PRIMARY KEY (`CreatureId`,`CurrencyId`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
-- Table structure for table `creature_questender`
--
@@ -884,6 +910,7 @@ CREATE TABLE `creature_summoned_data` (
`CreatureIDVisibleToSummoner` int DEFAULT NULL,
`GroundMountDisplayID` int unsigned DEFAULT NULL,
`FlyingMountDisplayID` int unsigned DEFAULT NULL,
+ `DespawnOnQuestsRemoved` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`CreatureID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -911,7 +938,7 @@ CREATE TABLE `creature_template` (
`speed_walk` float NOT NULL DEFAULT '1' COMMENT 'Result of 2.5/2.5, most common value',
`speed_run` float NOT NULL DEFAULT '1.14286' COMMENT 'Result of 8.0/7.0, most common value',
`scale` float NOT NULL DEFAULT '1',
- `rank` tinyint unsigned NOT NULL DEFAULT '0',
+ `Classification` tinyint unsigned NOT NULL DEFAULT '0',
`dmgschool` tinyint NOT NULL DEFAULT '0',
`BaseAttackTime` int unsigned NOT NULL DEFAULT '0',
`RangeAttackTime` int unsigned NOT NULL DEFAULT '0',
@@ -933,8 +960,7 @@ CREATE TABLE `creature_template` (
`WidgetSetID` int NOT NULL DEFAULT '0',
`WidgetSetUnitConditionID` int NOT NULL DEFAULT '0',
`RegenHealth` tinyint unsigned NOT NULL DEFAULT '1',
- `mechanic_immune_mask` bigint unsigned NOT NULL DEFAULT '0',
- `spell_school_immune_mask` int unsigned NOT NULL DEFAULT '0',
+ `CreatureImmunitiesId` int NOT NULL DEFAULT '0',
`flags_extra` int unsigned NOT NULL DEFAULT '0',
`ScriptName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`StringId` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
@@ -952,7 +978,7 @@ DROP TABLE IF EXISTS `creature_template_addon`;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `creature_template_addon` (
`entry` int unsigned NOT NULL DEFAULT '0',
- `path_id` int unsigned NOT NULL DEFAULT '0',
+ `PathId` int unsigned NOT NULL DEFAULT '0',
`mount` int unsigned NOT NULL DEFAULT '0',
`MountCreatureID` int unsigned NOT NULL DEFAULT '0',
`StandState` tinyint unsigned NOT NULL DEFAULT '0',
@@ -2088,6 +2114,7 @@ CREATE TABLE `item_template_addon` (
`MaxMoneyLoot` int unsigned NOT NULL DEFAULT '0',
`SpellPPMChance` float NOT NULL DEFAULT '0',
`RandomBonusListTemplateId` int unsigned NOT NULL DEFAULT '0',
+ `QuestLogItemId` int NOT NULL DEFAULT '0',
PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -4335,6 +4362,7 @@ CREATE TABLE `spell_target_position` (
`PositionX` float NOT NULL DEFAULT '0',
`PositionY` float NOT NULL DEFAULT '0',
`PositionZ` float NOT NULL DEFAULT '0',
+ `Orientation` float DEFAULT NULL,
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`EffectIndex`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Spell System';
@@ -4720,49 +4748,37 @@ CREATE TABLE `warden_checks` (
/*!40101 SET character_set_client = @saved_cs_client */;
--
--- Table structure for table `waypoint_data`
+-- Table structure for table `waypoint_path`
--
-DROP TABLE IF EXISTS `waypoint_data`;
+DROP TABLE IF EXISTS `waypoint_path`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
-CREATE TABLE `waypoint_data` (
- `id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Creature GUID',
- `point` int unsigned NOT NULL DEFAULT '0',
- `position_x` float NOT NULL DEFAULT '0',
- `position_y` float NOT NULL DEFAULT '0',
- `position_z` float NOT NULL DEFAULT '0',
- `orientation` float DEFAULT NULL,
- `delay` int unsigned NOT NULL DEFAULT '0',
- `move_type` int NOT NULL DEFAULT '0',
- `action` int NOT NULL DEFAULT '0',
- `action_chance` smallint NOT NULL DEFAULT '100',
- `wpguid` bigint unsigned NOT NULL DEFAULT '0',
- PRIMARY KEY (`id`,`point`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+CREATE TABLE `waypoint_path` (
+ `PathId` int unsigned NOT NULL,
+ `MoveType` tinyint unsigned NOT NULL DEFAULT '0',
+ `Flags` tinyint unsigned NOT NULL DEFAULT '0',
+ `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
+ PRIMARY KEY (`PathId`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
--- Table structure for table `waypoint_scripts`
+-- Table structure for table `waypoint_path_node`
--
-DROP TABLE IF EXISTS `waypoint_scripts`;
+DROP TABLE IF EXISTS `waypoint_path_node`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
-CREATE TABLE `waypoint_scripts` (
- `id` int unsigned NOT NULL DEFAULT '0',
- `delay` int unsigned NOT NULL DEFAULT '0',
- `command` int unsigned NOT NULL DEFAULT '0',
- `datalong` int unsigned NOT NULL DEFAULT '0',
- `datalong2` int unsigned NOT NULL DEFAULT '0',
- `dataint` int unsigned NOT NULL DEFAULT '0',
- `x` float NOT NULL DEFAULT '0',
- `y` float NOT NULL DEFAULT '0',
- `z` float NOT NULL DEFAULT '0',
- `o` float NOT NULL DEFAULT '0',
- `guid` int NOT NULL DEFAULT '0',
- `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
- PRIMARY KEY (`guid`)
+CREATE TABLE `waypoint_path_node` (
+ `PathId` int unsigned NOT NULL DEFAULT '0',
+ `NodeId` int unsigned NOT NULL DEFAULT '0',
+ `PositionX` float NOT NULL DEFAULT '0',
+ `PositionY` float NOT NULL DEFAULT '0',
+ `PositionZ` float NOT NULL DEFAULT '0',
+ `Orientation` float DEFAULT NULL,
+ `Delay` int unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`PathId`,`NodeId`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -4870,4 +4886,4 @@ CREATE TABLE `world_state` (
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
--- Dump completed on 2023-11-15 0:53:53
+-- Dump completed on 2024-02-08 0:56:29