diff options
author | Justin Clarke Casey | 2008-05-01 12:33:05 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-05-01 12:33:05 +0000 |
commit | 6e9042c3d34f5e7169eac146b48eec8fe0b406cb (patch) | |
tree | 7bbc231651f6a80dd953972edaec6c4c9888478b | |
parent | * Applying Mantis#1097 - Thanks Xantor! (diff) | |
download | opensim-SC_OLD-6e9042c3d34f5e7169eac146b48eec8fe0b406cb.zip opensim-SC_OLD-6e9042c3d34f5e7169eac146b48eec8fe0b406cb.tar.gz opensim-SC_OLD-6e9042c3d34f5e7169eac146b48eec8fe0b406cb.tar.bz2 opensim-SC_OLD-6e9042c3d34f5e7169eac146b48eec8fe0b406cb.tar.xz |
* Change mysql inventory items table version 3 upgrade sql to provide explicit default values
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql b/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql index 2b3b1f7..5bd6994 100644 --- a/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql +++ b/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql | |||
@@ -1,8 +1,8 @@ | |||
1 | ALTER TABLE `inventoryitems` | 1 | ALTER TABLE `inventoryitems` |
2 | ADD COLUMN `salePrice` int(11) NOT NULL, | 2 | ADD COLUMN `salePrice` int(11) NOT NULL default 0, |
3 | ADD COLUMN `saleType` tinyint(4) NOT NULL, | 3 | ADD COLUMN `saleType` tinyint(4) NOT NULL default 0, |
4 | ADD COLUMN `creationDate` int(11) NOT NULL, | 4 | ADD COLUMN `creationDate` int(11) NOT NULL default 3000, |
5 | ADD COLUMN `groupID` varchar(36) NOT NULL default '00000000-0000-0000-0000-000000000000', | 5 | ADD COLUMN `groupID` varchar(36) NOT NULL default '00000000-0000-0000-0000-000000000000', |
6 | ADD COLUMN `groupOwned` tinyint(4) NOT NULL, | 6 | ADD COLUMN `groupOwned` tinyint(4) NOT NULL default 0, |
7 | ADD COLUMN `flags` int(11) unsigned NOT NULL, | 7 | ADD COLUMN `flags` int(11) unsigned NOT NULL default 0, |
8 | COMMENT='Rev. 3'; | 8 | COMMENT='Rev. 3'; |