What's the migration plan for when the database backend ships with Django itself? #204
-
|
So, let's say I start using "django_tasks.backends.database.DatabaseBackend" now, before it is added to Django proper. When (I hope for when, not if) it is added to Django, what steps will be necessary to migrate the existing tasks? Just changing the name of the app and backend in settings and updating any potential import paths? (That should be scriptable even..) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Currently, there isn't a timeline for when it will ship with Django core. There's lots of different ways we could do it. We can either keep the table name in Django core, so there's nothing to migrate, or have a migration to rename the table / copy the data over. |
Beta Was this translation helpful? Give feedback.
-
|
I notice that there are 16 migrations so far, it would be clean if the the first django-included version squashed them, which would mean a "how to switch to the django-shipped app" procedure would be needed. |
Beta Was this translation helpful? Give feedback.
Currently, there isn't a timeline for when it will ship with Django core. There's lots of different ways we could do it. We can either keep the table name in Django core, so there's nothing to migrate, or have a migration to rename the table / copy the data over.