add error field for migrations
Run Tests / Run Tests (push) Successful in 40s
Details
Run Tests / Run Tests (push) Successful in 40s
Details
This commit is contained in:
parent
db7794dece
commit
6be976e376
|
@ -0,0 +1,18 @@
|
||||||
|
# Generated by Django 4.2.16 on 2024-12-10 10:34
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('webui', '0004_imagememo_status'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='imagememo',
|
||||||
|
name='error_message',
|
||||||
|
field=models.TextField(null=True),
|
||||||
|
),
|
||||||
|
]
|
|
@ -61,6 +61,7 @@ class ImageMemo(models.Model):
|
||||||
updated_at = models.DateTimeField(auto_now=True)
|
updated_at = models.DateTimeField(auto_now=True)
|
||||||
|
|
||||||
status = models.CharField(max_length=10, choices=MemoStatus.choices, default=MemoStatus.Pending)
|
status = models.CharField(max_length=10, choices=MemoStatus.choices, default=MemoStatus.Pending)
|
||||||
|
error_message = models.TextField(null=True)
|
||||||
|
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
|
Loading…
Reference in New Issue