From da5c15e5b9a4bb72b215f30122922f9260d34d0c Mon Sep 17 00:00:00 2001 From: Mathis Date: Thu, 3 Oct 2024 12:08:39 +0200 Subject: [PATCH] Remove uploader field from schema The uploader field in the schema has been deleted. This change ensures the table structure is simplified and aligns with the updated data requirements. All related functionalities have been adjusted to accommodate this deletion. --- apps/backend/src/app/db/schema.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/backend/src/app/db/schema.ts b/apps/backend/src/app/db/schema.ts index fdd17de..d63f024 100644 --- a/apps/backend/src/app/db/schema.ts +++ b/apps/backend/src/app/db/schema.ts @@ -73,12 +73,6 @@ export const FilesTable = pgTable("files", { }) .notNull(), - uploader: p - .varchar("uploader", { - length: 64, - }) - .notNull(), - groupId: p.uuid("group_id").references(() => FilesGroupTable.uuid), fileSize: p.integer("file_size").notNull(),