-
-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing migrations #584
Comments
We added id defaults in 1.3.8 which is a requirement for Django 3.2. I am guessing you have a custom default type set? |
I don't know what you mean by "custom default type set". What I'm saying is
that it appears that you didn't commit a migration file.
…On Sat, Jun 26, 2021, 06:05 Ilan Steemers ***@***.***> wrote:
We added id defaults in 1.3.8 which is a requirement for Django 3.2. I am
guessing you have a custom default type set?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#584 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUMKXRZ33XBXEYAV3O7K6RTTUW7B7ANCNFSM47ITC6JQ>
.
|
@Koed00 I will come up with a more complete MRE (or potentially a PR) when I have some time later this week. |
Can you check 1.3.9? I didn't realize it hadn't been released on Pypi yet. |
@Koed00 Yes, I did before posting:
Specifically, I see |
@Koed00 Here's a more direct error message that shows the problem:
As my OP shows, when I run I am on Django Q 1.3.9 |
I suspect this is most likely the problem. You added |
Here's a more precise reproduction recipe:
Step 5 might happen if for instance, you make changes to your project's models and have to apply new migrations to a production installation. |
When I run @Koed00 This issue can be closed. |
django-q version 1.3.8:
Run
./manage.py makemigrations
:This is a problem because I have a model in my project with a
ForeignKey(django_q.Schedule)
field. My migrations now have a dependency to the migration file I generated withmakemigrations
. This will cause problems when someone finally adds migrations to this project and we have conflicting files.I confirmed that this migration file is also missing from 1.3.9.
The text was updated successfully, but these errors were encountered: