GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — opencode/packages/opencode/script/check-migrations.ts at dev · fsinbad/opencode Expand file tree/ Copy pathcheck-migrations.tsMore file actions 16 lines (12 loc) · 454 Bytes / Copy pathcheck-migrations.tsFile metadata and controls16 lines (12 loc) · 454 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #!/usr/bin/env bun import { $ } from "bun" // drizzle-kit check compares schema to migrations, exits non-zero if drift const result = await $`bun drizzle-kit check`.quiet().nothrow() if (result.exitCode !== 0) { console.error("Schema has changes not captured in migrations!") console.error("Run: bun drizzle-kit generate") console.error("") console.error(result.stderr.toString()) process.exit(1) } console.log("Migrations are up to date") |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |