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.
This commit is contained in:
Mathis H (Avnyr) 2024-10-03 12:08:39 +02:00
parent addcd4a798
commit da5c15e5b9
Signed by: Mathis
GPG Key ID: DD9E0666A747D126

View File

@ -73,12 +73,6 @@ export const FilesTable = pgTable("files", {
}) })
.notNull(), .notNull(),
uploader: p
.varchar("uploader", {
length: 64,
})
.notNull(),
groupId: p.uuid("group_id").references(() => FilesGroupTable.uuid), groupId: p.uuid("group_id").references(() => FilesGroupTable.uuid),
fileSize: p.integer("file_size").notNull(), fileSize: p.integer("file_size").notNull(),