diff options
author | Adam Frisby | 2007-05-20 16:31:47 +0000 |
---|---|---|
committer | Adam Frisby | 2007-05-20 16:31:47 +0000 |
commit | 1aecd0372b04062a2dffa0759c8e9f40c151bddc (patch) | |
tree | ae7fe875e670a8e850df2105cf302e6c7de5b0f0 /SQL/mysql-agents.sql | |
parent | * Switching back to MySql (diff) | |
download | opensim-SC-1aecd0372b04062a2dffa0759c8e9f40c151bddc.zip opensim-SC-1aecd0372b04062a2dffa0759c8e9f40c151bddc.tar.gz opensim-SC-1aecd0372b04062a2dffa0759c8e9f40c151bddc.tar.bz2 opensim-SC-1aecd0372b04062a2dffa0759c8e9f40c151bddc.tar.xz |
Adding SQL files for new userserver table layouts.
Diffstat (limited to '')
-rw-r--r-- | SQL/mysql-agents.sql | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/SQL/mysql-agents.sql b/SQL/mysql-agents.sql new file mode 100644 index 0000000..8194ca9 --- /dev/null +++ b/SQL/mysql-agents.sql | |||
@@ -0,0 +1,24 @@ | |||
1 | SET FOREIGN_KEY_CHECKS=0; | ||
2 | -- ---------------------------- | ||
3 | -- Table structure for agents | ||
4 | -- ---------------------------- | ||
5 | CREATE TABLE `agents` ( | ||
6 | `UUID` varchar(36) NOT NULL, | ||
7 | `sessionID` varchar(36) NOT NULL, | ||
8 | `secureSessionID` varchar(36) NOT NULL, | ||
9 | `agentIP` varchar(16) NOT NULL, | ||
10 | `agentPort` int(11) NOT NULL, | ||
11 | `agentOnline` tinyint(4) NOT NULL, | ||
12 | `loginTime` int(11) NOT NULL, | ||
13 | `logoutTime` int(11) NOT NULL, | ||
14 | `currentRegion` varchar(36) NOT NULL, | ||
15 | `currentHandle` bigint(20) unsigned NOT NULL, | ||
16 | `currentPos` varchar(64) NOT NULL, | ||
17 | PRIMARY KEY (`UUID`), | ||
18 | UNIQUE KEY `session` (`sessionID`), | ||
19 | UNIQUE KEY `ssession` (`secureSessionID`) | ||
20 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8; | ||
21 | |||
22 | -- ---------------------------- | ||
23 | -- Records | ||
24 | -- ---------------------------- | ||