mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-22 00:07:14 +00:00
Merge pull request #2448 from petrkr/fixinstaller
Install: Create auto-increment, fix semicolon, fixes #2443
This commit is contained in:
commit
628bf0d2a5
@ -297,13 +297,20 @@ CREATE TABLE `TABLE_HRD_CONTACTS_V01` (
|
||||
-- ----------------------------
|
||||
|
||||
|
||||
|
||||
CREATE TABLE `options` (
|
||||
`option_id` bigint(20) UNSIGNED NOT NULL,
|
||||
`option_name` varchar(191) DEFAULT NULL,
|
||||
`option_value` longtext NOT 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
|
||||
|
Loading…
Reference in New Issue
Block a user