diff options
author | Diva Canto | 2010-05-02 10:31:35 -0700 |
---|---|---|
committer | Diva Canto | 2010-05-02 10:31:35 -0700 |
commit | bd49985afa0a30cf9338730807a42eff3d508bee (patch) | |
tree | 46786ed3004402af809e99a67a7bd1a3dbf182af /OpenSim/Data/SQLite/Resources/002_XInventoryStore.sql | |
parent | add operation to "nant distbin" to copy StandaloneCommon.ini.example -> Stand... (diff) | |
download | opensim-SC_OLD-bd49985afa0a30cf9338730807a42eff3d508bee.zip opensim-SC_OLD-bd49985afa0a30cf9338730807a42eff3d508bee.tar.gz opensim-SC_OLD-bd49985afa0a30cf9338730807a42eff3d508bee.tar.bz2 opensim-SC_OLD-bd49985afa0a30cf9338730807a42eff3d508bee.tar.xz |
Switched everything to XInventory by default. The old Inventory is still there for now, in case bugs pop up with XInventory.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/Resources/002_XInventoryStore.sql | 9 |
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 @@ | |||
1 | BEGIN TRANSACTION; | ||
2 | |||
3 | ATTACH 'inventoryStore.db' AS old; | ||
4 | |||
5 | INSERT 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 | |||
7 | INSERT 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 | |||
9 | COMMIT; | ||