diff options
Diffstat (limited to 'OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_GridStore.sql')
-rw-r--r-- | OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_GridStore.sql | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_GridStore.sql b/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_GridStore.sql new file mode 100644 index 0000000..1cb18e3 --- /dev/null +++ b/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_GridStore.sql | |||
@@ -0,0 +1,38 @@ | |||
1 | BEGIN TRANSACTION; | ||
2 | |||
3 | create table Regions ( | ||
4 | Uuid NVARCHAR(255) not null, | ||
5 | RegionHandle BIGINT null, | ||
6 | RegionName NVARCHAR(32) null, | ||
7 | RegionRecvKey NVARCHAR(128) null, | ||
8 | RegionSendKey NVARCHAR(128) null, | ||
9 | RegionSecret NVARCHAR(128) null, | ||
10 | RegionDataURI NVARCHAR(255) null, | ||
11 | ServerIP NVARCHAR(64) null, | ||
12 | ServerPort INT null, | ||
13 | ServerURI NVARCHAR(255) null, | ||
14 | RegionLocX INT null, | ||
15 | RegionLocY INT null, | ||
16 | RegionLocZ INT null, | ||
17 | EastOverrideHandle BIGINT null, | ||
18 | WestOverrideHandle BIGINT null, | ||
19 | SouthOverrideHandle BIGINT null, | ||
20 | NorthOverrideHandle BIGINT null, | ||
21 | RegionAssetURI NVARCHAR(255) null, | ||
22 | RegionAssetRecvKey NVARCHAR(128) null, | ||
23 | RegionAssetSendKey NVARCHAR(128) null, | ||
24 | RegionUserURI NVARCHAR(255) null, | ||
25 | RegionUserRecvKey NVARCHAR(128) null, | ||
26 | RegionUserSendKey NVARCHAR(128) null, | ||
27 | ServerHttpPort INT null, | ||
28 | ServerRemotingPort INT null, | ||
29 | RegionMapTextureID NVARCHAR(255) null, | ||
30 | Owner_uuid NVARCHAR(255) null, | ||
31 | OriginUUID NVARCHAR(255) null, | ||
32 | primary key (Uuid) | ||
33 | ); | ||
34 | |||
35 | create index region_handle on Regions (RegionHandle); | ||
36 | create index region_name on Regions (RegionName); | ||
37 | |||
38 | COMMIT; \ No newline at end of file | ||