[FIX] added "IF NOT EXISTS" to SQL-Query to avoid errors while import
This commit is contained in:
parent
2517f22b2f
commit
c83fe6a09d
@ -215,7 +215,7 @@ CREATE TABLE IF NOT EXISTS `transactions` (
|
|||||||
KEY `archived` (`archived`)
|
KEY `archived` (`archived`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
CREATE TABLE `templates` (
|
CREATE TABLE IF NOT EXISTS `templates` (
|
||||||
`template` varchar(255) NOT NULL,
|
`template` varchar(255) NOT NULL,
|
||||||
`active` tinyint(1) NOT NULL DEFAULT 0,
|
`active` tinyint(1) NOT NULL DEFAULT 0,
|
||||||
`content` mediumtext,
|
`content` mediumtext,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user