Update code so it compiles
This commit is contained in:
parent
2dfa26a01a
commit
a007df27dd
9 changed files with 41 additions and 55 deletions
|
|
@ -4,7 +4,6 @@ CREATE TABLE SessionData (
|
|||
accessToken TEXT NOT NULL,
|
||||
refreshToken TEXT,
|
||||
homeserverUrl TEXT NOT NULL,
|
||||
isSoftLogout INTEGER AS Boolean NOT NULL DEFAULT 0,
|
||||
slidingSyncProxy TEXT
|
||||
);
|
||||
|
||||
|
|
@ -15,7 +14,7 @@ selectByUserId:
|
|||
SELECT * FROM SessionData WHERE userId = ?;
|
||||
|
||||
insertSessionData:
|
||||
INSERT INTO SessionData(userId, deviceId, accessToken, refreshToken, homeserverUrl, isSoftLogout, slidingSyncProxy) VALUES ?;
|
||||
INSERT INTO SessionData(userId, deviceId, accessToken, refreshToken, homeserverUrl, slidingSyncProxy) VALUES ?;
|
||||
|
||||
removeSession:
|
||||
DELETE FROM SessionData WHERE userId = ?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue