You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
always when I run my migrations I receive the following error, can you please add the missing migration.
Your models in app(s): 'simple_mail' 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.
docker compose run --rm app sh -c "python manage.py makemigrations && cat /usr/local/lib/python3.9/site-packages/simple_mail/migrations/0002_auto_20220927_*"
[+] Running 1/0
⠿ Container app-api-v2-db-1 Running 0.0s
Migrations for 'simple_mail':
/usr/local/lib/python3.9/site-packages/simple_mail/migrations/0002_auto_20220927_1532.py
- Alter field banner on simplemail
- Alter field logo on simplemailconfig
# Generated by Django 3.2.15 on 2022-09-27 15:32
import django.core.files.storage
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('simple_mail', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='simplemail',
name='banner',
field=models.ImageField(blank=True, null=True, storage=django.core.files.storage.FileSystemStorage(), upload_to='simple_mail', verbose_name='Banner'),
),
migrations.AlterField(
model_name='simplemailconfig',
name='logo',
field=models.ImageField(blank=True, null=True, storage=django.core.files.storage.FileSystemStorage(), upload_to='simple_mail', verbose_name='Logo'),
),
]
The text was updated successfully, but these errors were encountered:
Hello,
always when I run my migrations I receive the following error, can you please add the missing migration.
The text was updated successfully, but these errors were encountered: