]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
voting table
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Fri, 23 Oct 2009 16:53:18 +0000 (16:53 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Fri, 23 Oct 2009 16:53:18 +0000 (16:53 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@392 b3834d28-1941-0410-a4f8-b48e95affb8f

data/tables.sql

index ed4d6ba04201bc8ecc27824ecb8887407e2a55b0..eed7269dd155e646ae231729727e62b43ff77199 100644 (file)
@@ -170,3 +170,13 @@ CREATE TABLE `sc_searchhistory` (
   `uId` int(11) NOT NULL default '0',
   PRIMARY KEY (`shId`)
 ) CHARACTER SET utf8 COLLATE utf8_general_ci ;
+
+
+CREATE TABLE `sc_votes` (
+  `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`)
+) CHARACTER SET utf8 COLLATE utf8_general_ci ;
\ No newline at end of file