Remove unused field on attachments

This commit is contained in:
Gabriel Augendre 2022-10-01 09:28:59 +02:00
parent 89ed178b6a
commit 936513d1f2
2 changed files with 17 additions and 1 deletions

View file

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

View file

@ -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()