mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-17 21:44:23 +01:00
Test Postgres in the CI
This commit is contained in:
6
scripts/db-migrate.ts
Normal file
6
scripts/db-migrate.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { DittoDB } from '@/db/DittoDB.ts';
|
||||
|
||||
const kysely = await DittoDB.getInstance();
|
||||
await kysely.destroy();
|
||||
|
||||
Deno.exit();
|
||||
Reference in New Issue
Block a user