From 4614210aa9878922cfa1e424ce677ef893a1b6b2 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Mon, 29 Sep 2025 13:31:40 +0000 Subject: (대표님) 구매 권한설정, data room 등 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/schema/fileSystem.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'db/schema/fileSystem.ts') diff --git a/db/schema/fileSystem.ts b/db/schema/fileSystem.ts index a66e3180..0ce47c87 100644 --- a/db/schema/fileSystem.ts +++ b/db/schema/fileSystem.ts @@ -67,8 +67,8 @@ export const fileItems = pgTable("file_items", { // 파일 정보 mimeType: varchar("mime_type", { length: 255 }), size: bigint("size", { mode: "number" }).default(0).notNull(), - filePath: text("file_path"), // S3 키 또는 로컬 경로 - fileUrl: text("file_url"), // 직접 접근 URL (CDN 등) + filePath: text("file_path"), + fileUrl: text("file_url"), // 권한 카테고리 (외부 사용자용) category: fileCategoryEnum("category").default("confidential").notNull(), -- cgit v1.2.3