Core/Conversations: Dropped time fields and calculate them using db2 data

Port From (https://github.com/TrinityCore/TrinityCore/commit/94b14e4f6355a7bab8004dcc2ecadadbc52833de)
This commit is contained in:
hondacrx
2021-11-03 11:44:33 -04:00
parent a715622d94
commit 0bfef874de
10 changed files with 153 additions and 26 deletions
@@ -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 */;
@@ -0,0 +1,3 @@
--
ALTER TABLE `conversation_line_template` DROP `StartTime`;
ALTER TABLE `conversation_template` DROP `LastLineEndTime`;