From cd54bbe7892f3863ca8fae4fb1af01f8faf1ec20 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sun, 21 Feb 2016 10:37:12 -0800 Subject: The old sqlite inventory data interface was still around and causing problems: the only part of the code using it was the data (sqlite) tests. Given that this old interface has been obsolete for several years, it has now been removed, including the tests. TODO: Writing tests for the new (ah!) inventory data interface. --- .../SQLite/Resources/InventoryStore.migrations | 39 ---------------------- 1 file changed, 39 deletions(-) delete mode 100644 OpenSim/Data/SQLite/Resources/InventoryStore.migrations (limited to 'OpenSim/Data/SQLite/Resources') diff --git a/OpenSim/Data/SQLite/Resources/InventoryStore.migrations b/OpenSim/Data/SQLite/Resources/InventoryStore.migrations deleted file mode 100644 index 2b48623..0000000 --- a/OpenSim/Data/SQLite/Resources/InventoryStore.migrations +++ /dev/null @@ -1,39 +0,0 @@ -:VERSION 5 - -BEGIN TRANSACTION; - -CREATE TABLE IF NOT EXISTS inventoryfolders( - folderName varchar(64), - type integer, - version integer, - folderID varchar(36) primary key, - agentID varchar(36) not null default '00000000-0000-0000-0000-000000000000', - parentFolderID varchar(36) not null default '00000000-0000-0000-0000-000000000000'); -CREATE INDEX inventoryfolders_agentid on inventoryfolders(agentID); -CREATE INDEX inventoryfolders_parentid on inventoryfolders(parentFolderID); - -CREATE TABLE IF NOT EXISTS inventoryitems( - assetID varchar(36), - assetType integer, - inventoryName varchar(64), - inventoryDescription varchar(128), - inventoryNextPermissions integer, - inventoryCurrentPermissions integer, - invType integer, - creatorID varchar(128), - inventoryBasePermissions integer, - inventoryEveryOnePermissions integer, - salePrice integer default 99, - saleType integer default 0, - creationDate integer default 2000, - groupID varchar(36) default '00000000-0000-0000-0000-000000000000', - groupOwned integer default 0, - flags integer default 0, - inventoryID varchar(36) primary key, - parentFolderID varchar(36) not null default '00000000-0000-0000-0000-000000000000', - avatarID varchar(36) not null default '00000000-0000-0000-0000-000000000000', - inventoryGroupPermissions integer not null default 0); -CREATE INDEX inventoryitems_parentfolderid on inventoryitems(parentFolderID); -CREATE INDEX inventoryitems_avatarid on inventoryitems(avatarID); - -COMMIT; -- cgit v1.1