aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-05-01 13:27:40 +0000
committerJustin Clarke Casey2008-05-01 13:27:40 +0000
commitd72bdf432a622f237b3030c1da9d1bccca20f83c (patch)
tree80b72df740a2858ac9ca8c3707ef45ff81488f67 /OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql
parent* Change mysql inventory items table version 3 upgrade sql to provide explici... (diff)
downloadopensim-SC_OLD-d72bdf432a622f237b3030c1da9d1bccca20f83c.zip
opensim-SC_OLD-d72bdf432a622f237b3030c1da9d1bccca20f83c.tar.gz
opensim-SC_OLD-d72bdf432a622f237b3030c1da9d1bccca20f83c.tar.bz2
opensim-SC_OLD-d72bdf432a622f237b3030c1da9d1bccca20f83c.tar.xz
* Align new fields upgrade sql to have the same 'not null' and default settings as when an inventoryitems table is newly created
* Normalize logging titles in database code, though this doesn't yet cover invoking code
Diffstat (limited to 'OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql')
-rw-r--r--OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql b/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql
index 5bd6994..b4108ab 100644
--- a/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql
+++ b/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql
@@ -1,7 +1,7 @@
1ALTER TABLE `inventoryitems` 1ALTER TABLE `inventoryitems`
2 ADD COLUMN `salePrice` int(11) NOT NULL default 0, 2 ADD COLUMN `salePrice` int(11) NOT NULL default 0,
3 ADD COLUMN `saleType` tinyint(4) NOT NULL default 0, 3 ADD COLUMN `saleType` tinyint(4) NOT NULL default 0,
4 ADD COLUMN `creationDate` int(11) NOT NULL default 3000, 4 ADD COLUMN `creationDate` int(11) NOT NULL default 0,
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 default 0, 6 ADD COLUMN `groupOwned` tinyint(4) NOT NULL default 0,
7 ADD COLUMN `flags` int(11) unsigned NOT NULL default 0, 7 ADD COLUMN `flags` int(11) unsigned NOT NULL default 0,