diff --git a/e107_admin/sql/core_sql.php b/e107_admin/sql/core_sql.php index bc45b0e8a..13fe1729f 100644 --- a/e107_admin/sql/core_sql.php +++ b/e107_admin/sql/core_sql.php @@ -1,21 +1,19 @@ @@ -307,6 +305,8 @@ CREATE TABLE news ( news_title varchar(200) NOT NULL default '', news_body text NOT NULL, news_extended text NOT NULL, + news_meta_keywords varchar(255) NOT NULL default '', + news_meta_description text NOT NULL, news_datestamp int(10) unsigned NOT NULL default '0', news_author int(10) unsigned NOT NULL default '0', news_category tinyint(3) unsigned NOT NULL default '0', @@ -319,13 +319,16 @@ CREATE TABLE news ( news_summary text NOT NULL, news_thumbnail text NOT NULL, news_sticky tinyint(3) unsigned NOT NULL default '0', - PRIMARY KEY (news_id) + PRIMARY KEY (news_id), + KEY news_category (news_category), + KEY news_start_end (news_start,news_end), + KEY news_datestamp (news_datestamp), + KEY news_sticky (news_sticky), + FULLTEXT KEY news_class (news_class), + KEY news_render_type (news_render_type) ) TYPE=MyISAM; - - - # -------------------------------------------------------- # @@ -333,10 +336,30 @@ CREATE TABLE news ( # CREATE TABLE news_category ( - category_id int(10) unsigned NOT NULL auto_increment, + category_id tinyint(3) unsigned NOT NULL auto_increment, category_name varchar(200) NOT NULL default '', + category_meta_description text NOT NULL, + category_meta_keywords varchar(255) NOT NULL default '', + category_manager tinyint(3) unsigned NOT NULL default '254', category_icon varchar(250) NOT NULL default '', - PRIMARY KEY (category_id) + category_order tinyint(3) unsigned NOT NULL default '0', + PRIMARY KEY (category_id), + KEY category_order (category_order) +) TYPE=MyISAM; +# -------------------------------------------------------- + +# +# Table structure for table `news_rewrite` +# + +CREATE TABLE news_rewrite ( + news_rewrite_id int(10) unsigned NOT NULL auto_increment, + news_rewrite_source int(10) unsigned NOT NULL, + news_rewrite_string varchar(255) NOT NULL default '', + news_rewrite_type tinyint(1) unsigned NOT NULL default '1', + PRIMARY KEY (news_rewrite_id), + FULLTEXT KEY news_rewrite_string (news_rewrite_string), + KEY news_rewrite_type (news_rewrite_type) ) TYPE=MyISAM; # --------------------------------------------------------