add error field for migrations
Run Tests / Run Tests (push) Successful in 40s Details

This commit is contained in:
James Ravenscroft 2024-12-10 10:34:45 +00:00
parent db7794dece
commit 6be976e376
2 changed files with 19 additions and 0 deletions

View File

@ -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),
),
]

View File

@ -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: