aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/Resources/002_XInventoryStore.sql
diff options
context:
space:
mode:
authorMelanie2010-05-03 01:40:24 +0100
committerMelanie2010-05-03 01:40:24 +0100
commit9f8acbfe3e6206893822bc3b7edbadbd7cae7a16 (patch)
treedd9485b0c6b4cbfa0399501f43d7d70d4ed438aa /OpenSim/Data/SQLite/Resources/002_XInventoryStore.sql
parentMake the IUserAccountData properly unpack the god mode data, so grid gods (diff)
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-9f8acbfe3e6206893822bc3b7edbadbd7cae7a16.zip
opensim-SC_OLD-9f8acbfe3e6206893822bc3b7edbadbd7cae7a16.tar.gz
opensim-SC_OLD-9f8acbfe3e6206893822bc3b7edbadbd7cae7a16.tar.bz2
opensim-SC_OLD-9f8acbfe3e6206893822bc3b7edbadbd7cae7a16.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Data/SQLite/Resources/002_XInventoryStore.sql')
-rw-r--r--OpenSim/Data/SQLite/Resources/002_XInventoryStore.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/Resources/002_XInventoryStore.sql b/OpenSim/Data/SQLite/Resources/002_XInventoryStore.sql
new file mode 100644
index 0000000..545d233
--- /dev/null
+++ b/OpenSim/Data/SQLite/Resources/002_XInventoryStore.sql
@@ -0,0 +1,9 @@
1BEGIN TRANSACTION;
2
3ATTACH 'inventoryStore.db' AS old;
4
5INSERT INTO inventoryfolders (folderName, type, version, folderID, agentID, parentFolderID) SELECT `name` AS folderName, `type` AS type, `version` AS version, `UUID` AS folderID, `agentID` AS agentID, `parentID` AS parentFolderID from old.inventoryfolders;
6
7INSERT INTO inventoryitems (assetID, assetType, inventoryName, inventoryDescription, inventoryNextPermissions, inventoryCurrentPermissions, invType, creatorID, inventoryBasePermissions, inventoryEveryOnePermissions, salePrice, saleType, creationDate, groupID, groupOwned, flags, inventoryID, parentFolderID, avatarID, inventoryGroupPermissions) SELECT `assetID`, `assetType` AS assetType, `inventoryName` AS inventoryName, `inventoryDescription` AS inventoryDescription, `inventoryNextPermissions` AS inventoryNextPermissions, `inventoryCurrentPermissions` AS inventoryCurrentPermissions, `invType` AS invType, `creatorsID` AS creatorID, `inventoryBasePermissions` AS inventoryBasePermissions, `inventoryEveryOnePermissions` AS inventoryEveryOnePermissions, `salePrice` AS salePrice, `saleType` AS saleType, `creationDate` AS creationDate, `groupID` AS groupID, `groupOwned` AS groupOwned, `flags` AS flags, `UUID` AS inventoryID, `parentFolderID` AS parentFolderID, `avatarID` AS avatarID, `inventoryGroupPermissions` AS inventoryGroupPermissions FROM old.inventoryitems;
8
9COMMIT;