From c52c68f314c67c76c7181a6d0828f476290fbd66 Mon Sep 17 00:00:00 2001
From: Sean Dague
Date: Wed, 2 Apr 2008 15:24:31 +0000
Subject: whole lot more moving

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

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

diff --git a/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion2.sql b/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion2.sql
new file mode 100644
index 0000000..d1ef504
--- /dev/null
+++ b/OpenSim/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

