diff options
author | Sean Dague | 2008-04-02 15:24:31 +0000 |
---|---|---|
committer | Sean Dague | 2008-04-02 15:24:31 +0000 |
commit | c52c68f314c67c76c7181a6d0828f476290fbd66 (patch) | |
tree | 66ab347502892902a096fa985f31b25738eb1381 /OpenSim/Data/SQLite/Resources | |
parent | reorganizing namespaces to put all the Data stuff into it's own namespace (diff) | |
download | opensim-SC_OLD-c52c68f314c67c76c7181a6d0828f476290fbd66.zip opensim-SC_OLD-c52c68f314c67c76c7181a6d0828f476290fbd66.tar.gz opensim-SC_OLD-c52c68f314c67c76c7181a6d0828f476290fbd66.tar.bz2 opensim-SC_OLD-c52c68f314c67c76c7181a6d0828f476290fbd66.tar.xz |
whole lot more moving
Diffstat (limited to 'OpenSim/Data/SQLite/Resources')
-rw-r--r-- | OpenSim/Data/SQLite/Resources/001_AssetStore.sql | 13 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/Resources/001_InventoryStore.sql | 26 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/Resources/001_RegionStore.sql | 122 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/Resources/001_UserStore.sql | 37 |
4 files changed, 198 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/Resources/001_AssetStore.sql b/OpenSim/Data/SQLite/Resources/001_AssetStore.sql new file mode 100644 index 0000000..1dc05d8 --- /dev/null +++ b/OpenSim/Data/SQLite/Resources/001_AssetStore.sql | |||
@@ -0,0 +1,13 @@ | |||
1 | BEGIN TRANSACTION; | ||
2 | |||
3 | CREATE TABLE assets( | ||
4 | UUID varchar(255) primary key, | ||
5 | Name varchar(255), | ||
6 | Description varchar(255), | ||
7 | Type integer, | ||
8 | InvType integer, | ||
9 | Local integer, | ||
10 | Temporary integer, | ||
11 | Data blob); | ||
12 | |||
13 | COMMIT; | ||
diff --git a/OpenSim/Data/SQLite/Resources/001_InventoryStore.sql b/OpenSim/Data/SQLite/Resources/001_InventoryStore.sql new file mode 100644 index 0000000..e4951b0 --- /dev/null +++ b/OpenSim/Data/SQLite/Resources/001_InventoryStore.sql | |||
@@ -0,0 +1,26 @@ | |||
1 | BEGIN TRANSACTION; | ||
2 | |||
3 | CREATE TABLE inventoryitems( | ||
4 | UUID varchar(255) primary key, | ||
5 | assetID varchar(255), | ||
6 | assetType integer, | ||
7 | invType integer, | ||
8 | parentFolderID varchar(255), | ||
9 | avatarID varchar(255), | ||
10 | creatorsID varchar(255), | ||
11 | inventoryName varchar(255), | ||
12 | inventoryDescription varchar(255), | ||
13 | inventoryNextPermissions integer, | ||
14 | inventoryCurrentPermissions integer, | ||
15 | inventoryBasePermissions integer, | ||
16 | inventoryEveryOnePermissions integer); | ||
17 | |||
18 | CREATE TABLE inventoryfolders( | ||
19 | UUID varchar(255) primary key, | ||
20 | name varchar(255), | ||
21 | agentID varchar(255), | ||
22 | parentID varchar(255), | ||
23 | type integer, | ||
24 | version integer); | ||
25 | |||
26 | COMMIT; | ||
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; | ||
diff --git a/OpenSim/Data/SQLite/Resources/001_UserStore.sql b/OpenSim/Data/SQLite/Resources/001_UserStore.sql new file mode 100644 index 0000000..070e340 --- /dev/null +++ b/OpenSim/Data/SQLite/Resources/001_UserStore.sql | |||
@@ -0,0 +1,37 @@ | |||
1 | BEGIN TRANSACTION; | ||
2 | |||
3 | CREATE TABLE users( | ||
4 | UUID varchar(255) primary key, | ||
5 | username varchar(255), | ||
6 | surname varchar(255), | ||
7 | passwordHash varchar(255), | ||
8 | passwordSalt varchar(255), | ||
9 | homeRegionX integer, | ||
10 | homeRegionY integer, | ||
11 | homeLocationX float, | ||
12 | homeLocationY float, | ||
13 | homeLocationZ float, | ||
14 | homeLookAtX float, | ||
15 | homeLookAtY float, | ||
16 | homeLookAtZ float, | ||
17 | created integer, | ||
18 | lastLogin integer, | ||
19 | rootInventoryFolderID varchar(255), | ||
20 | userInventoryURI varchar(255), | ||
21 | userAssetURI varchar(255), | ||
22 | profileCanDoMask integer, | ||
23 | profileWantDoMask integer, | ||
24 | profileAboutText varchar(255), | ||
25 | profileFirstText varchar(255), | ||
26 | profileImage varchar(255), | ||
27 | profileFirstImage varchar(255), | ||
28 | webLoginKey text default '00000000-0000-0000-0000-000000000000'); | ||
29 | |||
30 | CREATE TABLE userfriends( | ||
31 | ownerID varchar(255), | ||
32 | friendID varchar(255), | ||
33 | friendPerms integer, | ||
34 | ownerPerms integer, | ||
35 | datetimestamp integer); | ||
36 | |||
37 | COMMIT; | ||