Improve upgrade

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@125 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
mensonge 2008-05-13 17:27:47 +00:00
parent 01ddabc893
commit 4ec8b47558
2 changed files with 10 additions and 1 deletions

View File

@ -33,7 +33,7 @@ CREATE TABLE `sc_tags` (
`tag` varchar(32) NOT NULL default '', `tag` varchar(32) NOT NULL default '',
`uId` int(11) NOT NULL default '0', `uId` int(11) NOT NULL default '0',
`tDescription` varchar(255) default NULL, `tDescription` varchar(255) default NULL,
PRIMARY KEY (`id`), PRIMARY KEY (`tId`),
UNIQUE KEY `sc_tags_tag_uId` (`tag`, `uId`) UNIQUE KEY `sc_tags_tag_uId` (`tag`, `uId`)
); );

View File

@ -23,6 +23,15 @@
PRIMARY KEY (`shId`) 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 - Upgrade your current configuration file (config.inc.php) with respect to config.inc.php.example
- add line: - add line:
$sizeSearchHistory = 10; $sizeSearchHistory = 10;