this seems the least evil way forward since mono 2.6 and later will see increasing usage, and this only works with what was SQLiteNG MAC USERS WILL NEED TO CHANGE REFERENCES TO "OpenSim.Data.SQLite.dll" to "OpenSim.Data.SQLiteLegacy.dll" in OpenSim.ini and config-include/StandaloneCommon.ini (if using standalone) See the OpenSim.ini.example and StandaloneCommon.ini.example files for more details This commit also temporarily changes unsigned ParentEstateID values in the OpenSim.Data.Tests to signed temporarily, since the new plugin enforces creation of signed fields in the database (which is what the SQL actually specifies). And change data columns in sqlite is a pita.
33 lines
988 B
SQL
33 lines
988 B
SQL
BEGIN TRANSACTION;
|
|
|
|
CREATE TABLE inventoryfolders(
|
|
UUID varchar(255) primary key,
|
|
name varchar(255),
|
|
agentID varchar(255),
|
|
parentID varchar(255),
|
|
type integer,
|
|
version integer);
|
|
|
|
CREATE TABLE inventoryitems(
|
|
UUID varchar(255) primary key,
|
|
assetID varchar(255),
|
|
assetType integer,
|
|
invType integer,
|
|
parentFolderID varchar(255),
|
|
avatarID varchar(255),
|
|
creatorsID varchar(255),
|
|
inventoryName varchar(255),
|
|
inventoryDescription varchar(255),
|
|
inventoryNextPermissions integer,
|
|
inventoryCurrentPermissions integer,
|
|
inventoryBasePermissions integer,
|
|
inventoryEveryOnePermissions integer,
|
|
salePrice integer default 99,
|
|
saleType integer default 0,
|
|
creationDate integer default 2000,
|
|
groupID varchar(255) default '00000000-0000-0000-0000-000000000000',
|
|
groupOwned integer default 0,
|
|
flags integer default 0);
|
|
|
|
COMMIT;
|