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
F5932266: D7182.id.diff
Fri, Apr 18, 5:15 AM
F5924036: D7182.id24163.diff
Thu, Apr 17, 11:39 PM
Unknown Object (File)
Thu, Apr 17, 2:09 AM
Unknown Object (File)
Wed, Apr 9, 1:17 AM
Unknown Object (File)
Wed, Apr 9, 12:04 AM
Unknown Object (File)
Tue, Apr 8, 9:41 PM
Unknown Object (File)
Tue, Apr 8, 9:24 PM
Unknown Object (File)
Tue, Apr 1, 1:15 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable