mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
Remove 'downloads' from the core sql table, and more installation fixes.
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
* Core SQL
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_admin/sql/core_sql.php,v $
|
||||
* $Revision: 1.25 $
|
||||
* $Date: 2009-09-14 20:21:06 $
|
||||
* $Author: secretr $
|
||||
* $Revision: 1.26 $
|
||||
* $Date: 2009-09-17 01:47:19 $
|
||||
* $Author: e107coders $
|
||||
*/
|
||||
|
||||
header("location:../index.php");
|
||||
@@ -164,84 +164,6 @@ CREATE TABLE dblog (
|
||||
|
||||
# --------------------------------------------------------
|
||||
|
||||
#
|
||||
# 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 `generic`
|
||||
#
|
||||
@@ -418,7 +340,7 @@ CREATE TABLE plugin (
|
||||
# --------------------------------------------------------
|
||||
|
||||
#
|
||||
# Table structure for table `rate`
|
||||
# Table structure for table `preset`
|
||||
#
|
||||
|
||||
CREATE TABLE preset (
|
||||
@@ -446,19 +368,6 @@ CREATE TABLE rate (
|
||||
) TYPE=MyISAM;
|
||||
# --------------------------------------------------------
|
||||
|
||||
#
|
||||
# Table structure for table `rbinary`
|
||||
#
|
||||
|
||||
CREATE TABLE rbinary (
|
||||
binary_id int(10) unsigned NOT NULL auto_increment,
|
||||
binary_name varchar(200) NOT NULL default '',
|
||||
binary_filetype varchar(100) NOT NULL default '',
|
||||
binary_data longblob NOT NULL,
|
||||
PRIMARY KEY (binary_id)
|
||||
) TYPE=MyISAM;
|
||||
# --------------------------------------------------------
|
||||
|
||||
#
|
||||
# Table structure for table `session`
|
||||
#
|
||||
|
Reference in New Issue
Block a user