Permalink
Browse files

oops, forgot to update schema.sql at some earlier point

  • Loading branch information...
1 parent 519f64e commit 7734ce05bea8a89d1adddec4bb22e08b339d55f4 @cygri committed May 6, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 db_schema/schema.sql
View
@@ -48,9 +48,11 @@ CREATE TABLE `prefixcc_namespaces` (
`uri` varchar(100) character set utf8 collate utf8_bin NOT NULL,
`date` datetime NOT NULL,
`ip` varchar(15) NOT NULL,
- `votes` int(11) NOT NULL default '0',
+ `upvotes` int(11) NOT NULL default '0',
+ `downvotes` int(11) NOT NULL default '0',
PRIMARY KEY (`prefix`,`uri`),
- KEY `votes` (`votes`),
+ KEY `upvotes` (`upvotes`),
+ KEY `downvotes` (`downvotes`),
KEY `date` (`date`),
KEY `uri` (`uri`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

0 comments on commit 7734ce0

Please sign in to comment.