diff options
author | BlueWall | 2011-08-15 12:59:17 -0400 |
---|---|---|
committer | BlueWall | 2011-08-15 12:59:17 -0400 |
commit | e870442e310195e234ed62c373aeb4eff8b5e791 (patch) | |
tree | 2822f194f32d876d41b5fa7f3dafe6ce3e533388 | |
parent | Added optional Login Service parameter "Currency" to be able to change the cu... (diff) | |
download | opensim-SC_OLD-e870442e310195e234ed62c373aeb4eff8b5e791.zip opensim-SC_OLD-e870442e310195e234ed62c373aeb4eff8b5e791.tar.gz opensim-SC_OLD-e870442e310195e234ed62c373aeb4eff8b5e791.tar.bz2 opensim-SC_OLD-e870442e310195e234ed62c373aeb4eff8b5e791.tar.xz |
Remove un-needed ATTACH command in migration script.
This was causing issues when using specified
paths to database files by using a hard-coded
name.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/Resources/XInventoryStore.migrations | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Data/SQLite/Resources/XInventoryStore.migrations b/OpenSim/Data/SQLite/Resources/XInventoryStore.migrations index d5b3019..de44982 100644 --- a/OpenSim/Data/SQLite/Resources/XInventoryStore.migrations +++ b/OpenSim/Data/SQLite/Resources/XInventoryStore.migrations | |||
@@ -41,11 +41,9 @@ COMMIT; | |||
41 | 41 | ||
42 | :VERSION 2 | 42 | :VERSION 2 |
43 | 43 | ||
44 | ATTACH 'inventoryStore.db' AS old; | ||
45 | |||
46 | BEGIN TRANSACTION; | 44 | BEGIN TRANSACTION; |
47 | 45 | ||
48 | 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; | 46 | 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; |
49 | 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; | 47 | 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; |
50 | 48 | ||
51 | COMMIT; \ No newline at end of file | 49 | COMMIT; |