mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
[Options] Creates options table during install and inserts the version2 flag and migration file makes sure it doesn't exisit.
This will hopefully resolve #2443 loop for new installs who of course don't need to run through the upgrade process for version 1 to 2
This commit is contained in:
@@ -296,6 +296,19 @@ CREATE TABLE `TABLE_HRD_CONTACTS_V01` (
|
||||
-- Records of 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;
|
||||
|
||||
--
|
||||
-- Dumping data for table `options` that stops the version2 trigger from firing
|
||||
INSERT INTO `options` (`option_id`, `option_name`, `option_value`, `autoload`) VALUES (NULL, 'version2_trigger', 'yes', 'true')
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for timezones
|
||||
-- ----------------------------
|
||||
|
||||
Reference in New Issue
Block a user