chunked upload controller

This commit is contained in:
mertalev
2025-09-24 13:56:46 -04:00
parent 2c50f2e244
commit 7561c5e1c4
15 changed files with 734 additions and 17 deletions
@@ -0,0 +1,9 @@
import { Kysely, sql } from 'kysely';
export async function up(db: Kysely<any>): Promise<void> {
await sql`ALTER TYPE "assets_status_enum" ADD VALUE IF NOT EXISTS 'partial'`.execute(db);
}
export async function down(db: Kysely<any>): Promise<void> {
// Cannot remove enum values in PostgreSQL
}