diff options
Diffstat (limited to 'OpenSim/Data/SQLite/Resources/001_RegionStore.sql')
-rw-r--r-- | OpenSim/Data/SQLite/Resources/001_RegionStore.sql | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/Resources/001_RegionStore.sql b/OpenSim/Data/SQLite/Resources/001_RegionStore.sql new file mode 100644 index 0000000..15f3d9f --- /dev/null +++ b/OpenSim/Data/SQLite/Resources/001_RegionStore.sql | |||
@@ -0,0 +1,122 @@ | |||
1 | BEGIN TRANSACTION; | ||
2 | |||
3 | CREATE 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 | |||
51 | CREATE 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 | State integer, | ||
76 | Texture blob, | ||
77 | ExtraParams blob); | ||
78 | |||
79 | CREATE TABLE terrain( | ||
80 | RegionUUID varchar(255), | ||
81 | Revision integer, | ||
82 | Heightfield blob); | ||
83 | |||
84 | CREATE TABLE land( | ||
85 | UUID varchar(255) primary key, | ||
86 | RegionUUID varchar(255), | ||
87 | LocalLandID string, | ||
88 | Bitmap blob, | ||
89 | Name varchar(255), | ||
90 | Desc varchar(255), | ||
91 | OwnerUUID varchar(36), | ||
92 | IsGroupOwned string, | ||
93 | Area integer, | ||
94 | AuctionID integer, | ||
95 | Category integer, | ||
96 | ClaimDate integer, | ||
97 | ClaimPrice integer, | ||
98 | GroupUUID varchar(255), | ||
99 | SalePrice integer, | ||
100 | LandStatus integer, | ||
101 | LandFlags string, | ||
102 | LandingType string, | ||
103 | MediaAutoScale string, | ||
104 | MediaTextureUUID varchar(255), | ||
105 | MediaURL varchar(255), | ||
106 | MusicURL varchar(255), | ||
107 | PassHours float, | ||
108 | PassPrice string, | ||
109 | SnapshotUUID varchar(255), | ||
110 | UserLocationX float, | ||
111 | UserLocationY float, | ||
112 | UserLocationZ float, | ||
113 | UserLookAtX float, | ||
114 | UserLookAtY float, | ||
115 | UserLookAtZ float); | ||
116 | |||
117 | CREATE TABLE landaccesslist( | ||
118 | LandUUID varchar(255), | ||
119 | AccessUUID varchar(255), | ||
120 | Flags string); | ||
121 | |||
122 | COMMIT; | ||