aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_RegionStore.sql
blob: 934e12f4a13d47b742056d416a81e15dab462e49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
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,
   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)
)