Page MenuHomePhabricator

[web-db] implement setting/getting `currentUserID` on worker
ClosedPublic

Authored by kamil on Mar 27 2023, 4:19 AM.
Tags
None
Referenced Files
F1833093: D7182.id24370.diff
Thu, May 23, 1:07 PM
Unknown Object (File)
Sun, May 19, 11:27 PM
Unknown Object (File)
Sat, May 18, 11:26 AM
Unknown Object (File)
Sat, May 18, 7:24 AM
Unknown Object (File)
Sat, May 18, 3:23 AM
Unknown Object (File)
Sun, May 5, 12:50 AM
Unknown Object (File)
Fri, May 3, 1:05 PM
Unknown Object (File)
Fri, May 3, 1:05 PM
Subscribers

Details

Summary

Store currentUserID in SQLite database.

It can be done by different way - performing operations directly on metadata table with parameters, but I wanted to make it similar to CommCoreModuleSchema.

Depend on D7181

Test Plan

Send SET_CURRENT_USER_ID and GET_CURRENT_USER_ID messages to worker and check if it works

Diff Detail

Repository
rCOMM Comm
Branch
db-web-7
Lint
No Lint Coverage
Unit
No Test Coverage