From c83fe6a09d89f531439cfaee93263282573791a1 Mon Sep 17 00:00:00 2001 From: Frederick Behrends Date: Mon, 16 Dec 2013 20:07:05 +0100 Subject: [PATCH] [FIX] added "IF NOT EXISTS" to SQL-Query to avoid errors while import --- sql/000_base_structure.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/000_base_structure.sql b/sql/000_base_structure.sql index adeb6e7e..6c8acc1a 100644 --- a/sql/000_base_structure.sql +++ b/sql/000_base_structure.sql @@ -215,7 +215,7 @@ CREATE TABLE IF NOT EXISTS `transactions` ( KEY `archived` (`archived`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -CREATE TABLE `templates` ( +CREATE TABLE IF NOT EXISTS `templates` ( `template` varchar(255) NOT NULL, `active` tinyint(1) NOT NULL DEFAULT 0, `content` mediumtext,