mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
9 lines
207 B
TypeScript
9 lines
207 B
TypeScript
import { DittoDB } from '@/db/DittoDB.ts';
|
|
|
|
// This migrates kysely internally.
|
|
const { kysely } = await DittoDB.getInstance();
|
|
|
|
// Close the connection before exiting.
|
|
await kysely.destroy();
|
|
|
|
Deno.exit();
|