mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
Add clientid field to sessions table.
This commit is contained in:
parent
de1b925b7d
commit
eb5833609a
6 changed files with 13 additions and 7 deletions
|
|
@ -9,7 +9,7 @@
|
|||
#include "server.h"
|
||||
#include "server_database_interface.h"
|
||||
|
||||
#define DATABASE_SCHEMA_VERSION 3
|
||||
#define DATABASE_SCHEMA_VERSION 4
|
||||
|
||||
class Servatrice;
|
||||
|
||||
|
|
@ -59,7 +59,7 @@ public:
|
|||
int getNextGameId();
|
||||
int getNextReplayId();
|
||||
int getActiveUserCount();
|
||||
qint64 startSession(const QString &userName, const QString &address);
|
||||
qint64 startSession(const QString &userName, const QString &address, const QString &clientId);
|
||||
void endSession(qint64 sessionId);
|
||||
void clearSessionTables();
|
||||
void lockSessionTables();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue