aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAdam Frisby2007-05-13 09:56:54 +0000
committerAdam Frisby2007-05-13 09:56:54 +0000
commitdd6f96bf2b20a985966ac76d79208bcb24d80e28 (patch)
treedbf81746dcceb7d2c9e60c2d356d5e02ef7de66f
parentEXTERM-INATED. (Add warnings produced by WriteLine change have been updated t... (diff)
downloadopensim-SC-dd6f96bf2b20a985966ac76d79208bcb24d80e28.zip
opensim-SC-dd6f96bf2b20a985966ac76d79208bcb24d80e28.tar.gz
opensim-SC-dd6f96bf2b20a985966ac76d79208bcb24d80e28.tar.bz2
opensim-SC-dd6f96bf2b20a985966ac76d79208bcb24d80e28.tar.xz
* Added first generation region DB for SQL-based grid storage engines.
* Not well optimised, also uses MySQL-specific syntax but should be easily portable.
Diffstat (limited to '')
-rw-r--r--SQL/regions.sql29
1 files changed, 29 insertions, 0 deletions
diff --git a/SQL/regions.sql b/SQL/regions.sql
new file mode 100644
index 0000000..5392f7f
--- /dev/null
+++ b/SQL/regions.sql
@@ -0,0 +1,29 @@
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(16) default NULL,
10 `serverPort` int(10) unsigned default NULL,
11 `serverURI` varchar(255) default NULL,
12 `locX` int(10) unsigned default NULL,
13 `locY` int(10) unsigned default NULL,
14 `locZ` 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,
25 PRIMARY KEY (`uuid`),
26 KEY `regionName` (`regionName`),
27 KEY `regionHandle` (`regionHandle`),
28 KEY `overrideHandles` (`eastOverrideHandle`,`westOverrideHandle`,`southOverrideHandle`,`northOverrideHandle`)
29) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED \ No newline at end of file