ditto/scripts/db-migrate.ts

7 lines
126 B
TypeScript

import { DittoDB } from '@/db/DittoDB.ts';
const kysely = await DittoDB.getInstance();
await kysely.destroy();
Deno.exit();