Aiky30 / djangocms-4-migration

BSD 3-Clause "New" or "Revised" License
5 stars 13 forks source link

NotSupportedError when using MySQL #14

Open Will-Hoey opened 7 months ago

Will-Hoey commented 7 months ago

When running the cms4_migration command there's a line which is raising the error

django.db.utils.NotSupportedError: DISTINCT ON fields is not supported by this database backend

I've not tested with other database backends but this functionality is only supported by Postgres https://docs.djangoproject.com/en/5.0/ref/models/querysets/#distinct.