summaryrefslogtreecommitdiff
path: root/plugins/libkolab
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-02-05 16:03:11 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-02-05 16:03:11 (GMT)
commitcea470c81c63df38c732ae55ee90eb3047afce4c (patch)
treeac156a0aabca8e26960080e6012964207acb9d54 /plugins/libkolab
parent67568dda20f8ccd779d5332c0a6f39a246da0f58 (diff)
downloadroundcubemail-plugins-kolab-cea470c81c63df38c732ae55ee90eb3047afce4c.tar.gz
Disable foreign-key checks when dropping tables
Diffstat (limited to 'plugins/libkolab')
-rw-r--r--plugins/libkolab/SQL/mysql.initial.sql4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/libkolab/SQL/mysql.initial.sql b/plugins/libkolab/SQL/mysql.initial.sql
index 6a671ac..a1497da 100644
--- a/plugins/libkolab/SQL/mysql.initial.sql
+++ b/plugins/libkolab/SQL/mysql.initial.sql
@@ -6,6 +6,7 @@
* @licence GNU AGPL
**/
+/*!40014 SET FOREIGN_KEY_CHECKS=0 */;
DROP TABLE IF EXISTS `kolab_folders`;
@@ -185,5 +186,6 @@ CREATE TABLE `kolab_cache_freebusy` (
INDEX `freebusy_uid2msguid` (`folder_id`,`uid`,`msguid`)
) /*!40000 ENGINE=INNODB */ /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */;
+/*!40014 SET FOREIGN_KEY_CHECKS=1 */;
-INSERT INTO `system` (`name`, `value`) VALUES ('libkolab-version', '2015020600');
+REPLACE INTO `system` (`name`, `value`) VALUES ('libkolab-version', '2015020600');