aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/Resources/MySQLDialect
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-12-04 20:48:08 +0000
committerJustin Clarke Casey2008-12-04 20:48:08 +0000
commitbdee86563cfce5211f182b78e64503a05fc7ffa1 (patch)
tree9b1e7e941e787d36f2248ff4b57f101a779351a6 /OpenSim/Data/NHibernate/Resources/MySQLDialect
parent* Apply http://opensimulator.org/mantis/view.php?id=2750 with a small tweak. (diff)
downloadopensim-SC_OLD-bdee86563cfce5211f182b78e64503a05fc7ffa1.zip
opensim-SC_OLD-bdee86563cfce5211f182b78e64503a05fc7ffa1.tar.gz
opensim-SC_OLD-bdee86563cfce5211f182b78e64503a05fc7ffa1.tar.bz2
opensim-SC_OLD-bdee86563cfce5211f182b78e64503a05fc7ffa1.tar.xz
* Check in another patch from http://opensimulator.org/mantis/view.php?id=2710
* This allows removal of the old NHiberate.Mapping.Attributes.dll * Also add in the files I forgot about last time. Doh!
Diffstat (limited to 'OpenSim/Data/NHibernate/Resources/MySQLDialect')
-rw-r--r--OpenSim/Data/NHibernate/Resources/MySQLDialect/001_GridStore.sql32
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 @@
1CREATE 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