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
How do I upgrade a Wagtail 3.0 website with wagtail-modeltranslation 0.12 to newer versions?
I just tried to update to Wagtail 4.0 with wagtail-modeltranslation 0.13, but the Wagtail upgrade alone gets rid of all my beloved modeltranslation fields for the wagtailcore.page model. I tried both ways, upgrading Wagtail first and the wagtail-modeltranslation package later and vice versa. The migrate command even asks me again if I want to add these translation fields to the wagtailcore.page model:
Missing languages in "slug" field from "wagtailcore.page" model: en, de
SQL to synchronize "wagtailcore.page" schema:
ALTER TABLE "wagtailcore_page" ADD COLUMN "slug_en" varchar(255);
ALTER TABLE "wagtailcore_page" ADD COLUMN "slug_de" varchar(255);
Are you sure that you want to execute the previous SQL: (y/n) [n]:
This website is relatively huge and I do not think that a dumpdata + loaddata approach would be a successful workaround. Does anybody know how to update without loosing data?
The text was updated successfully, but these errors were encountered:
andre-fuchs
changed the title
Updating Wagtail from v3 to v4 deletes all modeltranslation fields from the database
Updating Wagtail from v3 to v4 deletes/recreates all modeltranslation fields from the database
Dec 1, 2023
How do I upgrade a Wagtail 3.0 website with wagtail-modeltranslation 0.12 to newer versions?
I just tried to update to Wagtail 4.0 with wagtail-modeltranslation 0.13, but the Wagtail upgrade alone gets rid of all my beloved modeltranslation fields for the wagtailcore.page model. I tried both ways, upgrading Wagtail first and the wagtail-modeltranslation package later and vice versa. The migrate command even asks me again if I want to add these translation fields to the wagtailcore.page model:
This website is relatively huge and I do not think that a dumpdata + loaddata approach would be a successful workaround. Does anybody know how to update without loosing data?
The text was updated successfully, but these errors were encountered: