fixed migrations issues

feature/thumbnails
mtyton 2023-09-11 21:46:50 +02:00
rodzic fb0403a210
commit 91381920e0
3 zmienionych plików z 11 dodań i 16 usunięć

Wyświetl plik

@ -22,8 +22,9 @@ services:
volumes:
- ./:/app
environment:
- SECRET_KEY
- DATABASE_URL
- SECRET_KEY=RandomKey
- DATABASE_URL=postgres://comfy:password@test_db/comfy_shop
- DJANGO_SETTINGS_MODULE=artel.settings.tests
env_file:
- .env
command:

Wyświetl plik

@ -1,12 +0,0 @@
# Generated by Django 4.1.10 on 2023-08-08 00:30
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("store", "0007_alter_productimage_image"),
("store", "0012_deliverymethod_order_uuid_product_uuid_and_more"),
]
operations = []

Wyświetl plik

@ -1,4 +1,4 @@
# Generated by Django 4.1.10 on 2023-08-04 03:05
# Generated by Django 4.1.10 on 2023-09-09 16:42
from django.db import migrations
import easy_thumbnails.fields
@ -6,7 +6,7 @@ import easy_thumbnails.fields
class Migration(migrations.Migration):
dependencies = [
("store", "0006_remove_orderdocument_sent"),
("store", "0013_producttemplateparam_alter_product_params_and_more"),
]
operations = [
@ -15,4 +15,10 @@ class Migration(migrations.Migration):
name="image",
field=easy_thumbnails.fields.ThumbnailerImageField(upload_to=""),
),
migrations.AlterField(
model_name="producttemplateimage",
name="image",
field=easy_thumbnails.fields.ThumbnailerImageField(upload_to=""),
)
]