Merge pull request #2448 from petrkr/fixinstaller

Install: Create auto-increment, fix semicolon, fixes #2443
This commit is contained in:
Peter Goodhall 2023-08-28 16:29:01 +01:00 committed by GitHub
commit 628bf0d2a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -297,13 +297,20 @@ CREATE TABLE `TABLE_HRD_CONTACTS_V01` (
-- ---------------------------- -- ----------------------------
CREATE TABLE `options` ( CREATE TABLE `options` (
`option_id` bigint(20) UNSIGNED NOT NULL, `option_id` bigint(20) UNSIGNED NOT NULL,
`option_name` varchar(191) DEFAULT NULL, `option_name` varchar(191) DEFAULT NULL,
`option_value` longtext NOT NULL, `option_value` longtext NOT NULL,
`autoload` varchar(20) DEFAULT NULL `autoload` varchar(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
ALTER TABLE `options`
ADD PRIMARY KEY (`option_id`),
ADD UNIQUE KEY `option_name` (`option_name`);
ALTER TABLE `options`
MODIFY `option_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
-- --
-- Dumping data for table `options` that stops the version2 trigger from firing -- Dumping data for table `options` that stops the version2 trigger from firing