[FIX] added "IF NOT EXISTS" to SQL-Query to avoid errors while import

This commit is contained in:
Frederick Behrends 2013-12-16 20:07:05 +01:00
parent 2517f22b2f
commit c83fe6a09d

View File

@ -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,