Tasks should have the assigned_to_type value of either User or Organization, however we discovered a handful assigned to Vso.

assign_to_types of User and OrganizationWe could alternatively put a constraint on the database to only those two values (enum(Organization, User)).
Example of need for #12773.
Rather than a data integrity check, let's go this route
1 | ||||
2 | |||||||||||
3 |
5 |
8 |
Seems fairly straightforward. Could be as simple as adding one line to the model and a test. Kat is clutching her ~pearls~ ones. Triple check that all tasks have type User or Org.