From f13611bbc91127ae573155b7dd490284614a0e2c Mon Sep 17 00:00:00 2001
From: MW
Date: Mon, 8 Oct 2007 16:42:05 +0000
Subject: The files that I missed from Tleiades patch.

---
 .../Data.MySQL/Resources/UpgradeItemsTableToVersion2.sql         | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 OpenSim/Framework/Data.MySQL/Resources/UpgradeItemsTableToVersion2.sql

(limited to 'OpenSim/Framework/Data.MySQL/Resources/UpgradeItemsTableToVersion2.sql')

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 @@
+ALTER TABLE `inventoryitems` 
+	CHANGE COLUMN `type` `assetType` int(11) default NULL,
+	ADD COLUMN `invType` int(11) default NULL,
+	ADD COLUMN `creatorID` varchar(36) default NULL,
+	ADD COLUMN `inventoryBasePermissions` int(10) unsigned NOT NULL default 0,
+	ADD COLUMN `inventoryEveryOnePermissions` int(10) unsigned NOT NULL default 0,
+COMMENT='Rev. 2';
+
+UPDATE `inventoryitems` SET invType=assetType;
-- 
cgit v1.1

