Page MenuHomePhabricator

[keyserver] Add pinned_count column to MariaDB threads table
ClosedPublic

Authored by rohan on Mar 27 2023, 9:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 5:20 AM
Unknown Object (File)
Sun, Apr 7, 11:23 PM
Unknown Object (File)
Thu, Apr 4, 7:00 AM
Unknown Object (File)
Mar 8 2024, 6:58 PM
Unknown Object (File)
Mar 8 2024, 6:58 PM
Unknown Object (File)
Mar 7 2024, 1:45 PM
Unknown Object (File)
Mar 7 2024, 1:31 PM
Unknown Object (File)
Mar 7 2024, 1:01 PM
Subscribers
None

Details

Summary

We need to include a pinned_count column to the threads table in MariaDB in order to include it in the thread info in a later diff. Modifications to the client db and the new thread types / persist migration will come in the next two diffs

Part of
https://linear.app/comm/issue/ENG-3396/store-the-number-of-pinned-messages-in-threadinfo

Depends on D6924

Test Plan

Run the migration and confirm that the pinned_count column appears in MariaDB

Screenshot 2023-03-27 at 12.50.47 PM.png (990×3 px, 395 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rohan edited the test plan for this revision. (Show Details)
rohan edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Mar 27 2023, 4:23 PM