You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm picking a project where there's a model called Project with three translated fields. These fields were translated at different times, so there are two migrations, one for two fields and one for another field. When I try to run the migrations I get a complaint about a missing field, which is in a later migration effectively having me stuck, no able to migrate (without having to change the code in a way that will fail later).
== AddProjectTranslations: migrating =========================================
rake aborted!
An error has occurred, this and all later migrations canceled:
Missing translated field url
The text was updated successfully, but these errors were encountered:
FWIW I ran into this today and worked around it by declaring the model with only the original translations in the migration that creates the translation table.
I'm picking a project where there's a model called Project with three translated fields. These fields were translated at different times, so there are two migrations, one for two fields and one for another field. When I try to run the migrations I get a complaint about a missing field, which is in a later migration effectively having me stuck, no able to migrate (without having to change the code in a way that will fail later).
The text was updated successfully, but these errors were encountered: