From: cweiske Date: Wed, 28 Oct 2009 22:24:06 +0000 (+0000) Subject: rename vote table columns X-Git-Tag: v0.97~238 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0fcbe3158d60813b8787b9e6663550af5d868d5c;p=semanticscuttle.git rename vote table columns git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@456 b3834d28-1941-0410-a4f8-b48e95affb8f --- diff --git a/data/tables.sql b/data/tables.sql index fab7162..9f94d3b 100644 --- a/data/tables.sql +++ b/data/tables.sql @@ -174,10 +174,10 @@ CREATE TABLE `sc_searchhistory` ( CREATE TABLE `sc_votes` ( - `bid` INT NOT NULL , - `uid` INT NOT NULL , + `bId` INT NOT NULL , + `uId` INT NOT NULL , `vote` INT( 2 ) NOT NULL , - UNIQUE KEY `bid_2` (`bid`,`uid`), - KEY `bid` (`bid`), - KEY `uid` (`uid`) + UNIQUE KEY `bid_2` (`bId`,`uId`), + KEY `bid` (`bId`), + KEY `uid` (`uId`) ) CHARACTER SET utf8 COLLATE utf8_general_ci ; \ No newline at end of file