diff options
author | Sean Dague | 2008-04-02 15:24:31 +0000 |
---|---|---|
committer | Sean Dague | 2008-04-02 15:24:31 +0000 |
commit | c52c68f314c67c76c7181a6d0828f476290fbd66 (patch) | |
tree | 66ab347502892902a096fa985f31b25738eb1381 /OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion2.sql | |
parent | reorganizing namespaces to put all the Data stuff into it's own namespace (diff) | |
download | opensim-SC_OLD-c52c68f314c67c76c7181a6d0828f476290fbd66.zip opensim-SC_OLD-c52c68f314c67c76c7181a6d0828f476290fbd66.tar.gz opensim-SC_OLD-c52c68f314c67c76c7181a6d0828f476290fbd66.tar.bz2 opensim-SC_OLD-c52c68f314c67c76c7181a6d0828f476290fbd66.tar.xz |
whole lot more moving
Diffstat (limited to 'OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion2.sql')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion2.sql | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ | |||
1 | ALTER 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, | ||
7 | COMMENT='Rev. 2'; | ||
8 | |||
9 | UPDATE `inventoryitems` SET invType=assetType; | ||