Bug 38689: Correctly place edifact_errors in kohastructure.sql

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2025-05-05 13:59:54 +02:00
parent d6bc8fe713
commit 592431aed3
No known key found for this signature in database
GPG Key ID: A085E712BEF0E0F0
1 changed files with 19 additions and 19 deletions

View File

@ -2897,6 +2897,25 @@ CREATE TABLE `edifact_ean` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `edifact_errors`
--
DROP TABLE IF EXISTS `edifact_errors`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `edifact_errors` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`message_id` int(11) NOT NULL,
`date` date DEFAULT NULL,
`section` mediumtext DEFAULT NULL,
`details` mediumtext DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `messageid` (`message_id`),
CONSTRAINT `emfk_message` FOREIGN KEY (`message_id`) REFERENCES `edifact_messages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `edifact_messages`
--
@ -2925,25 +2944,6 @@ CREATE TABLE `edifact_messages` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `edifact_errors`
--
DROP TABLE IF EXISTS `edifact_errors`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `edifact_errors` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`message_id` int(11) NOT NULL,
`date` date DEFAULT NULL,
`section` mediumtext DEFAULT NULL,
`details` mediumtext DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `messageid` (`message_id`),
CONSTRAINT `emfk_message` FOREIGN KEY (`message_id`) REFERENCES `edifact_messages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `erm_agreement_licenses`
--