Improve upgrade
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@125 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
01ddabc893
commit
4ec8b47558
2 changed files with 10 additions and 1 deletions
|
@ -33,7 +33,7 @@ CREATE TABLE `sc_tags` (
|
|||
`tag` varchar(32) NOT NULL default '',
|
||||
`uId` int(11) NOT NULL default '0',
|
||||
`tDescription` varchar(255) default NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
PRIMARY KEY (`tId`),
|
||||
UNIQUE KEY `sc_tags_tag_uId` (`tag`, `uId`)
|
||||
);
|
||||
|
||||
|
|
|
@ -23,6 +23,15 @@
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue