We need two branches of that migration. One when `assigned_to_type` is missing and another when `assigned_to_type` exists. https://meta.discourse.org/t/db-migration-version-20210714173022-fails-when-having-skipped-post-deployment-migrations-before/204660 |
||
|---|---|---|
| .. | ||
| 20210429154319_remove_nil_custom_fields_from_assign.rb | ||
| 20210709101534_move_assignments_from_custom_fields_to_a_table.rb | ||
| 20210714173022_correctly_move_assignments_from_custom_fields_to_a_table.rb | ||