1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

temporary fix

This commit is contained in:
CaMer0n
2009-09-10 09:39:05 +00:00
parent 27de157ad4
commit 4011d77fe1

View File

@@ -1,21 +1,19 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system *
| * Copyright (C) 2001-2008 e107 Inc (e107.org)
| <20>Steve Dunstan 2001-2002 * Released under the terms and conditions of the
| http://e107.org * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| jalist@e107.org *
| * Core SQL
| Released under the terms and conditions of the *
| GNU General Public License (http://gnu.org). * $Source: /cvs_backup/e107_0.8/e107_admin/sql/core_sql.php,v $
| * $Revision: 1.22 $
| $Source: /cvs_backup/e107_0.8/e107_admin/sql/core_sql.php,v $ * $Date: 2009-09-10 09:39:05 $
| $Revision: 1.21 $ * $Author: e107coders $
| $Date: 2009-08-17 18:42:21 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/ */
header("location:../index.php"); header("location:../index.php");
exit; exit;
?> ?>
@@ -307,6 +305,8 @@ CREATE TABLE news (
news_title varchar(200) NOT NULL default '', news_title varchar(200) NOT NULL default '',
news_body text NOT NULL, news_body text NOT NULL,
news_extended 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_datestamp int(10) unsigned NOT NULL default '0',
news_author 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', news_category tinyint(3) unsigned NOT NULL default '0',
@@ -319,13 +319,16 @@ CREATE TABLE news (
news_summary text NOT NULL, news_summary text NOT NULL,
news_thumbnail text NOT NULL, news_thumbnail text NOT NULL,
news_sticky tinyint(3) unsigned NOT NULL default '0', 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; ) TYPE=MyISAM;
# -------------------------------------------------------- # --------------------------------------------------------
# #
@@ -333,10 +336,30 @@ CREATE TABLE news (
# #
CREATE TABLE news_category ( 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_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 '', 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; ) TYPE=MyISAM;
# -------------------------------------------------------- # --------------------------------------------------------