aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MySQL/Resources/UpgradeItemsTableToVersion2.sql
diff options
context:
space:
mode:
authorMW2007-10-08 16:42:05 +0000
committerMW2007-10-08 16:42:05 +0000
commitf13611bbc91127ae573155b7dd490284614a0e2c (patch)
treea60e23b4435831376907b9b82f30d07ddc717218 /OpenSim/Framework/Data.MySQL/Resources/UpgradeItemsTableToVersion2.sql
parentApplied patch 485, inventory patch from tleiades (thanks again). (diff)
downloadopensim-SC-f13611bbc91127ae573155b7dd490284614a0e2c.zip
opensim-SC-f13611bbc91127ae573155b7dd490284614a0e2c.tar.gz
opensim-SC-f13611bbc91127ae573155b7dd490284614a0e2c.tar.bz2
opensim-SC-f13611bbc91127ae573155b7dd490284614a0e2c.tar.xz
The files that I missed from Tleiades patch.
Diffstat (limited to 'OpenSim/Framework/Data.MySQL/Resources/UpgradeItemsTableToVersion2.sql')
-rw-r--r--OpenSim/Framework/Data.MySQL/Resources/UpgradeItemsTableToVersion2.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Framework/Data.MySQL/Resources/UpgradeItemsTableToVersion2.sql b/OpenSim/Framework/Data.MySQL/Resources/UpgradeItemsTableToVersion2.sql
new file mode 100644
index 0000000..c47786c
--- /dev/null
+++ b/OpenSim/Framework/Data.MySQL/Resources/UpgradeItemsTableToVersion2.sql
@@ -0,0 +1,9 @@
1ALTER TABLE `inventoryitems`
2 CHANGE COLUMN `type` `assetType` int(11) default NULL,
3 ADD COLUMN `invType` int(11) default NULL,
4 ADD COLUMN `creatorID` varchar(36) default NULL,
5 ADD COLUMN `inventoryBasePermissions` int(10) unsigned NOT NULL default 0,
6 ADD COLUMN `inventoryEveryOnePermissions` int(10) unsigned NOT NULL default 0,
7COMMENT='Rev. 2';
8
9UPDATE `inventoryitems` SET invType=assetType;