aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorModoX <moardox@gmail.com>2021-10-26 22:49:12 +0200
committerGitHub <noreply@github.com>2021-10-26 22:49:12 +0200
commit94b14e4f6355a7bab8004dcc2ecadadbc52833de (patch)
tree05a07038b3acfbe35cbe36f24d40232c33d710b7 /sql
parentd57e798d5074002c50ec65be84e762bafdf93aa0 (diff)
Core/Conversations: Dropped time fields and calculate them using db2 data (#27151)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/hotfixes/master/2021_10_26_00_hotfixes.sql15
-rw-r--r--sql/updates/world/master/2021_10_26_00_world.sql3
2 files changed, 18 insertions, 0 deletions
diff --git a/sql/updates/hotfixes/master/2021_10_26_00_hotfixes.sql b/sql/updates/hotfixes/master/2021_10_26_00_hotfixes.sql
new file mode 100644
index 00000000000..54c1a8b9390
--- /dev/null
+++ b/sql/updates/hotfixes/master/2021_10_26_00_hotfixes.sql
@@ -0,0 +1,15 @@
+--
+-- Table structure for table `broadcast_text_duration`
+--
+DROP TABLE IF EXISTS `broadcast_text_duration`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!50503 SET character_set_client = utf8mb4 */;
+CREATE TABLE `broadcast_text_duration` (
+ `ID` int(10) unsigned NOT NULL DEFAULT '0',
+ `BroadcastTextID` int(11) NOT NULL DEFAULT '0',
+ `Locale` int(11) NOT NULL DEFAULT '0',
+ `Duration` int(11) NOT NULL DEFAULT '0',
+ `VerifiedBuild` int(11) 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 */;
diff --git a/sql/updates/world/master/2021_10_26_00_world.sql b/sql/updates/world/master/2021_10_26_00_world.sql
new file mode 100644
index 00000000000..e1f10ae3f5c
--- /dev/null
+++ b/sql/updates/world/master/2021_10_26_00_world.sql
@@ -0,0 +1,3 @@
+--
+ALTER TABLE `conversation_line_template` DROP `StartTime`;
+ALTER TABLE `conversation_template` DROP `LastLineEndTime`;