diff --git a/penparse/webui/migrations/0005_imagememo_error_message.py b/penparse/webui/migrations/0005_imagememo_error_message.py new file mode 100644 index 0000000..706227a --- /dev/null +++ b/penparse/webui/migrations/0005_imagememo_error_message.py @@ -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), + ), + ] diff --git a/penparse/webui/models.py b/penparse/webui/models.py index 750e42c..7b426ae 100644 --- a/penparse/webui/models.py +++ b/penparse/webui/models.py @@ -61,6 +61,7 @@ class ImageMemo(models.Model): updated_at = models.DateTimeField(auto_now=True) status = models.CharField(max_length=10, choices=MemoStatus.choices, default=MemoStatus.Pending) + error_message = models.TextField(null=True) class Meta: