mirror of
https://github.com/opensim/opensim.git
synced 2026-06-30 11:07:02 +08:00
* 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.
104 lines
2.7 KiB
SQL
104 lines
2.7 KiB
SQL
create table Prims (
|
|
UUID NVARCHAR(255) not null,
|
|
ParentID INT null,
|
|
ParentUUID NVARCHAR(255) null,
|
|
RegionID NVARCHAR(255) null,
|
|
CreationDate INT null,
|
|
Name NVARCHAR(255) null,
|
|
Text NVARCHAR(255) null,
|
|
Description NVARCHAR(255) null,
|
|
SitName NVARCHAR(255) null,
|
|
TouchName NVARCHAR(255) null,
|
|
ObjectFlags INT null,
|
|
CreatorID NVARCHAR(255) null,
|
|
OwnerID NVARCHAR(255) null,
|
|
GroupID NVARCHAR(255) null,
|
|
LastOwnerID NVARCHAR(255) null,
|
|
OwnerMask INT null,
|
|
NextOwnerMask INT null,
|
|
GroupMask INT null,
|
|
EveryoneMask INT null,
|
|
BaseMask INT null,
|
|
PositionX REAL null,
|
|
PositionY REAL null,
|
|
PositionZ REAL null,
|
|
GroupPositionX REAL null,
|
|
GroupPositionY REAL null,
|
|
GroupPositionZ REAL null,
|
|
VelocityX REAL null,
|
|
VelocityY REAL null,
|
|
VelocityZ REAL null,
|
|
AngularVelocityX REAL null,
|
|
AngularVelocityY REAL null,
|
|
AngularVelocityZ REAL null,
|
|
AccelerationX REAL null,
|
|
AccelerationY REAL null,
|
|
AccelerationZ REAL null,
|
|
SitTargetOffsetX REAL null,
|
|
SitTargetOffsetY REAL null,
|
|
SitTargetOffsetZ REAL null,
|
|
RotationX REAL null,
|
|
RotationY REAL null,
|
|
RotationZ REAL null,
|
|
RotationW REAL null,
|
|
SitTargetOrientX REAL null,
|
|
SitTargetOrientY REAL null,
|
|
SitTargetOrientZ REAL null,
|
|
SitTargetOrientW REAL null,
|
|
ScaleX REAL null,
|
|
ScaleY REAL null,
|
|
ScaleZ REAL null,
|
|
PCode TINYINT null,
|
|
PathBegin SMALLINT null,
|
|
PathEnd SMALLINT null,
|
|
PathScaleX TINYINT null,
|
|
PathScaleY TINYINT null,
|
|
PathShearX TINYINT null,
|
|
PathShearY TINYINT null,
|
|
PathSkew TINYINT null,
|
|
PathCurve TINYINT null,
|
|
PathRadiusOffset TINYINT null,
|
|
PathRevolutions TINYINT null,
|
|
PathTaperX TINYINT null,
|
|
PathTaperY TINYINT null,
|
|
PathTwist TINYINT null,
|
|
ProfileBegin SMALLINT null,
|
|
ProfileEnd SMALLINT null,
|
|
ProfileCurve TINYINT null,
|
|
ProfileHollow SMALLINT null,
|
|
Texture VARBINARY(8000) null,
|
|
ExtraParams VARBINARY(8000) null,
|
|
State TINYINT null,
|
|
primary key (UUID)
|
|
)
|
|
|
|
create table PrimItems (
|
|
ItemID NVARCHAR(255) not null,
|
|
PrimID NVARCHAR(255) null,
|
|
AssetID NVARCHAR(255) null,
|
|
ParentFolderID NVARCHAR(255) null,
|
|
CreatorID NVARCHAR(255) null,
|
|
OwnerID NVARCHAR(255) null,
|
|
GroupID NVARCHAR(255) null,
|
|
LastOwnerID NVARCHAR(255) null,
|
|
CurrentPermissions INT null,
|
|
BasePermissions INT null,
|
|
EveryonePermissions INT null,
|
|
GroupPermissions INT null,
|
|
NextPermissions INT null,
|
|
Name NVARCHAR(255) null,
|
|
Description NVARCHAR(255) null,
|
|
CreationDate INT null,
|
|
Flags INT null,
|
|
InvType INT null,
|
|
primary key (ItemID)
|
|
)
|
|
|
|
create table Terrain (
|
|
RegionID NVARCHAR(255) not null,
|
|
MapData VARBINARY(max) null,
|
|
primary key (RegionID)
|
|
)
|
|
|
|
|