-
-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hello, it appears that mailqueue has a pending migration that has not been generated or added to source control. Would you be willing to add it?
Whenever I add django-mail-queue on a new project and run manage.py, I get the following message warning about it:
$ python manage.py migrate
Operations to perform:
Apply all migrations: ... mailqueue, ...
Running migrations:
No migrations to apply.
Your models have changes that are not yet reflected in a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.`
I can manually generate this and apply it, and then the warning goes away:
$ python manage.py makemigrations
Migrations for 'mailqueue':
.../site-packages/mailqueue/migrations/0007_auto_20200316_1129.py
- Alter field file_attachment on attachment
- Alter field sent on mailermessage
$ python manage.py migrate
Operations to perform:
Apply all migrations: ... mailqueue, ...
Running migrations:
Applying mailqueue.0007_auto_20200316_1129... OK
However, it would be great if this could be generated and added to the existing django-mail-queue package. Thanks!