diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-29 13:31:40 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-29 13:31:40 +0000 |
| commit | 4614210aa9878922cfa1e424ce677ef893a1b6b2 (patch) | |
| tree | 5e7edcce05fbee207230af0a43ed08cd351d7c4f /db/schema/fileSystem.ts | |
| parent | e41e3af4e72870d44a94b03e0f3246d6ccaaca48 (diff) | |
(대표님) 구매 권한설정, data room 등
Diffstat (limited to 'db/schema/fileSystem.ts')
| -rw-r--r-- | db/schema/fileSystem.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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(), |
