From 76db31ade1061641a2b8f442050184dc602a1f06 Mon Sep 17 00:00:00 2001 From: e107steved Date: Fri, 11 Mar 2011 18:58:39 +0000 Subject: [PATCH] Plugin SQL setup - 'TYPE'-->'ENGINE' for compatibility with recent MySQL --- e107_plugins/alt_auth/alt_auth_sql.php | 10 +- e107_plugins/banner/banner_sql.php | 34 ++--- e107_plugins/calendar_menu/calendar_sql.php | 86 ++++++------ e107_plugins/chatbox_menu/chatbox_sql.php | 18 +-- e107_plugins/content/content_sql.php | 2 +- e107_plugins/download/download_sql.php | 146 +++++++++---------- e107_plugins/faqs/faqs_sql.php | 46 +++--- e107_plugins/featurebox/featurebox_sql.php | 56 ++++---- e107_plugins/forum/forum_sql.php | 148 ++++++++++---------- e107_plugins/gsitemap/gsitemap_sql.php | 26 ++-- e107_plugins/links_page/links_page_sql.php | 4 +- e107_plugins/linkwords/linkwords_sql.php | 20 +-- e107_plugins/log/log_sql.php | 14 +- e107_plugins/newsfeed/newsfeed_sql.php | 24 ++-- e107_plugins/newsletter/newsletter_sql.php | 26 ++-- e107_plugins/pm/pm_sql.php | 48 +++---- e107_plugins/poll/poll_sql.php | 36 ++--- e107_plugins/release/release_sql.php | 26 ++-- e107_plugins/rss_menu/rss_sql.php | 26 ++-- e107_plugins/tagwords/tagwords_sql.php | 16 +-- e107_plugins/tinymce/tinymce_sql.php | 30 ++-- e107_plugins/trackback/trackback_sql.php | 20 +-- 22 files changed, 431 insertions(+), 431 deletions(-) diff --git a/e107_plugins/alt_auth/alt_auth_sql.php b/e107_plugins/alt_auth/alt_auth_sql.php index 253f9bde7..9d89c1ead 100644 --- a/e107_plugins/alt_auth/alt_auth_sql.php +++ b/e107_plugins/alt_auth/alt_auth_sql.php @@ -1,5 +1,5 @@ -CREATE TABLE alt_auth ( - auth_type varchar(20) NOT NULL default '', - auth_parmname varchar(30) NOT NULL default '', - auth_parmval varchar(120) NOT NULL default '' -) TYPE=MyISAM; \ No newline at end of file +CREATE TABLE alt_auth ( + auth_type varchar(20) NOT NULL default '', + auth_parmname varchar(30) NOT NULL default '', + auth_parmval varchar(120) NOT NULL default '' +) ENGINE=MyISAM; \ No newline at end of file diff --git a/e107_plugins/banner/banner_sql.php b/e107_plugins/banner/banner_sql.php index 872467d34..965124a6f 100644 --- a/e107_plugins/banner/banner_sql.php +++ b/e107_plugins/banner/banner_sql.php @@ -1,17 +1,17 @@ -CREATE TABLE banner ( - banner_id int(10) unsigned NOT NULL auto_increment, - banner_clientname varchar(100) NOT NULL default '', - banner_clientlogin varchar(20) NOT NULL default '', - banner_clientpassword varchar(50) NOT NULL default '', - banner_image varchar(150) NOT NULL default '', - banner_clickurl varchar(150) NOT NULL default '', - banner_impurchased int(10) unsigned NOT NULL default '0', - banner_startdate int(10) unsigned NOT NULL default '0', - banner_enddate int(10) unsigned NOT NULL default '0', - banner_active tinyint(3) unsigned NOT NULL default '0', - banner_clicks int(10) unsigned NOT NULL default '0', - banner_impressions int(10) unsigned NOT NULL default '0', - banner_ip text NOT NULL, - banner_campaign varchar(150) NOT NULL default '', - PRIMARY KEY (banner_id) -) TYPE=MyISAM; \ No newline at end of file +CREATE TABLE banner ( + banner_id int(10) unsigned NOT NULL auto_increment, + banner_clientname varchar(100) NOT NULL default '', + banner_clientlogin varchar(20) NOT NULL default '', + banner_clientpassword varchar(50) NOT NULL default '', + banner_image varchar(150) NOT NULL default '', + banner_clickurl varchar(150) NOT NULL default '', + banner_impurchased int(10) unsigned NOT NULL default '0', + banner_startdate int(10) unsigned NOT NULL default '0', + banner_enddate int(10) unsigned NOT NULL default '0', + banner_active tinyint(3) unsigned NOT NULL default '0', + banner_clicks int(10) unsigned NOT NULL default '0', + banner_impressions int(10) unsigned NOT NULL default '0', + banner_ip text NOT NULL, + banner_campaign varchar(150) NOT NULL default '', + PRIMARY KEY (banner_id) +) ENGINE=MyISAM; \ No newline at end of file diff --git a/e107_plugins/calendar_menu/calendar_sql.php b/e107_plugins/calendar_menu/calendar_sql.php index 30eac46ed..1647d2947 100644 --- a/e107_plugins/calendar_menu/calendar_sql.php +++ b/e107_plugins/calendar_menu/calendar_sql.php @@ -1,43 +1,43 @@ -CREATE TABLE event ( - event_id int(11) unsigned NOT NULL auto_increment, - event_start int(10) NOT NULL default '0', - event_end int(10) NOT NULL default '0', - event_allday tinyint(1) unsigned NOT NULL default '0', - event_recurring tinyint(1) unsigned NOT NULL default '0', - event_datestamp int(10) unsigned NOT NULL default '0', - event_title varchar(200) NOT NULL default '', - event_location text NOT NULL, - event_details text NOT NULL, - event_author varchar(100) NOT NULL default '', - event_contact varchar(200) NOT NULL default '', - event_category smallint(5) unsigned NOT NULL default '0', - event_thread varchar(100) NOT NULL default '', - event_rec_m tinyint(2) unsigned NOT NULL default '0', - event_rec_y tinyint(2) unsigned NOT NULL default '0', - PRIMARY KEY (event_id), - KEY event_start (event_start) - ) TYPE=MyISAM;, - CREATE TABLE event_cat ( - event_cat_id smallint(5) unsigned NOT NULL auto_increment, - event_cat_name varchar(100) NOT NULL default '', - event_cat_icon varchar(100) NOT NULL default '', - event_cat_class int(10) NOT NULL default '0', - event_cat_subs tinyint(3) unsigned NOT NULL default '0', - event_cat_ahead tinyint(3) unsigned NOT NULL default '0', - event_cat_msg1 text, - event_cat_msg2 text, - event_cat_notify tinyint(3) unsigned NOT NULL default '0', - event_cat_last int(10) unsigned NOT NULL default '0', - event_cat_today int(10) unsigned NOT NULL default '0', - event_cat_lastupdate int(10) unsigned NOT NULL default '0', - event_cat_addclass int(10) NOT NULL default '0', - event_cat_description text, - event_cat_force_class int(10) NOT NULL default '0', - PRIMARY KEY (event_cat_id) - ) TYPE=MyISAM;, - CREATE TABLE event_subs ( - event_subid int(10) unsigned NOT NULL auto_increment, - event_userid int(10) unsigned NOT NULL default '0', - event_cat int(10) unsigned NOT NULL default '0', - PRIMARY KEY (event_subid) - ) TYPE=MyISAM; +CREATE TABLE event ( + event_id int(11) unsigned NOT NULL auto_increment, + event_start int(10) NOT NULL default '0', + event_end int(10) NOT NULL default '0', + event_allday tinyint(1) unsigned NOT NULL default '0', + event_recurring tinyint(1) unsigned NOT NULL default '0', + event_datestamp int(10) unsigned NOT NULL default '0', + event_title varchar(200) NOT NULL default '', + event_location text NOT NULL, + event_details text NOT NULL, + event_author varchar(100) NOT NULL default '', + event_contact varchar(200) NOT NULL default '', + event_category smallint(5) unsigned NOT NULL default '0', + event_thread varchar(100) NOT NULL default '', + event_rec_m tinyint(2) unsigned NOT NULL default '0', + event_rec_y tinyint(2) unsigned NOT NULL default '0', + PRIMARY KEY (event_id), + KEY event_start (event_start) + ) ENGINE=MyISAM;, + CREATE TABLE event_cat ( + event_cat_id smallint(5) unsigned NOT NULL auto_increment, + event_cat_name varchar(100) NOT NULL default '', + event_cat_icon varchar(100) NOT NULL default '', + event_cat_class int(10) unsigned NOT NULL default '0', + event_cat_subs tinyint(3) unsigned NOT NULL default '0', + event_cat_ahead tinyint(3) unsigned NOT NULL default '0', + event_cat_msg1 text, + event_cat_msg2 text, + event_cat_notify tinyint(3) unsigned NOT NULL default '0', + event_cat_last int(10) unsigned NOT NULL default '0', + event_cat_today int(10) unsigned NOT NULL default '0', + event_cat_lastupdate int(10) unsigned NOT NULL default '0', + event_cat_addclass int(10) unsigned NOT NULL default '0', + event_cat_description text, + event_cat_force_class int(10) unsigned NOT NULL default '0', + PRIMARY KEY (event_cat_id) + ) ENGINE=MyISAM;, + CREATE TABLE event_subs ( + event_subid int(10) unsigned NOT NULL auto_increment, + event_userid int(10) unsigned NOT NULL default '0', + event_cat int(10) unsigned NOT NULL default '0', + PRIMARY KEY (event_subid) + ) ENGINE=MyISAM; diff --git a/e107_plugins/chatbox_menu/chatbox_sql.php b/e107_plugins/chatbox_menu/chatbox_sql.php index a6a57074c..17798a3a8 100644 --- a/e107_plugins/chatbox_menu/chatbox_sql.php +++ b/e107_plugins/chatbox_menu/chatbox_sql.php @@ -1,9 +1,9 @@ -CREATE TABLE chatbox ( - cb_id int(10) unsigned NOT NULL auto_increment, - cb_nick varchar(30) NOT NULL default '', - cb_message text NOT NULL, - cb_datestamp int(10) unsigned NOT NULL default '0', - cb_blocked tinyint(3) unsigned NOT NULL default '0', - cb_ip varchar(45) NOT NULL default '', - PRIMARY KEY (cb_id) - ) TYPE=MyISAM; \ No newline at end of file +CREATE TABLE chatbox ( + cb_id int(10) unsigned NOT NULL auto_increment, + cb_nick varchar(30) NOT NULL default '', + cb_message text NOT NULL, + cb_datestamp int(10) unsigned NOT NULL default '0', + cb_blocked tinyint(3) unsigned NOT NULL default '0', + cb_ip varchar(45) NOT NULL default '', + PRIMARY KEY (cb_id) + ) ENGINE=MyISAM; \ No newline at end of file diff --git a/e107_plugins/content/content_sql.php b/e107_plugins/content/content_sql.php index fd0c9fa5c..09ee7586e 100644 --- a/e107_plugins/content/content_sql.php +++ b/e107_plugins/content/content_sql.php @@ -54,6 +54,6 @@ CREATE TABLE pcontent ( content_layout varchar(255) NOT NULL default '', PRIMARY KEY (content_id), KEY content_parent (content_parent) -) TYPE=MyISAM; +) ENGINE=MyISAM; # -------------------------------------------------------- diff --git a/e107_plugins/download/download_sql.php b/e107_plugins/download/download_sql.php index 6df6fbe1a..23fece1ea 100644 --- a/e107_plugins/download/download_sql.php +++ b/e107_plugins/download/download_sql.php @@ -1,74 +1,74 @@ -# -# Table structure for table `download` -# -CREATE TABLE download ( - download_id int(10) unsigned NOT NULL auto_increment, - download_name varchar(100) NOT NULL default '', - download_url varchar(255) NOT NULL default '', - download_author varchar(100) NOT NULL default '', - download_author_email varchar(200) NOT NULL default '', - download_author_website varchar(200) NOT NULL default '', - download_description text NOT NULL, - download_filesize varchar(20) NOT NULL default '', - download_requested int(10) unsigned NOT NULL default '0', - download_category int(10) unsigned NOT NULL default '0', - download_active tinyint(3) unsigned NOT NULL default '0', - download_datestamp int(10) unsigned NOT NULL default '0', - download_thumb varchar(150) NOT NULL default '', - download_image varchar(150) NOT NULL default '', - download_comment tinyint(3) unsigned NOT NULL default '0', - download_class varchar(255) NOT NULL default '0', - download_mirror text NOT NULL, - download_mirror_type tinyint(1) unsigned NOT NULL default '0', - download_visible varchar(255) NOT NULL default '0', - PRIMARY KEY (download_id), - UNIQUE KEY download_name (download_name), - KEY download_category (download_category) -) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `download_category` -# -CREATE TABLE download_category ( - download_category_id int(10) unsigned NOT NULL auto_increment, - download_category_name varchar(100) NOT NULL default '', - download_category_description text NOT NULL, - download_category_icon varchar(100) NOT NULL default '', - download_category_parent int(10) unsigned NOT NULL default '0', - download_category_class varchar(255) NOT NULL default '0', - download_category_order int(10) unsigned NOT NULL default '0', - PRIMARY KEY (download_category_id) -) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `download_mirror` -# -CREATE TABLE download_mirror ( - mirror_id int(10) unsigned NOT NULL auto_increment, - mirror_name varchar(200) NOT NULL default '', - mirror_url varchar(255) NOT NULL default '', - mirror_image varchar(200) NOT NULL default '', - mirror_location varchar(100) NOT NULL default '', - mirror_description text NOT NULL, - mirror_count int(10) unsigned NOT NULL default '0', - PRIMARY KEY (mirror_id) -) TYPE=MyISAM; -# -------------------------------------------------------- - -# -# Table structure for table `download_requests` -# -CREATE TABLE download_requests ( - download_request_id int(10) unsigned NOT NULL auto_increment, - download_request_userid int(10) unsigned NOT NULL default '0', - download_request_ip varchar(45) NOT NULL default '', - download_request_download_id int(10) unsigned NOT NULL default '0', - download_request_datestamp int(10) unsigned NOT NULL default '0', - PRIMARY KEY (download_request_id), - KEY download_request_userid (download_request_userid), - KEY download_request_download_id (download_request_download_id), - KEY download_request_datestamp (download_request_datestamp) -) TYPE=MyISAM; +# +# Table structure for table `download` +# +CREATE TABLE download ( + download_id int(10) unsigned NOT NULL auto_increment, + download_name varchar(100) NOT NULL default '', + download_url varchar(255) NOT NULL default '', + download_author varchar(100) NOT NULL default '', + download_author_email varchar(200) NOT NULL default '', + download_author_website varchar(200) NOT NULL default '', + download_description text NOT NULL, + download_filesize varchar(20) NOT NULL default '', + download_requested int(10) unsigned NOT NULL default '0', + download_category int(10) unsigned NOT NULL default '0', + download_active tinyint(3) unsigned NOT NULL default '0', + download_datestamp int(10) unsigned NOT NULL default '0', + download_thumb varchar(150) NOT NULL default '', + download_image varchar(150) NOT NULL default '', + download_comment tinyint(3) unsigned NOT NULL default '0', + download_class varchar(255) NOT NULL default '0', + download_mirror text NOT NULL, + download_mirror_type tinyint(1) unsigned NOT NULL default '0', + download_visible varchar(255) NOT NULL default '0', + PRIMARY KEY (download_id), + UNIQUE KEY download_name (download_name), + KEY download_category (download_category) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `download_category` +# +CREATE TABLE download_category ( + download_category_id int(10) unsigned NOT NULL auto_increment, + download_category_name varchar(100) NOT NULL default '', + download_category_description text NOT NULL, + download_category_icon varchar(100) NOT NULL default '', + download_category_parent int(10) unsigned NOT NULL default '0', + download_category_class varchar(255) NOT NULL default '0', + download_category_order int(10) unsigned NOT NULL default '0', + PRIMARY KEY (download_category_id) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `download_mirror` +# +CREATE TABLE download_mirror ( + mirror_id int(10) unsigned NOT NULL auto_increment, + mirror_name varchar(200) NOT NULL default '', + mirror_url varchar(255) NOT NULL default '', + mirror_image varchar(200) NOT NULL default '', + mirror_location varchar(100) NOT NULL default '', + mirror_description text NOT NULL, + mirror_count int(10) unsigned NOT NULL default '0', + PRIMARY KEY (mirror_id) +) ENGINE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `download_requests` +# +CREATE TABLE download_requests ( + download_request_id int(10) unsigned NOT NULL auto_increment, + download_request_userid int(10) unsigned NOT NULL default '0', + download_request_ip varchar(45) NOT NULL default '', + download_request_download_id int(10) unsigned NOT NULL default '0', + download_request_datestamp int(10) unsigned NOT NULL default '0', + PRIMARY KEY (download_request_id), + KEY download_request_userid (download_request_userid), + KEY download_request_download_id (download_request_download_id), + KEY download_request_datestamp (download_request_datestamp) +) ENGINE=MyISAM; # -------------------------------------------------------- \ No newline at end of file diff --git a/e107_plugins/faqs/faqs_sql.php b/e107_plugins/faqs/faqs_sql.php index 3eb096736..4c05b0fcb 100644 --- a/e107_plugins/faqs/faqs_sql.php +++ b/e107_plugins/faqs/faqs_sql.php @@ -1,23 +1,23 @@ -CREATE TABLE faqs ( - faq_id int(10) unsigned NOT NULL auto_increment, - faq_parent int(10) unsigned NOT NULL default '0', - faq_question mediumtext NOT NULL, - faq_answer text NOT NULL, - faq_comment tinyint(1) unsigned NOT NULL default '0', - faq_datestamp int(10) unsigned NOT NULL default '0', - faq_author int(10) unsigned default NULL, - faq_order int(6) unsigned NOT NULL default '0', - PRIMARY KEY (faq_id) -) TYPE=MyISAM; - -CREATE TABLE faqs_info ( - faq_info_id int(10) unsigned NOT NULL auto_increment, - faq_info_title text NOT NULL, - faq_info_about text NOT NULL, - faq_info_parent int(10) unsigned default '0', - faq_info_class int(5) default '0', - faq_info_order tinyint(3) unsigned NOT NULL default '0', - faq_info_icon varchar(255) NOT NULL, - PRIMARY KEY (faq_info_id) -) TYPE=MyISAM; - +CREATE TABLE faqs ( + faq_id int(10) unsigned NOT NULL auto_increment, + faq_parent int(10) unsigned NOT NULL default '0', + faq_question mediumtext NOT NULL, + faq_answer text NOT NULL, + faq_comment tinyint(1) unsigned NOT NULL default '0', + faq_datestamp int(10) unsigned NOT NULL default '0', + faq_author int(10) unsigned default NULL, + faq_order int(6) unsigned NOT NULL default '0', + PRIMARY KEY (faq_id) +) ENGINE=MyISAM; + +CREATE TABLE faqs_info ( + faq_info_id int(10) unsigned NOT NULL auto_increment, + faq_info_title text NOT NULL, + faq_info_about text NOT NULL, + faq_info_parent int(10) unsigned default '0', + faq_info_class int(5) default '0', + faq_info_order tinyint(3) unsigned NOT NULL default '0', + faq_info_icon varchar(255) NOT NULL, + PRIMARY KEY (faq_info_id) +) ENGINE=MyISAM; + diff --git a/e107_plugins/featurebox/featurebox_sql.php b/e107_plugins/featurebox/featurebox_sql.php index 6c431950a..07aaf95a8 100644 --- a/e107_plugins/featurebox/featurebox_sql.php +++ b/e107_plugins/featurebox/featurebox_sql.php @@ -1,28 +1,28 @@ - -CREATE TABLE featurebox ( - `fb_id` int(10) unsigned NOT NULL AUTO_INCREMENT, - `fb_title` varchar(200) NOT NULL DEFAULT '', - `fb_text` text NOT NULL, - `fb_mode` tinyint(3) unsigned NOT NULL DEFAULT '0', - `fb_class` smallint(5) NOT NULL DEFAULT '0', - `fb_rendertype` tinyint(1) unsigned NOT NULL DEFAULT '0', - `fb_template` varchar(50) NOT NULL DEFAULT '', - `fb_order` tinyint(3) unsigned NOT NULL DEFAULT '0', - `fb_image` varchar(255) NOT NULL DEFAULT '', - `fb_imageurl` text NOT NULL, - `fb_category` tinyint(3) unsigned NOT NULL, - PRIMARY KEY (`fb_id`), - KEY `fb_category` (`fb_category`) -) TYPE=MyISAM; - -CREATE TABLE featurebox_category ( - `fb_category_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, - `fb_category_title` varchar(200) NOT NULL DEFAULT '', - `fb_category_icon` varchar(255) NOT NULL DEFAULT '', - `fb_category_template` varchar(50) NOT NULL DEFAULT 'default', - `fb_category_random` tinyint(1) unsigned NOT NULL DEFAULT '0', - `fb_category_class` smallint(5) NOT NULL DEFAULT '0', - `fb_category_limit` tinyint(3) unsigned NOT NULL DEFAULT '1', - PRIMARY KEY (`fb_category_id`), - UNIQUE KEY `fb_category_template` (`fb_category_template`) -) TYPE=MyISAM; \ No newline at end of file + +CREATE TABLE featurebox ( + `fb_id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `fb_title` varchar(200) NOT NULL DEFAULT '', + `fb_text` text NOT NULL, + `fb_mode` tinyint(3) unsigned NOT NULL DEFAULT '0', + `fb_class` smallint(5) NOT NULL DEFAULT '0', + `fb_rendertype` tinyint(1) unsigned NOT NULL DEFAULT '0', + `fb_template` varchar(50) NOT NULL DEFAULT '', + `fb_order` tinyint(3) unsigned NOT NULL DEFAULT '0', + `fb_image` varchar(255) NOT NULL DEFAULT '', + `fb_imageurl` text NOT NULL, + `fb_category` tinyint(3) unsigned NOT NULL, + PRIMARY KEY (`fb_id`), + KEY `fb_category` (`fb_category`) +) ENGINE=MyISAM; + +CREATE TABLE featurebox_category ( + `fb_category_id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, + `fb_category_title` varchar(200) NOT NULL DEFAULT '', + `fb_category_icon` varchar(255) NOT NULL DEFAULT '', + `fb_category_template` varchar(50) NOT NULL DEFAULT 'default', + `fb_category_random` tinyint(1) unsigned NOT NULL DEFAULT '0', + `fb_category_class` smallint(5) NOT NULL DEFAULT '0', + `fb_category_limit` tinyint(3) unsigned NOT NULL DEFAULT '1', + PRIMARY KEY (`fb_category_id`), + UNIQUE KEY `fb_category_template` (`fb_category_template`) +) ENGINE=MyISAM; \ No newline at end of file diff --git a/e107_plugins/forum/forum_sql.php b/e107_plugins/forum/forum_sql.php index 8491cda8b..21469aabd 100644 --- a/e107_plugins/forum/forum_sql.php +++ b/e107_plugins/forum/forum_sql.php @@ -1,74 +1,74 @@ -CREATE TABLE forum ( - `forum_id` int(10) unsigned NOT NULL auto_increment, - `forum_name` varchar(250) NOT NULL default '', - `forum_description` text, - `forum_parent` int(10) unsigned NOT NULL default '0', - `forum_sub` int(10) unsigned NOT NULL default '0', - `forum_datestamp` int(10) unsigned NOT NULL default '0', - `forum_moderators` tinyint(3) unsigned NOT NULL default '0', - `forum_threads` int(10) unsigned NOT NULL default '0', - `forum_replies` int(10) unsigned NOT NULL default '0', - `forum_lastpost_user` int(10) unsigned default NULL, - `forum_lastpost_user_anon` varchar(30) default NULL, - `forum_lastpost_info` varchar(40) default NULL, - `forum_class` smallint(5) NOT NULL default '0', - `forum_order` int(10) unsigned NOT NULL default '0', - `forum_postclass` smallint(5) NOT NULL default '0', - `forum_threadclass` smallint(5) NOT NULL default '0', - `forum_options` text, - PRIMARY KEY (`forum_id`), - KEY `forum_parent` (`forum_parent`), - KEY `forum_sub` (`forum_sub`) -) Type=MyISAM AUTO_INCREMENT=1; - -CREATE TABLE forum_thread ( - `thread_id` int(10) unsigned NOT NULL auto_increment, - `thread_name` varchar(250) NOT NULL default '', - `thread_forum_id` int(10) unsigned NOT NULL default '0', - `thread_views` int(10) unsigned NOT NULL default '0', - `thread_active` tinyint(3) unsigned NOT NULL default '0', - `thread_lastpost` int(10) unsigned NOT NULL default '0', - `thread_sticky` tinyint(1) unsigned NOT NULL default '0', - `thread_datestamp` int(10) unsigned default NULL, - `thread_user` int(10) unsigned default NULL, - `thread_user_anon` varchar(30) NULL, - `thread_lastuser` int(10) unsigned default NULL, - `thread_lastuser_anon` varchar(30) NULL, - `thread_total_replies` int(10) unsigned NOT NULL default '0', - `thread_options` text, - PRIMARY KEY (`thread_id`), - KEY `thread_forum_id` (`thread_forum_id`), - KEY `thread_sticky` (`thread_sticky`), - KEY `thread_lastpost` (`thread_lastpost`) -) Type=MyISAM AUTO_INCREMENT=1 ; - -CREATE TABLE forum_post ( - `post_id` int(10) unsigned NOT NULL auto_increment, - `post_entry` text NOT NULL, - `post_thread` int(10) unsigned default NULL, - `post_forum` int(10) unsigned default NULL, - `post_status` tinyint(1) unsigned NOT NULL default '0', - `post_datestamp` int(10) unsigned NOT NULL default '0', - `post_user` int(10) unsigned NOT NULL, - `post_edit_datestamp` int(10) unsigned default NULL, - `post_edit_user` int(10) unsigned default NULL, - `post_ip` varchar(45) default NULL, - `post_user_anon` varchar(30) default NULL, - `post_attachments` text default NULL, - `post_options` text, - PRIMARY KEY (`post_id`), - KEY `post_ip` (`post_ip`), - KEY `post_thread` (`post_thread`), - KEY `post_forum` (`post_forum`), - KEY `post_datestamp` (`post_datestamp`), - KEY `post_user` (`post_user`) -) Type=MyISAM AUTO_INCREMENT=1 ; - -CREATE TABLE forum_track ( - `track_userid` int(10) unsigned NOT NULL, - `track_thread` int(10) unsigned NOT NULL, - PRIMARY KEY (`track_userid`,`track_thread`), - KEY `track_userid` (`track_userid`), - KEY `track_thread` (`track_thread`) -) Type=MyISAM; - +CREATE TABLE forum ( + `forum_id` int(10) unsigned NOT NULL auto_increment, + `forum_name` varchar(250) NOT NULL default '', + `forum_description` text, + `forum_parent` int(10) unsigned NOT NULL default '0', + `forum_sub` int(10) unsigned NOT NULL default '0', + `forum_datestamp` int(10) unsigned NOT NULL default '0', + `forum_moderators` tinyint(3) unsigned NOT NULL default '0', + `forum_threads` int(10) unsigned NOT NULL default '0', + `forum_replies` int(10) unsigned NOT NULL default '0', + `forum_lastpost_user` int(10) unsigned default NULL, + `forum_lastpost_user_anon` varchar(30) default NULL, + `forum_lastpost_info` varchar(40) default NULL, + `forum_class` smallint(5) NOT NULL default '0', + `forum_order` int(10) unsigned NOT NULL default '0', + `forum_postclass` smallint(5) NOT NULL default '0', + `forum_threadclass` smallint(5) NOT NULL default '0', + `forum_options` text, + PRIMARY KEY (`forum_id`), + KEY `forum_parent` (`forum_parent`), + KEY `forum_sub` (`forum_sub`) +) ENGINE=MyISAM AUTO_INCREMENT=1; + +CREATE TABLE forum_thread ( + `thread_id` int(10) unsigned NOT NULL auto_increment, + `thread_name` varchar(250) NOT NULL default '', + `thread_forum_id` int(10) unsigned NOT NULL default '0', + `thread_views` int(10) unsigned NOT NULL default '0', + `thread_active` tinyint(3) unsigned NOT NULL default '0', + `thread_lastpost` int(10) unsigned NOT NULL default '0', + `thread_sticky` tinyint(1) unsigned NOT NULL default '0', + `thread_datestamp` int(10) unsigned default NULL, + `thread_user` int(10) unsigned default NULL, + `thread_user_anon` varchar(30) NULL, + `thread_lastuser` int(10) unsigned default NULL, + `thread_lastuser_anon` varchar(30) NULL, + `thread_total_replies` int(10) unsigned NOT NULL default '0', + `thread_options` text, + PRIMARY KEY (`thread_id`), + KEY `thread_forum_id` (`thread_forum_id`), + KEY `thread_sticky` (`thread_sticky`), + KEY `thread_lastpost` (`thread_lastpost`) +) ENGINE=MyISAM AUTO_INCREMENT=1 ; + +CREATE TABLE forum_post ( + `post_id` int(10) unsigned NOT NULL auto_increment, + `post_entry` text NOT NULL, + `post_thread` int(10) unsigned default NULL, + `post_forum` int(10) unsigned default NULL, + `post_status` tinyint(1) unsigned NOT NULL default '0', + `post_datestamp` int(10) unsigned NOT NULL default '0', + `post_user` int(10) unsigned NOT NULL, + `post_edit_datestamp` int(10) unsigned default NULL, + `post_edit_user` int(10) unsigned default NULL, + `post_ip` varchar(45) default NULL, + `post_user_anon` varchar(30) default NULL, + `post_attachments` text default NULL, + `post_options` text, + PRIMARY KEY (`post_id`), + KEY `post_ip` (`post_ip`), + KEY `post_thread` (`post_thread`), + KEY `post_forum` (`post_forum`), + KEY `post_datestamp` (`post_datestamp`), + KEY `post_user` (`post_user`) +) ENGINE=MyISAM AUTO_INCREMENT=1 ; + +CREATE TABLE forum_track ( + `track_userid` int(10) unsigned NOT NULL, + `track_thread` int(10) unsigned NOT NULL, + PRIMARY KEY (`track_userid`,`track_thread`), + KEY `track_userid` (`track_userid`), + KEY `track_thread` (`track_thread`) +) ENGINE=MyISAM; + diff --git a/e107_plugins/gsitemap/gsitemap_sql.php b/e107_plugins/gsitemap/gsitemap_sql.php index efbbacc73..9a3649bed 100644 --- a/e107_plugins/gsitemap/gsitemap_sql.php +++ b/e107_plugins/gsitemap/gsitemap_sql.php @@ -1,13 +1,13 @@ -CREATE TABLE gsitemap ( - gsitemap_id int(11) unsigned NOT NULL auto_increment, - gsitemap_name varchar(200) NOT NULL default '', - gsitemap_url varchar(200) NOT NULL default '', - gsitemap_lastmod varchar(15) NOT NULL default '', - gsitemap_freq varchar(10) NOT NULL default '', - gsitemap_priority char(3) NOT NULL default '', - gsitemap_cat varchar(100) NOT NULL default '', - gsitemap_order int(3) NOT NULL default '0', - gsitemap_img varchar(50) NOT NULL default '', - gsitemap_active int(3) NOT NULL default '0', - PRIMARY KEY (gsitemap_id) -) TYPE=MyISAM; \ No newline at end of file +CREATE TABLE gsitemap ( + gsitemap_id int(11) unsigned NOT NULL auto_increment, + gsitemap_name varchar(200) NOT NULL default '', + gsitemap_url varchar(200) NOT NULL default '', + gsitemap_lastmod varchar(15) NOT NULL default '', + gsitemap_freq varchar(10) NOT NULL default '', + gsitemap_priority char(3) NOT NULL default '', + gsitemap_cat varchar(100) NOT NULL default '', + gsitemap_order int(3) NOT NULL default '0', + gsitemap_img varchar(50) NOT NULL default '', + gsitemap_active int(3) NOT NULL default '0', + PRIMARY KEY (gsitemap_id) +) ENGINE=MyISAM; \ No newline at end of file diff --git a/e107_plugins/links_page/links_page_sql.php b/e107_plugins/links_page/links_page_sql.php index abe5db15a..90b55e973 100644 --- a/e107_plugins/links_page/links_page_sql.php +++ b/e107_plugins/links_page/links_page_sql.php @@ -28,7 +28,7 @@ CREATE TABLE links_page_cat ( link_category_class varchar(100) NOT NULL default '0', link_category_datestamp int(10) unsigned NOT NULL default '0', PRIMARY KEY (link_category_id) -) TYPE=MyISAM; +) ENGINE=MyISAM; # -------------------------------------------------------- # Table structure for table `links_page` @@ -47,5 +47,5 @@ CREATE TABLE links_page ( link_datestamp int(10) unsigned NOT NULL default '0', link_author varchar(255) NOT NULL default '', PRIMARY KEY (link_id) -) TYPE=MyISAM; +) ENGINE=MyISAM; # -------------------------------------------------------- diff --git a/e107_plugins/linkwords/linkwords_sql.php b/e107_plugins/linkwords/linkwords_sql.php index 84a4eb810..0def55f30 100644 --- a/e107_plugins/linkwords/linkwords_sql.php +++ b/e107_plugins/linkwords/linkwords_sql.php @@ -1,10 +1,10 @@ -CREATE TABLE linkwords ( -linkword_id int(10) UNSIGNED NOT NULL auto_increment, -linkword_active tinyint(1) unsigned NOT NULL default '0', -linkword_word varchar(100) NOT NULL default '', -linkword_link varchar(250) NOT NULL default '', -linkword_tooltip text NOT NULL, -linkword_tip_id int(10) UNSIGNED NOT NULL Default '0', -linkword_newwindow tinyint(1) unsigned NOT NULL default '1', -PRIMARY KEY (linkword_id) -) TYPE=MyISAM AUTO_INCREMENT=1; \ No newline at end of file +CREATE TABLE linkwords ( +linkword_id int(10) UNSIGNED NOT NULL auto_increment, +linkword_active tinyint(1) unsigned NOT NULL default '0', +linkword_word varchar(100) NOT NULL default '', +linkword_link varchar(250) NOT NULL default '', +linkword_tooltip text NOT NULL, +linkword_tip_id int(10) UNSIGNED NOT NULL Default '0', +linkword_newwindow tinyint(1) unsigned NOT NULL default '1', +PRIMARY KEY (linkword_id) +) ENGINE=MyISAM AUTO_INCREMENT=1; \ No newline at end of file diff --git a/e107_plugins/log/log_sql.php b/e107_plugins/log/log_sql.php index 8a49db937..0adf29e14 100644 --- a/e107_plugins/log/log_sql.php +++ b/e107_plugins/log/log_sql.php @@ -1,7 +1,7 @@ -CREATE TABLE logstats ( - log_uniqueid int(11) NOT NULL auto_increment, - log_id varchar(50) NOT NULL default '', - log_data longtext NOT NULL, - PRIMARY KEY (log_uniqueid), - UNIQUE KEY log_id (log_id) -) TYPE=MyISAM; \ No newline at end of file +CREATE TABLE logstats ( + log_uniqueid int(11) NOT NULL auto_increment, + log_id varchar(50) NOT NULL default '', + log_data longtext NOT NULL, + PRIMARY KEY (log_uniqueid), + UNIQUE KEY log_id (log_id) +) ENGINE=MyISAM; \ No newline at end of file diff --git a/e107_plugins/newsfeed/newsfeed_sql.php b/e107_plugins/newsfeed/newsfeed_sql.php index a37d196e5..fcd7f6603 100644 --- a/e107_plugins/newsfeed/newsfeed_sql.php +++ b/e107_plugins/newsfeed/newsfeed_sql.php @@ -1,12 +1,12 @@ -CREATE TABLE newsfeed ( - newsfeed_id int(10) unsigned NOT NULL auto_increment, - newsfeed_name varchar(150) NOT NULL default '', - newsfeed_url varchar(250) NOT NULL default '', - newsfeed_data longtext NOT NULL, - newsfeed_timestamp int(10) unsigned NOT NULL default '0', - newsfeed_description text NOT NULL, - newsfeed_image varchar(100) NOT NULL default '', - newsfeed_active tinyint(1) unsigned NOT NULL default '0', - newsfeed_updateint int(10) unsigned NOT NULL default '0', - PRIMARY KEY (newsfeed_id) -) TYPE=MyISAM; +CREATE TABLE newsfeed ( + newsfeed_id int(10) unsigned NOT NULL auto_increment, + newsfeed_name varchar(150) NOT NULL default '', + newsfeed_url varchar(250) NOT NULL default '', + newsfeed_data longtext NOT NULL, + newsfeed_timestamp int(10) unsigned NOT NULL default '0', + newsfeed_description text NOT NULL, + newsfeed_image varchar(100) NOT NULL default '', + newsfeed_active tinyint(1) unsigned NOT NULL default '0', + newsfeed_updateint int(10) unsigned NOT NULL default '0', + PRIMARY KEY (newsfeed_id) +) ENGINE=MyISAM; diff --git a/e107_plugins/newsletter/newsletter_sql.php b/e107_plugins/newsletter/newsletter_sql.php index e23a16de1..34dab792b 100644 --- a/e107_plugins/newsletter/newsletter_sql.php +++ b/e107_plugins/newsletter/newsletter_sql.php @@ -1,13 +1,13 @@ -CREATE TABLE newsletter ( - newsletter_id int(10) unsigned NOT NULL auto_increment, - newsletter_datestamp int(10) unsigned NOT NULL, - newsletter_title varchar(200) NOT NULL, - newsletter_text text NOT NULL, - newsletter_header text NOT NULL, - newsletter_footer text NOT NULL, - newsletter_subscribers text NOT NULL, - newsletter_parent int(11) NOT NULL, - newsletter_flag tinyint(4) NOT NULL, - newsletter_issue varchar(100) NOT NULL, - PRIMARY KEY (newsletter_id) -) TYPE=MyISAM; \ No newline at end of file +CREATE TABLE newsletter ( + newsletter_id int(10) unsigned NOT NULL auto_increment, + newsletter_datestamp int(10) unsigned NOT NULL, + newsletter_title varchar(200) NOT NULL, + newsletter_text text NOT NULL, + newsletter_header text NOT NULL, + newsletter_footer text NOT NULL, + newsletter_subscribers text NOT NULL, + newsletter_parent int(11) NOT NULL, + newsletter_flag tinyint(4) NOT NULL, + newsletter_issue varchar(100) NOT NULL, + PRIMARY KEY (newsletter_id) +) ENGINE=MyISAM; \ No newline at end of file diff --git a/e107_plugins/pm/pm_sql.php b/e107_plugins/pm/pm_sql.php index 6030e7fc2..a3467c315 100755 --- a/e107_plugins/pm/pm_sql.php +++ b/e107_plugins/pm/pm_sql.php @@ -1,24 +1,24 @@ -CREATE TABLE private_msg ( - pm_id int(10) unsigned NOT NULL auto_increment, - pm_from int(10) unsigned NOT NULL default '0', - pm_to varchar(250) NOT NULL default '', - pm_sent int(10) unsigned NOT NULL default '0', /* Date sent */ - pm_read int(10) unsigned NOT NULL default '0', /* Date read */ - pm_subject text NOT NULL, - pm_text text NOT NULL, - pm_sent_del tinyint(1) unsigned NOT NULL default '0', /* Set when can delete */ - pm_read_del tinyint(1) unsigned NOT NULL default '0', /* set when can delete */ - pm_attachments text NOT NULL, - pm_option varchar(250) NOT NULL default '', /* Options associated with PM - '+rr' for read receipt */ - pm_size int(10) unsigned NOT NULL default '0', - PRIMARY KEY (pm_id) -) TYPE=MyISAM AUTO_INCREMENT=1 ; - -CREATE TABLE private_msg_block ( - pm_block_id int(10) unsigned NOT NULL auto_increment, - pm_block_from int(10) unsigned NOT NULL default '0', - pm_block_to int(10) unsigned NOT NULL default '0', - pm_block_datestamp int(10) unsigned NOT NULL default '0', - pm_block_count int(10) unsigned NOT NULL default '0', /* Counts number of blocked PMs */ - PRIMARY KEY (pm_block_id) -) TYPE=MyISAM AUTO_INCREMENT=1 ; +CREATE TABLE private_msg ( + pm_id int(10) unsigned NOT NULL auto_increment, + pm_from int(10) unsigned NOT NULL default '0', + pm_to varchar(250) NOT NULL default '', + pm_sent int(10) unsigned NOT NULL default '0', /* Date sent */ + pm_read int(10) unsigned NOT NULL default '0', /* Date read */ + pm_subject text NOT NULL, + pm_text text NOT NULL, + pm_sent_del tinyint(1) unsigned NOT NULL default '0', /* Set when can delete */ + pm_read_del tinyint(1) unsigned NOT NULL default '0', /* set when can delete */ + pm_attachments text NOT NULL, + pm_option varchar(250) NOT NULL default '', /* Options associated with PM - '+rr' for read receipt */ + pm_size int(10) unsigned NOT NULL default '0', + PRIMARY KEY (pm_id) +) ENGINE=MyISAM AUTO_INCREMENT=1 ; + +CREATE TABLE private_msg_block ( + pm_block_id int(10) unsigned NOT NULL auto_increment, + pm_block_from int(10) unsigned NOT NULL default '0', + pm_block_to int(10) unsigned NOT NULL default '0', + pm_block_datestamp int(10) unsigned NOT NULL default '0', + pm_block_count int(10) unsigned NOT NULL default '0', /* Counts number of blocked PMs */ + PRIMARY KEY (pm_block_id) +) ENGINE=MyISAM AUTO_INCREMENT=1 ; diff --git a/e107_plugins/poll/poll_sql.php b/e107_plugins/poll/poll_sql.php index 6adaf8d79..96f02f44d 100644 --- a/e107_plugins/poll/poll_sql.php +++ b/e107_plugins/poll/poll_sql.php @@ -1,18 +1,18 @@ -CREATE TABLE polls ( - poll_id int(10) unsigned NOT NULL auto_increment, - poll_datestamp int(10) unsigned NOT NULL default '0', - poll_start_datestamp int(10) unsigned NOT NULL default '0', - poll_end_datestamp int(10) unsigned NOT NULL default '0', - poll_admin_id int(10) unsigned NOT NULL default '0', - poll_title varchar(250) NOT NULL default '', - poll_options text NOT NULL, - poll_votes text NOT NULL, - poll_ip text NOT NULL, - poll_type tinyint(1) unsigned NOT NULL default '0', - poll_comment tinyint(1) unsigned NOT NULL default '1', - poll_allow_multiple tinyint(1) unsigned NOT NULL default '0', - poll_result_type tinyint(2) unsigned NOT NULL default '0', - poll_vote_userclass smallint(5) unsigned NOT NULL default '0', - poll_storage_method tinyint(1) unsigned NOT NULL default '0', - PRIMARY KEY (poll_id) -) TYPE=MyISAM; \ No newline at end of file +CREATE TABLE polls ( + poll_id int(10) unsigned NOT NULL auto_increment, + poll_datestamp int(10) unsigned NOT NULL default '0', + poll_start_datestamp int(10) unsigned NOT NULL default '0', + poll_end_datestamp int(10) unsigned NOT NULL default '0', + poll_admin_id int(10) unsigned NOT NULL default '0', + poll_title varchar(250) NOT NULL default '', + poll_options text NOT NULL, + poll_votes text NOT NULL, + poll_ip text NOT NULL, + poll_type tinyint(1) unsigned NOT NULL default '0', + poll_comment tinyint(1) unsigned NOT NULL default '1', + poll_allow_multiple tinyint(1) unsigned NOT NULL default '0', + poll_result_type tinyint(2) unsigned NOT NULL default '0', + poll_vote_userclass smallint(5) unsigned NOT NULL default '0', + poll_storage_method tinyint(1) unsigned NOT NULL default '0', + PRIMARY KEY (poll_id) +) ENGINE=MyISAM; \ No newline at end of file diff --git a/e107_plugins/release/release_sql.php b/e107_plugins/release/release_sql.php index 929d699e5..ebf2254d1 100644 --- a/e107_plugins/release/release_sql.php +++ b/e107_plugins/release/release_sql.php @@ -1,13 +1,13 @@ -CREATE TABLE release ( - `release_id` int(10) NOT NULL AUTO_INCREMENT, - `release_type` varchar(10) NOT NULL, - `release_name` varchar(50) NOT NULL, - `release_folder` varchar(50) NOT NULL, - `release_version` varchar(5) NOT NULL, - `release_author` varchar(50) NOT NULL, - `release_authorURL` varchar(255) NOT NULL, - `release_date` int(10) NOT NULL, - `release_compatibility` varchar(5) NOT NULL, - `release_url` varchar(255) NOT NULL, - PRIMARY KEY (`release_id`) -) TYPE=MyISAM; +CREATE TABLE release ( + `release_id` int(10) NOT NULL AUTO_INCREMENT, + `release_type` varchar(10) NOT NULL, + `release_name` varchar(50) NOT NULL, + `release_folder` varchar(50) NOT NULL, + `release_version` varchar(5) NOT NULL, + `release_author` varchar(50) NOT NULL, + `release_authorURL` varchar(255) NOT NULL, + `release_date` int(10) NOT NULL, + `release_compatibility` varchar(5) NOT NULL, + `release_url` varchar(255) NOT NULL, + PRIMARY KEY (`release_id`) +) ENGINE=MyISAM; diff --git a/e107_plugins/rss_menu/rss_sql.php b/e107_plugins/rss_menu/rss_sql.php index e07d9bfc3..2686a8c33 100644 --- a/e107_plugins/rss_menu/rss_sql.php +++ b/e107_plugins/rss_menu/rss_sql.php @@ -1,13 +1,13 @@ -CREATE TABLE rss ( - rss_id int(10) unsigned NOT NULL auto_increment, - rss_name varchar(255) NOT NULL default '', - rss_url text NOT NULL, - rss_topicid varchar(255) NOT NULL default '', - rss_path varchar(255) NOT NULL default '', - rss_text longtext NOT NULL, - rss_datestamp int(10) unsigned NOT NULL default '0', - rss_class tinyint(1) unsigned NOT NULL default '0', - rss_limit tinyint(3) unsigned NOT NULL default '0', - PRIMARY KEY (rss_id), - KEY rss_name (rss_name) -) TYPE=MyISAM; +CREATE TABLE rss ( + rss_id int(10) unsigned NOT NULL auto_increment, + rss_name varchar(255) NOT NULL default '', + rss_url text NOT NULL, + rss_topicid varchar(255) NOT NULL default '', + rss_path varchar(255) NOT NULL default '', + rss_text longtext NOT NULL, + rss_datestamp int(10) unsigned NOT NULL default '0', + rss_class tinyint(1) unsigned NOT NULL default '0', + rss_limit tinyint(3) unsigned NOT NULL default '0', + PRIMARY KEY (rss_id), + KEY rss_name (rss_name) +) ENGINE=MyISAM; diff --git a/e107_plugins/tagwords/tagwords_sql.php b/e107_plugins/tagwords/tagwords_sql.php index 05ac6c63d..e5d06acbd 100644 --- a/e107_plugins/tagwords/tagwords_sql.php +++ b/e107_plugins/tagwords/tagwords_sql.php @@ -1,8 +1,8 @@ -CREATE TABLE tagwords ( - `tag_id` int(10) unsigned NOT NULL auto_increment, - `tag_type` varchar(100) NOT NULL default '', - `tag_itemid` int(10) unsigned NOT NULL default '0', - `tag_word` varchar(255) NOT NULL default '', - PRIMARY KEY (`tag_id`), - KEY `tag_word` (`tag_word`) -) TYPE=MyISAM AUTO_INCREMENT=1; \ No newline at end of file +CREATE TABLE tagwords ( + `tag_id` int(10) unsigned NOT NULL auto_increment, + `tag_type` varchar(100) NOT NULL default '', + `tag_itemid` int(10) unsigned NOT NULL default '0', + `tag_word` varchar(255) NOT NULL default '', + PRIMARY KEY (`tag_id`), + KEY `tag_word` (`tag_word`) +) ENGINE=MyISAM AUTO_INCREMENT=1; \ No newline at end of file diff --git a/e107_plugins/tinymce/tinymce_sql.php b/e107_plugins/tinymce/tinymce_sql.php index 82b3a7899..c4341482b 100644 --- a/e107_plugins/tinymce/tinymce_sql.php +++ b/e107_plugins/tinymce/tinymce_sql.php @@ -1,15 +1,15 @@ -CREATE TABLE tinymce ( - `tinymce_id` int(5) NOT NULL AUTO_INCREMENT, - `tinymce_name` varchar(255) NOT NULL, - `tinymce_userclass` varchar(255) NOT NULL, - `tinymce_plugins` text NOT NULL, - `tinymce_buttons1` varchar(255) NOT NULL, - `tinymce_buttons2` varchar(255) NOT NULL, - `tinymce_buttons3` varchar(255) NOT NULL, - `tinymce_buttons4` varchar(255) NOT NULL, - `tinymce_custom` text NOT NULL, - `tinymce_prefs` text NOT NULL, - PRIMARY KEY (`tinymce_id`) -) TYPE=MyISAM; - - +CREATE TABLE tinymce ( + `tinymce_id` int(5) NOT NULL AUTO_INCREMENT, + `tinymce_name` varchar(255) NOT NULL, + `tinymce_userclass` varchar(255) NOT NULL, + `tinymce_plugins` text NOT NULL, + `tinymce_buttons1` varchar(255) NOT NULL, + `tinymce_buttons2` varchar(255) NOT NULL, + `tinymce_buttons3` varchar(255) NOT NULL, + `tinymce_buttons4` varchar(255) NOT NULL, + `tinymce_custom` text NOT NULL, + `tinymce_prefs` text NOT NULL, + PRIMARY KEY (`tinymce_id`) +) ENGINE=MyISAM; + + diff --git a/e107_plugins/trackback/trackback_sql.php b/e107_plugins/trackback/trackback_sql.php index 8c33205d9..0a4220c09 100644 --- a/e107_plugins/trackback/trackback_sql.php +++ b/e107_plugins/trackback/trackback_sql.php @@ -1,10 +1,10 @@ -CREATE TABLE trackback ( - `trackback_id` int(10) unsigned NOT NULL auto_increment, - `trackback_pid` int(10) unsigned NOT NULL default '0', - `trackback_title` varchar(200) NOT NULL default '', - `trackback_excerpt` varchar(250) NOT NULL default '', - `trackback_url` varchar(150) NOT NULL default '', - `trackback_blogname` varchar(150) NOT NULL default '', - PRIMARY KEY (`trackback_id`), - KEY `trackback_pid` (`trackback_pid`) -) TYPE=MyISAM AUTO_INCREMENT=1; +CREATE TABLE trackback ( + `trackback_id` int(10) unsigned NOT NULL auto_increment, + `trackback_pid` int(10) unsigned NOT NULL default '0', + `trackback_title` varchar(200) NOT NULL default '', + `trackback_excerpt` varchar(250) NOT NULL default '', + `trackback_url` varchar(150) NOT NULL default '', + `trackback_blogname` varchar(150) NOT NULL default '', + PRIMARY KEY (`trackback_id`), + KEY `trackback_pid` (`trackback_pid`) +) ENGINE=MyISAM AUTO_INCREMENT=1;