From d32685b69a11117863b373109ccc900965a85dbe Mon Sep 17 00:00:00 2001 From: sm4640 Date: Fri, 28 Mar 2025 21:56:59 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix:=20[#14]=20thumbnail=20image?= =?UTF-8?q?field=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- portfolios/models.py | 1 + projects/models.py | 1 + 2 files changed, 2 insertions(+) diff --git a/portfolios/models.py b/portfolios/models.py index 6a68602..51db6ee 100644 --- a/portfolios/models.py +++ b/portfolios/models.py @@ -16,5 +16,6 @@ class Portfolio(BaseModel): like_count = models.IntegerField(default=0) scrab_count = models.IntegerField(default=0) is_represent = models.BooleanField(default=False) + thumbnail = models.ImageField(upload_to='', blank=True) code_id = models.CharField(max_length=26, blank=True) user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE, related_name='portfolios', to_field="id") \ No newline at end of file diff --git a/projects/models.py b/projects/models.py index bcd3b10..39cd280 100644 --- a/projects/models.py +++ b/projects/models.py @@ -16,6 +16,7 @@ class Project(BaseModel): like_count = models.IntegerField(default=0) scrab_count = models.IntegerField(default=0) is_represent = models.BooleanField(default=False) + thumbnail = models.ImageField(upload_to='', blank=True) code_id = models.CharField(max_length=26, blank=True) class ProjectTeamList(BaseModel):