[AppDB] Make votes version specific

Alexander Nicolaysen Sørnes alex at thehandofagony.com
Sat Jan 20 19:03:55 CST 2007


Make votes version specific.  This has the downside of deleting all previous 
votes, but I think it an acceptable price to pay.


The following SQL commands must be run
ALTER TABLE appVotes CHANGE appId versionId INT(11) NOT NULL DEFAULT 0

TRUNCATE TABLE appVotes

ALTER TABLE appVotes DROP INDEX appId,
ADD INDEX versionId (versionId)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vote-version.diff
Type: text/x-diff
Size: 17063 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070121/68820491/vote-version-0001.bin


More information about the wine-patches mailing list