mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Bugtracker #4610 - add index to content table
This commit is contained in:
@@ -11,12 +11,24 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_admin/update_routines.php,v $
|
||||
| $Revision: 1.74 $
|
||||
| $Date: 2009-12-28 17:53:10 $
|
||||
| $Revision: 1.75 $
|
||||
| $Date: 2009-12-28 22:40:37 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
/**
|
||||
* @package e107
|
||||
* @subpackage admin
|
||||
* @version $Id: update_routines.php,v 1.75 2009-12-28 22:40:37 e107steved Exp $;
|
||||
*
|
||||
* Update routines from older e107 versions to current.
|
||||
*
|
||||
* Also links to plugin update routines.
|
||||
*
|
||||
* 2-stage process - routines identify whether update is required, and then execute as instructed.
|
||||
*/
|
||||
|
||||
// [debug=8] shows the operations on major table update
|
||||
|
||||
require_once('../class2.php');
|
||||
@@ -275,7 +287,8 @@ function update_706_to_800($type='')
|
||||
$pluginChangedTables = array('linkwords' => 'linkwords',
|
||||
'featurebox' => 'featurebox',
|
||||
'links_page' => 'links_page',
|
||||
'poll' => 'polls'
|
||||
'poll' => 'polls',
|
||||
'content' => 'pcontent'
|
||||
);
|
||||
|
||||
$setCorePrefs = array( //modified prefs during upgrade.
|
||||
|
@@ -6,15 +6,24 @@
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
*
|
||||
* Database structure for content management plugin
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/content/content_sql.php,v $
|
||||
* $Revision: 1.3 $
|
||||
* $Date: 2009-11-18 01:05:28 $
|
||||
* $Author: e107coders $
|
||||
* $Revision: 1.4 $
|
||||
* $Date: 2009-12-28 22:40:38 $
|
||||
* $Author: e107steved $
|
||||
*/
|
||||
|
||||
header("location:../index.php");
|
||||
|
||||
/**
|
||||
* @package e107_plugins
|
||||
* @subpackage content_management
|
||||
* @version $Id: content_sql.php,v 1.4 2009-12-28 22:40:38 e107steved Exp $;
|
||||
*
|
||||
* Database structure for content management plugin
|
||||
*/
|
||||
|
||||
header('location:../index.php');
|
||||
exit;
|
||||
?>
|
||||
# Table structure for table `content`
|
||||
@@ -43,7 +52,8 @@ CREATE TABLE pcontent (
|
||||
content_score tinyint(3) unsigned NOT NULL default '0',
|
||||
content_meta text NOT NULL,
|
||||
content_layout varchar(255) NOT NULL default '',
|
||||
PRIMARY KEY (content_id)
|
||||
PRIMARY KEY (content_id),
|
||||
KEY content_parent (content_parent)
|
||||
) TYPE=MyISAM;
|
||||
# --------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user