aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-05-01 12:33:05 +0000
committerJustin Clarke Casey2008-05-01 12:33:05 +0000
commit6e9042c3d34f5e7169eac146b48eec8fe0b406cb (patch)
tree7bbc231651f6a80dd953972edaec6c4c9888478b /OpenSim/Data/MySQL
parent* Applying Mantis#1097 - Thanks Xantor! (diff)
downloadopensim-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 'OpenSim/Data/MySQL')
-rw-r--r--OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql10
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 @@
1ALTER TABLE `inventoryitems` 1ALTER 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,
8COMMENT='Rev. 3'; 8COMMENT='Rev. 3';