aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.SQLite/Resources/001_RegionStore.sql
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Data.SQLite/Resources/001_RegionStore.sql')
-rw-r--r--OpenSim/Framework/Data.SQLite/Resources/001_RegionStore.sql121
1 files changed, 121 insertions, 0 deletions
diff --git a/OpenSim/Framework/Data.SQLite/Resources/001_RegionStore.sql b/OpenSim/Framework/Data.SQLite/Resources/001_RegionStore.sql
new file mode 100644
index 0000000..1db8ba8
--- /dev/null
+++ b/OpenSim/Framework/Data.SQLite/Resources/001_RegionStore.sql
@@ -0,0 +1,121 @@
1BEGIN TRANSACTION;
2
3CREATE TABLE prims(
4 UUID varchar(255) primary key,
5 RegionUUID varchar(255),
6 ParentID integer,
7 CreationDate integer,
8 Name varchar(255),
9 SceneGroupID varchar(255),
10 Text varchar(255),
11 Description varchar(255),
12 SitName varchar(255),
13 TouchName varchar(255),
14 CreatorID varchar(255),
15 OwnerID varchar(255),
16 GroupID varchar(255),
17 LastOwnerID varchar(255),
18 OwnerMask integer,
19 NextOwnerMask integer,
20 GroupMask integer,
21 EveryoneMask integer,
22 BaseMask integer,
23 PositionX float,
24 PositionY float,
25 PositionZ float,
26 GroupPositionX float,
27 GroupPositionY float,
28 GroupPositionZ float,
29 VelocityX float,
30 VelocityY float,
31 VelocityZ float,
32 AngularVelocityX float,
33 AngularVelocityY float,
34 AngularVelocityZ float,
35 AccelerationX float,
36 AccelerationY float,
37 AccelerationZ float,
38 RotationX float,
39 RotationY float,
40 RotationZ float,
41 RotationW float,
42 ObjectFlags integer,
43 SitTargetOffsetX float NOT NULL default 0,
44 SitTargetOffsetY float NOT NULL default 0,
45 SitTargetOffsetZ float NOT NULL default 0,
46 SitTargetOrientW float NOT NULL default 0,
47 SitTargetOrientX float NOT NULL default 0,
48 SitTargetOrientY float NOT NULL default 0,
49 SitTargetOrientZ float NOT NULL default 0);
50
51CREATE TABLE primshapes(UUID varchar(255) primary key,
52 Shape integer,
53 ScaleX float,
54 ScaleY float,
55 ScaleZ float,
56 PCode integer,
57 PathBegin integer,
58 PathEnd integer,
59 PathScaleX integer,
60 PathScaleY integer,
61 PathShearX integer,
62 PathShearY integer,
63 PathSkew integer,
64 PathCurve integer,
65 PathRadiusOffset integer,
66 PathRevolutions integer,
67 PathTaperX integer,
68 PathTaperY integer,
69 PathTwist integer,
70 PathTwistBegin integer,
71 ProfileBegin integer,
72 ProfileEnd integer,
73 ProfileCurve integer,
74 ProfileHollow integer,
75 Texture blob,
76 ExtraParams blob);
77
78CREATE TABLE terrain(
79 RegionUUID varchar(255),
80 Revision integer,
81 Heightfield blob);
82
83CREATE TABLE land(
84 UUID varchar(255) primary key,
85 RegionUUID varchar(255),
86 LocalLandID string,
87 Bitmap blob,
88 Name varchar(255),
89 Desc varchar(255),
90 OwnerUUID varchar(255),
91 IsGroupOwned string,
92 Area integer,
93 AuctionID integer,
94 Category integer,
95 ClaimDate integer,
96 ClaimPrice integer,
97 GroupUUID varchar(255),
98 SalePrice integer,
99 LandStatus integer,
100 LandFlags string,
101 LandingType string,
102 MediaAutoScale string,
103 MediaTextureUUID varchar(255),
104 MediaURL varchar(255),
105 MusicURL varchar(255),
106 PassHours float,
107 PassPrice string,
108 SnapshotUUID varchar(255),
109 UserLocationX float,
110 UserLocationY float,
111 UserLocationZ float,
112 UserLookAtX float,
113 UserLookAtY float,
114 UserLookAtZ float);
115
116CREATE TABLE landaccesslist(
117 LandUUID varchar(255),
118 AccessUUID varchar(255),
119 Flags string);
120
121COMMIT;