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)
Fri, Nov 29, 7:04 AM
Unknown Object (File)
Wed, Nov 27, 8:32 PM
Unknown Object (File)
Wed, Nov 27, 7:56 PM
Unknown Object (File)
Wed, Nov 27, 5:30 PM
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
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