Skip to content

Commit 2c273e9

Browse files
committed
Added "IF NOT EXISTS" to create table statements.
1 parent a59c213 commit 2c273e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/sql/incremental/upd_0019.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CREATE TABLE `help_faq` (
1+
CREATE TABLE IF NOT EXISTS `help_faq` (
22
`hf_id` int(11) NOT NULL AUTO_INCREMENT,
33
`hf_section` int(11) DEFAULT NULL,
44
`hf_order` int(11) DEFAULT '0',
@@ -12,7 +12,7 @@ CREATE TABLE `help_faq` (
1212
PRIMARY KEY (`hf_id`)
1313
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
1414

15-
CREATE TABLE `help_faq_sections` (
15+
CREATE TABLE IF NOT EXISTS `help_faq_sections` (
1616
`hfs_id` int(11) NOT NULL AUTO_INCREMENT,
1717
`hfs_name` varchar(255) DEFAULT NULL,
1818
`hfs_order` int(11) DEFAULT '0',

0 commit comments

Comments
 (0)