ditto/scripts/db-migrate.ts

7 lines
126 B
TypeScript
Raw Normal View History

2024-05-26 23:37:47 +00:00
import { DittoDB } from '@/db/DittoDB.ts';
const kysely = await DittoDB.getInstance();
await kysely.destroy();
Deno.exit();