Page MenuHomePhabricator

Remove "participationStatus" from ConpherenceParticipant
ClosedPublic

Authored by epriestley on Apr 19 2017, 7:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 8:55 AM
Unknown Object (File)
Tue, Apr 23, 9:58 PM
Unknown Object (File)
Tue, Apr 23, 9:58 PM
Unknown Object (File)
Tue, Apr 23, 9:58 PM
Unknown Object (File)
Sun, Apr 21, 8:20 PM
Unknown Object (File)
Thu, Apr 11, 7:00 AM
Unknown Object (File)
Thu, Apr 11, 6:42 AM
Unknown Object (File)
Mon, Apr 1, 1:19 PM
Subscribers
None

Details

Summary

Pathway to D17685. This column is a very complicated cache of: is participant.messageCount equal to thread.messageCount?

We can just ask this question with a JOIN instead and simplify things dramatically.

Test Plan
  • Ran migration.
  • Browsed around.
  • Sent a message, saw unread count go up.
  • Read the message, saw unread count go down.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 19 2017, 7:38 PM
This revision was automatically updated to reflect the committed changes.