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, Dec 7, 7:20 AM
Unknown Object (File)
Thu, Dec 5, 8:33 PM
Unknown Object (File)
Thu, Dec 5, 8:07 AM
Unknown Object (File)
Sat, Nov 30, 3:45 PM
Unknown Object (File)
Sat, Nov 30, 3:12 PM
Unknown Object (File)
Sat, Nov 30, 2:45 PM
Unknown Object (File)
Sat, Nov 30, 2:29 PM
Unknown Object (File)
Fri, Nov 29, 7:04 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