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)
Sat, Nov 16, 5:39 PM
Unknown Object (File)
Sun, Nov 10, 7:12 PM
Unknown Object (File)
Sun, Nov 10, 4:43 PM
Unknown Object (File)
Sun, Nov 10, 4:40 PM
Unknown Object (File)
Sun, Nov 10, 2:28 PM
Unknown Object (File)
Sun, Nov 10, 2:20 PM
Unknown Object (File)
Sun, Nov 10, 7:25 AM
Unknown Object (File)
Sun, Nov 10, 7:18 AM
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