* Change mysql inventory items table version 3 upgrade sql to provide explicit default values

0.6.0-stable
Justin Clarke Casey 2008-05-01 12:33:05 +00:00
parent 7bcdec4e8f
commit 6e9042c3d3
1 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
ALTER TABLE `inventoryitems` ALTER TABLE `inventoryitems`
ADD COLUMN `salePrice` int(11) NOT NULL, ADD COLUMN `salePrice` int(11) NOT NULL default 0,
ADD COLUMN `saleType` tinyint(4) NOT NULL, ADD COLUMN `saleType` tinyint(4) NOT NULL default 0,
ADD COLUMN `creationDate` int(11) NOT NULL, ADD COLUMN `creationDate` int(11) NOT NULL default 3000,
ADD COLUMN `groupID` varchar(36) NOT NULL default '00000000-0000-0000-0000-000000000000', ADD COLUMN `groupID` varchar(36) NOT NULL default '00000000-0000-0000-0000-000000000000',
ADD COLUMN `groupOwned` tinyint(4) NOT NULL, ADD COLUMN `groupOwned` tinyint(4) NOT NULL default 0,
ADD COLUMN `flags` int(11) unsigned NOT NULL, ADD COLUMN `flags` int(11) unsigned NOT NULL default 0,
COMMENT='Rev. 3'; COMMENT='Rev. 3';