e15b77aa6e
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@132 b3834d28-1941-0410-a4f8-b48e95affb8f
41 lines
1.4 KiB
Text
41 lines
1.4 KiB
Text
==== UPGRADE instructions ====
|
|
|
|
=== From version 0.88 to 0.89 ===
|
|
- Backup you database
|
|
- Make a copy from your SemanticScuttle Web directory
|
|
- Upgrade your database :
|
|
|
|
|
|
* change the table called 'sc_tags' into 'sc_bookmarks2tags' by executing the following SQL commands (after changing 'yourdatabasename' and adapting its name prefix 'sc_' to your convenience):
|
|
|
|
RENAME TABLE `yourdatabasename`.`sc_tags` TO `yourdatabasename`.`sc_bookmarks2tags` ;
|
|
|
|
|
|
* add the following table (adapt its name prefix to your convenience) executing the following SQL commands:
|
|
|
|
CREATE TABLE `sc_searchhistory` (
|
|
`shId` int(11) NOT NULL auto_increment,
|
|
`shTerms` varchar(255) NOT NULL default '',
|
|
`shRange` varchar(32) NOT NULL default '',
|
|
`shDatetime` datetime NOT NULL default '0000-00-00 00:00:00',
|
|
`shNbResults` int(6) NOT NULL default '0',
|
|
`uId` int(11) NOT NULL default '0',
|
|
PRIMARY KEY (`shId`)
|
|
);
|
|
|
|
CREATE TABLE `sc_tags` (
|
|
`tId` int(11) NOT NULL auto_increment,
|
|
`tag` varchar(32) NOT NULL default '',
|
|
`uId` int(11) NOT NULL default '0',
|
|
`tDescription` varchar(255) default NULL,
|
|
PRIMARY KEY (`tId`),
|
|
UNIQUE KEY `sc_tags_tag_uId` (`tag`, `uId`)
|
|
);
|
|
|
|
- Upgrade your current configuration file (config.inc.php) with respect to config.inc.php.example
|
|
- add line:
|
|
$sizeSearchHistory = 10;
|
|
- add sidebar block index line:
|
|
$index_sidebar_blocks = array('search','menu','users','popular');
|
|
|
|
|