import type { Generated } from "kysely"; interface ThumbnailTable { id: Generated; directory_id: number | null; file_id: number | null; category_id: number | null; path: string; updated_at: Date; encrypted_content_iv: string | null; // Base64 } declare module "./index" { interface Database { thumbnail: ThumbnailTable; } }