Add: CreatorDescription model to archive app

This commit is contained in:
Aroy-Art 2025-03-13 18:30:23 +01:00
parent c1bc51736d
commit 3aba2cb23a
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -57,6 +57,12 @@ class PostDescription(models.Model):
date_imported = models.DateTimeField(auto_now_add=True)
class CreatorDescription(models.Model):
creator = models.ForeignKey("CreatorModel", on_delete=models.CASCADE)
description = models.ForeignKey(DescriptionModel, on_delete=models.CASCADE)
date_imported = models.DateTimeField(auto_now_add=True)
class PostModel(models.Model):
post_id = models.CharField(max_length=128, db_index=True)
title = models.CharField(max_length=64)