diff options
author | Melanie Thielker | 2010-06-21 17:06:05 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-06-21 17:06:05 +0200 |
commit | 973537f819c361344273009364b53e73c05e0739 (patch) | |
tree | d5f3008f7f4879ba2d4f3795c5bc431462534d4e /OpenSim/Data/MySQL/Resources | |
parent | Modify avatar responsiveness policy to send roots before children (diff) | |
download | opensim-SC-973537f819c361344273009364b53e73c05e0739.zip opensim-SC-973537f819c361344273009364b53e73c05e0739.tar.gz opensim-SC-973537f819c361344273009364b53e73c05e0739.tar.bz2 opensim-SC-973537f819c361344273009364b53e73c05e0739.tar.xz |
Ensure no UUID.Zero region ID is ever written to presence. Add a Migration
to add a LastSeen field of type "Timestamp" to Presence for MySQL
Diffstat (limited to 'OpenSim/Data/MySQL/Resources')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/Presence.migrations | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/Resources/Presence.migrations b/OpenSim/Data/MySQL/Resources/Presence.migrations index 91f7de5..1075a15 100644 --- a/OpenSim/Data/MySQL/Resources/Presence.migrations +++ b/OpenSim/Data/MySQL/Resources/Presence.migrations | |||
@@ -13,3 +13,11 @@ CREATE UNIQUE INDEX SessionID ON Presence(SessionID); | |||
13 | CREATE INDEX UserID ON Presence(UserID); | 13 | CREATE INDEX UserID ON Presence(UserID); |
14 | 14 | ||
15 | COMMIT; | 15 | COMMIT; |
16 | |||
17 | :VERSION 1 # -------------------------- | ||
18 | |||
19 | BEGIN; | ||
20 | |||
21 | ALTER TABLE `Presence` ADD COLUMN LastSeen timestamp; | ||
22 | |||
23 | COMMIT; | ||