[AppDB] vendor: Rename 'queued' to 'state'

Alexander Nicolaysen Sørnes alex at thehandofagony.com
Wed Dec 12 12:04:47 CST 2007


While we're at it, make it private and add a objectGetState()


The following SQL commands are required

ALTER TABLE vendor ADD state ENUM( 'accepted', 'queued', 'deleted' ) NOT NULL 
DEFAULT 'accepted';

UPDATE vendor SET state = 'accepted' WHERE queued = 'false'

UPDATE vendor SET state = 'queued' WHERE queued = 'true'

ALTER TABLE vendor DROP queued



Alexander N. Sørnes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-vendor-Rename-queued-to-state.patch
Type: text/x-diff
Size: 4100 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071212/452f7ad1/attachment.patch 


More information about the wine-patches mailing list