DB에 thumbnail 테이블 추가

This commit is contained in:
static
2025-02-01 20:33:41 +09:00
parent ad0f3ff950
commit 2105b66cc3
4 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import type { ColumnType, Generated } from "kysely";
interface ThumbnailTable {
id: Generated<number>;
directory_id: number | null;
file_id: number | null;
category_id: number | null;
path: string;
created_at: ColumnType<Date, Date, never>;
encrypted_content_iv: string; // Base64
}
declare module "./index" {
interface Database {
thumbnail: ThumbnailTable;
}
}