diff --git a/src/attachments/migrations/0009_remove_attachment_updated_at.py b/src/attachments/migrations/0009_remove_attachment_updated_at.py new file mode 100644 index 0000000..c4d2452 --- /dev/null +++ b/src/attachments/migrations/0009_remove_attachment_updated_at.py @@ -0,0 +1,17 @@ +# Generated by Django 4.1.1 on 2022-10-01 07:28 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ("attachments", "0008_attachment_updated_at"), + ] + + operations = [ + migrations.RemoveField( + model_name="attachment", + name="updated_at", + ), + ] diff --git a/src/attachments/models.py b/src/attachments/models.py index 5505af0..3d31a40 100644 --- a/src/attachments/models.py +++ b/src/attachments/models.py @@ -36,7 +36,6 @@ class Attachment(models.Model): original_file = AbsoluteUrlFileField() processed_file = AbsoluteUrlFileField(blank=True, null=True) open_graph_image = models.BooleanField(blank=True, default=False) - updated_at = models.DateTimeField(auto_now=True) objects = AttachmentManager()