mirror of
https://github.com/opensim/opensim.git
synced 2026-07-02 16:35:42 +08:00
Mantis #904: Thanks jonc, for a patch that adds "useragents" table to
SQLite and stores the logout position in standalone mode. Note: This adds a migration for SQLite, so do your runprebuild
This commit is contained in:
20
OpenSim/Data/SQLite/Resources/006_UserStore.sql
Normal file
20
OpenSim/Data/SQLite/Resources/006_UserStore.sql
Normal file
@@ -0,0 +1,20 @@
|
||||
BEGIN TRANSACTION;
|
||||
|
||||
-- usersagents table
|
||||
CREATE TABLE IF NOT EXISTS useragents(
|
||||
UUID varchar(255) primary key,
|
||||
agentIP varchar(255),
|
||||
agentPort integer,
|
||||
agentOnline boolean,
|
||||
sessionID varchar(255),
|
||||
secureSessionID varchar(255),
|
||||
regionID varchar(255),
|
||||
loginTime integer,
|
||||
logoutTime integer,
|
||||
currentRegion varchar(255),
|
||||
currentHandle varchar(255),
|
||||
currentPosX float,
|
||||
currentPosY float,
|
||||
currentPosZ float);
|
||||
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user