The implementation of Names was significantly modified in v0.8.3 (CO-333). To update a pre-v0.8.3 database, execute the following SQL after updating the database schema:
Flag all existing names as primary names. (v0.8.3 allows multiple names per Org Identity or CO Person.)
Reconfigure any enrollment flow attributes that collected a Preferred CO Person Name to consider the name of type Official instead.