From 1536abb22aa13cd4793e45b13e36355082a3e709 Mon Sep 17 00:00:00 2001 From: 9keyyyy <62213813+9keyyyy@users.noreply.github.com> Date: Sun, 18 Aug 2024 14:00:32 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20thumbnailUrl=20field=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20(#56)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Gukhee Jo --- src/lib/db/schema/invitations.ts | 1 + src/lib/db/schema/templates.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/lib/db/schema/invitations.ts b/src/lib/db/schema/invitations.ts index 8e9c843c..baff1da6 100644 --- a/src/lib/db/schema/invitations.ts +++ b/src/lib/db/schema/invitations.ts @@ -9,6 +9,7 @@ export const invitations = pgTable("invitation", { customFields: json("custom_fields").notNull().$type>(), title: text("title").notNull(), eventUrl: text("event_url").unique().notNull(), + thumbnailUrl: text("thumbnail_url"), createdAt: timestamp("created_at", { withTimezone: true, mode: "date", diff --git a/src/lib/db/schema/templates.ts b/src/lib/db/schema/templates.ts index 578cca30..a0a23973 100644 --- a/src/lib/db/schema/templates.ts +++ b/src/lib/db/schema/templates.ts @@ -5,6 +5,7 @@ export const templates = pgTable("template", { title: text("title").notNull(), description: text("description"), customFields: json("custum_fields"), + thumbnailUrl: text("thumbnail_url"), createdAt: timestamp("created_at", { withTimezone: true, mode: "date",