Skip to content

Un-generated mailqueue migration - Add to source control? #9

@daveschaefer

Description

@daveschaefer

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions