adding Changelog + fixing schema by adding IF NOT EXISTS for table VARIABLE

This commit is contained in:
Benjamin Sonntag 2015-11-16 09:15:13 +01:00
parent 12a3650678
commit a5c71e4bfb
2 changed files with 9 additions and 3 deletions

8
debian/changelog vendored
View File

@ -2,8 +2,14 @@ alternc (3.1.9) oldoldstable; urgency=low
* fix missing GLOBALS in various places
* fix non-installed default_spf_value and default_dmarc_value in variables
* fix restarting opendkim at each domain in update_domains instead of only once in the end
* fix the infinite loop of inotify_do_actions.sh
* enh added a (protected) message saying a file is write-protected
* fix a HTML graphical bug when uncompression a tar.gz file
* fix crating /etc/opendkim/TrustedHosts BEFORE searching in it
* enh refactoring of the code using netbeans IDE auto-formatting + manual smoothing of class code
-- Benjamin Sonntag <benjamin@sonntag.fr> Wed, 3 Sep 2015 15:53:16 +0200
-- Benjamin Sonntag <benjamin@sonntag.fr> Mon, 16 Nov 2015 08:52:16 +0100
alternc (3.1.8) oldoldstable; urgency=low

View File

@ -385,7 +385,7 @@ INSERT IGNORE INTO tld VALUES ('asia', 1);
--
-- if comment is null, then the variable is internal and will not show
-- up in the generic configuration panel
CREATE TABLE `variable` (
CREATE TABLE IF NOT EXISTS `variable` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(48) NOT NULL DEFAULT '',
`value` longtext NOT NULL,
@ -393,7 +393,7 @@ CREATE TABLE `variable` (
`type` text,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM;
) ENGINE=MyISAM COMMENT='Stores AlternC system variable used by panel and scripts, configurable through the panel';
--
-- Table structure for table `dbusers`