Interface fix: make longer descriptions fields

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@201 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
mensonge 2008-12-09 17:12:23 +00:00
parent c5fd601870
commit 37c58e490f

View file

@ -14,7 +14,7 @@ CREATE TABLE `sc_bookmarks` (
`bModified` datetime NOT NULL default '0000-00-00 00:00:00', `bModified` datetime NOT NULL default '0000-00-00 00:00:00',
`bTitle` varchar(255) NOT NULL default '', `bTitle` varchar(255) NOT NULL default '',
`bAddress` text NOT NULL, `bAddress` text NOT NULL,
`bDescription` varchar(255) default NULL, `bDescription` varchar(1500) default NULL,
`bHash` varchar(32) NOT NULL default '', `bHash` varchar(32) NOT NULL default '',
PRIMARY KEY (`bId`), PRIMARY KEY (`bId`),
KEY `sc_bookmarks_usd` (`uId`,`bStatus`,`bDatetime`), KEY `sc_bookmarks_usd` (`uId`,`bStatus`,`bDatetime`),
@ -32,7 +32,7 @@ CREATE TABLE `sc_tags` (
`tId` int(11) NOT NULL auto_increment, `tId` int(11) NOT NULL auto_increment,
`tag` varchar(100) NOT NULL default '', `tag` varchar(100) NOT NULL default '',
`uId` int(11) NOT NULL default '0', `uId` int(11) NOT NULL default '0',
`tDescription` varchar(255) default NULL, `tDescription` varchar(1500) default NULL,
PRIMARY KEY (`tId`), PRIMARY KEY (`tId`),
UNIQUE KEY `sc_tags_tag_uId` (`tag`, `uId`) UNIQUE KEY `sc_tags_tag_uId` (`tag`, `uId`)
); );
@ -131,7 +131,7 @@ CREATE TABLE `sc_commondescription` (
`tag` varchar(100) NOT NULL default '', `tag` varchar(100) NOT NULL default '',
`bHash` varchar(32) NOT NULL default '', `bHash` varchar(32) NOT NULL default '',
`cdTitle` varchar(255) NOT NULL default '', `cdTitle` varchar(255) NOT NULL default '',
`cdDescription` varchar(2000) default NULL, `cdDescription` varchar(1500) default NULL,
`cdDatetime` datetime NOT NULL default '0000-00-00 00:00:00', `cdDatetime` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`cdId`), PRIMARY KEY (`cdId`),
UNIQUE KEY `sc_commondescription_tag_datetime` (`tag`,`cdDatetime`), UNIQUE KEY `sc_commondescription_tag_datetime` (`tag`,`cdDatetime`),