Spaces:
Paused
Paused
Download tests/scratch_test.mjs from igorkurgin/omniroute: direct link, hf CLI and curl.
- Browser
- Download file 214 Bytes
-
https://huggingface.co/spaces/igorkurgin/omniroute/resolve/main/tests/scratch_test.mjs
- Command line
-
hf download hf://spaces/igorkurgin/omniroute/tests/scratch_test.mjs
-
curl -L -o scratch_test.mjs https://huggingface.co/spaces/igorkurgin/omniroute/resolve/main/tests/scratch_test.mjs
214 Bytes
| import { getDbInstance } from "../src/lib/db/core.ts"; | |
| import { runMigrations, getMigrationStatus } from "../src/lib/db/migrationRunner.ts"; | |
| const db = getDbInstance(); | |
| console.log(getMigrationStatus(db).pending); | |