Commit 2c273e99 authored by tbrehm's avatar tbrehm
Browse files

Added "IF NOT EXISTS" to create table statements.

parent a59c2139
CREATE TABLE `help_faq` ( CREATE TABLE IF NOT EXISTS `help_faq` (
`hf_id` int(11) NOT NULL AUTO_INCREMENT, `hf_id` int(11) NOT NULL AUTO_INCREMENT,
`hf_section` int(11) DEFAULT NULL, `hf_section` int(11) DEFAULT NULL,
`hf_order` int(11) DEFAULT '0', `hf_order` int(11) DEFAULT '0',
...@@ -12,7 +12,7 @@ CREATE TABLE `help_faq` ( ...@@ -12,7 +12,7 @@ CREATE TABLE `help_faq` (
PRIMARY KEY (`hf_id`) PRIMARY KEY (`hf_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
CREATE TABLE `help_faq_sections` ( CREATE TABLE IF NOT EXISTS `help_faq_sections` (
`hfs_id` int(11) NOT NULL AUTO_INCREMENT, `hfs_id` int(11) NOT NULL AUTO_INCREMENT,
`hfs_name` varchar(255) DEFAULT NULL, `hfs_name` varchar(255) DEFAULT NULL,
`hfs_order` int(11) DEFAULT '0', `hfs_order` int(11) DEFAULT '0',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment