diff options
Diffstat (limited to 'OpenSim/Data/NHibernate/Resources/MySQLDialect/001_GridStore.sql')
-rw-r--r-- | OpenSim/Data/NHibernate/Resources/MySQLDialect/001_GridStore.sql | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/OpenSim/Data/NHibernate/Resources/MySQLDialect/001_GridStore.sql b/OpenSim/Data/NHibernate/Resources/MySQLDialect/001_GridStore.sql new file mode 100644 index 0000000..df09603 --- /dev/null +++ b/OpenSim/Data/NHibernate/Resources/MySQLDialect/001_GridStore.sql | |||
@@ -0,0 +1,32 @@ | |||
1 | CREATE TABLE `regions` ( | ||
2 | `Uuid` varchar(36) NOT NULL, | ||
3 | `RegionHandle` bigint(20) unsigned NOT NULL, | ||
4 | `RegionName` varchar(32) default NULL, | ||
5 | `RegionRecvKey` varchar(128) default NULL, | ||
6 | `RegionSendKey` varchar(128) default NULL, | ||
7 | `RegionSecret` varchar(128) default NULL, | ||
8 | `RegionDataURI` varchar(255) default NULL, | ||
9 | `ServerIP` varchar(64) default NULL, | ||
10 | `ServerPort` int(10) unsigned default NULL, | ||
11 | `ServerURI` varchar(255) default NULL, | ||
12 | `RegionLocX` int(10) unsigned default NULL, | ||
13 | `RegionLocY` int(10) unsigned default NULL, | ||
14 | `RegionLocZ` int(10) unsigned default NULL, | ||
15 | `EastOverrideHandle` bigint(20) unsigned default NULL, | ||
16 | `WestOverrideHandle` bigint(20) unsigned default NULL, | ||
17 | `SouthOverrideHandle` bigint(20) unsigned default NULL, | ||
18 | `NorthOverrideHandle` bigint(20) unsigned default NULL, | ||
19 | `RegionAssetURI` varchar(255) default NULL, | ||
20 | `RegionAssetRecvKey` varchar(128) default NULL, | ||
21 | `RegionAssetSendKey` varchar(128) default NULL, | ||
22 | `RegionUserURI` varchar(255) default NULL, | ||
23 | `RegionUserRecvKey` varchar(128) default NULL, | ||
24 | `RegionUserSendKey` varchar(128) default NULL, `regionMapTexture` varchar(36) default NULL, | ||
25 | `ServerHttpPort` int(10) default NULL, `serverRemotingPort` int(10) default NULL, | ||
26 | `Owner_uuid` varchar(36) default '00000000-0000-0000-0000-000000000000' not null, | ||
27 | `OriginUUID` varchar(36), | ||
28 | PRIMARY KEY (`uuid`), | ||
29 | KEY `region_name` (`RegionName`), | ||
30 | KEY `region_handle` (`RegionHandle`), | ||
31 | KEY `overrideHandles` (`EastOverrideHandle`,`WestOverrideHandle`,`SouthOverrideHandle`,`NorthOverrideHandle`) | ||
32 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Rev. 3'; \ No newline at end of file | ||