mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Thank you kindly, TLaukkan (Tommil) for a patch that:
* Added Npgsql.dll and Mono.Security.dll which are NpgsqlDriver dlls. * Added missing field to schema creation scripts: PathTaperY. * Added schema creation scripts for PostgreSQL. * Added unit test classes for PostgreSQL. * Added schema creation script folder to NHibernate project in prebuild.xml * Added Npgsql.dll to NHibernate test project dependencies in prebuild.xml * Ensured that build works with both nant and Visual Studio. * Executed build unit tests with nant and NHibernate unit tests with NUnitGUI - Couple of region tests fail due to double precission float rounding errors need to sort out how these are handles in unit tests and if higher precission numeric field needs to be used in Postgresql.
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
CREATE TABLE InventoryFolders (
|
||||
ID VARCHAR(36) NOT NULL,
|
||||
Type SMALLINT DEFAULT NULL,
|
||||
Version SMALLINT DEFAULT NULL,
|
||||
ParentID VARCHAR(36) DEFAULT NULL,
|
||||
Owner VARCHAR(36) DEFAULT NULL,
|
||||
Name VARCHAR(64) DEFAULT NULL,
|
||||
PRIMARY KEY (ID)
|
||||
);
|
||||
|
||||
CREATE INDEX InventoryFoldersOwnerIdIndex ON InventoryFolders (Owner);
|
||||
CREATE INDEX InventoryFoldersParentIdIndex ON InventoryFolders (ParentID);
|
||||
|
||||
CREATE TABLE InventoryItems (
|
||||
ID VARCHAR(36) NOT NULL,
|
||||
InvType SMALLINT DEFAULT NULL,
|
||||
AssetType SMALLINT DEFAULT NULL,
|
||||
AssetID VARCHAR(36) DEFAULT NULL,
|
||||
Folder VARCHAR(36) DEFAULT NULL,
|
||||
Owner VARCHAR(36) DEFAULT NULL,
|
||||
Creator VARCHAR(36) DEFAULT NULL,
|
||||
Name VARCHAR(64) DEFAULT NULL,
|
||||
Description VARCHAR(64) DEFAULT NULL,
|
||||
NextPermissions INT DEFAULT NULL,
|
||||
CurrentPermissions INT DEFAULT NULL,
|
||||
BasePermissions INT DEFAULT NULL,
|
||||
EveryOnePermissions INT DEFAULT NULL,
|
||||
GroupID VARCHAR(36) DEFAULT NULL,
|
||||
GroupOwned BOOLEAN DEFAULT NULL,
|
||||
SalePrice INT DEFAULT NULL,
|
||||
SaleType SMALLINT DEFAULT NULL,
|
||||
Flags INT DEFAULT NULL,
|
||||
CreationDate INT DEFAULT NULL,
|
||||
PRIMARY KEY (ID)
|
||||
);
|
||||
|
||||
CREATE INDEX InventoryItemsGroupIdIndex ON InventoryItems (GroupID);
|
||||
CREATE INDEX InventoryItemsOwnerIdIndex ON InventoryItems (Owner);
|
||||
CREATE INDEX InventoryItemsFolderIdIndex ON InventoryItems (Folder);
|
||||
Reference in New Issue
Block a user