Remove unused field on attachments
This commit is contained in:
parent
89ed178b6a
commit
936513d1f2
2 changed files with 17 additions and 1 deletions
|
@ -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",
|
||||||
|
),
|
||||||
|
]
|
|
@ -36,7 +36,6 @@ class Attachment(models.Model):
|
||||||
original_file = AbsoluteUrlFileField()
|
original_file = AbsoluteUrlFileField()
|
||||||
processed_file = AbsoluteUrlFileField(blank=True, null=True)
|
processed_file = AbsoluteUrlFileField(blank=True, null=True)
|
||||||
open_graph_image = models.BooleanField(blank=True, default=False)
|
open_graph_image = models.BooleanField(blank=True, default=False)
|
||||||
updated_at = models.DateTimeField(auto_now=True)
|
|
||||||
|
|
||||||
objects = AttachmentManager()
|
objects = AttachmentManager()
|
||||||
|
|
||||||
|
|
Reference in a new issue