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
Unknown Object (File)
Sat, Jan 4, 3:29 PM
Unknown Object (File)
Fri, Dec 27, 8:48 AM
Unknown Object (File)
Fri, Dec 27, 8:48 AM
Unknown Object (File)
Fri, Dec 27, 8:47 AM
Unknown Object (File)
Fri, Dec 27, 8:41 AM
Unknown Object (File)
Tue, Dec 17, 6:29 AM
Unknown Object (File)
Dec 8 2024, 6:14 AM
Unknown Object (File)
Dec 7 2024, 11:43 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