aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.SQLite/Resources/RegionStore_001.sql
blob: 1db8ba828ac0ba0cdd242631833c08c2d5be79b2 (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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
BEGIN TRANSACTION;

CREATE TABLE prims(
        UUID varchar(255) primary key,
        RegionUUID varchar(255),
        ParentID integer,
        CreationDate integer,
        Name varchar(255),
        SceneGroupID varchar(255),
        Text varchar(255),
        Description varchar(255),
        SitName varchar(255),
        TouchName varchar(255),
        CreatorID varchar(255),
        OwnerID varchar(255),
        GroupID varchar(255),
        LastOwnerID varchar(255),
        OwnerMask integer,
        NextOwnerMask integer,
        GroupMask integer,
        EveryoneMask integer,
        BaseMask integer,
        PositionX float,
        PositionY float,
        PositionZ float,
        GroupPositionX float,
        GroupPositionY float,
        GroupPositionZ float,
        VelocityX float,
        VelocityY float,
        VelocityZ float,
        AngularVelocityX float,
        AngularVelocityY float,
        AngularVelocityZ float,
        AccelerationX float,
        AccelerationY float,
        AccelerationZ float,
        RotationX float,
        RotationY float,
        RotationZ float,
        RotationW float, 
        ObjectFlags integer, 
        SitTargetOffsetX float NOT NULL default 0, 
        SitTargetOffsetY float NOT NULL default 0, 
        SitTargetOffsetZ float NOT NULL default 0, 
        SitTargetOrientW float NOT NULL default 0, 
        SitTargetOrientX float NOT NULL default 0, 
        SitTargetOrientY float NOT NULL default 0, 
        SitTargetOrientZ float NOT NULL default 0);

CREATE TABLE primshapes(UUID varchar(255) primary key,
        Shape integer,
        ScaleX float,
        ScaleY float,
        ScaleZ float,
        PCode integer,
        PathBegin integer,
        PathEnd integer,
        PathScaleX integer,
        PathScaleY integer,
        PathShearX integer,
        PathShearY integer,
        PathSkew integer,
        PathCurve integer,
        PathRadiusOffset integer,
        PathRevolutions integer,
        PathTaperX integer,
        PathTaperY integer,
        PathTwist integer,
        PathTwistBegin integer,
        ProfileBegin integer,
        ProfileEnd integer,
        ProfileCurve integer,
        ProfileHollow integer,
        Texture blob,
        ExtraParams blob);

CREATE TABLE terrain(
        RegionUUID varchar(255),
        Revision integer,
        Heightfield blob);

CREATE TABLE land(
        UUID varchar(255) primary key,
        RegionUUID varchar(255),
        LocalLandID string,
        Bitmap blob,
        Name varchar(255),
        Desc varchar(255),
        OwnerUUID varchar(255),
        IsGroupOwned string,
        Area integer,
        AuctionID integer,
        Category integer,
        ClaimDate integer,
        ClaimPrice integer,
        GroupUUID varchar(255),
        SalePrice integer,
        LandStatus integer,
        LandFlags string,
        LandingType string,
        MediaAutoScale string,
        MediaTextureUUID varchar(255),
        MediaURL varchar(255),
        MusicURL varchar(255),
        PassHours float,
        PassPrice string,
        SnapshotUUID varchar(255),
        UserLocationX float,
        UserLocationY float,
        UserLocationZ float,    
        UserLookAtX float,
        UserLookAtY float,
        UserLookAtZ float);

CREATE TABLE landaccesslist(
        LandUUID varchar(255),
        AccessUUID varchar(255),
        Flags string);

COMMIT;