Add AZ schema migration script and health check
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
"build": "tsc",
|
||||
"start": "node dist/index.js",
|
||||
"migrate": "tsx src/db/migrate.ts",
|
||||
"seed": "tsx src/db/seed.ts"
|
||||
"seed": "tsx src/db/seed.ts",
|
||||
"migrate:az": "tsx src/dutchie-az/db/migrate.ts",
|
||||
"health:az": "tsx -e \"import { healthCheck } from './src/dutchie-az/db/connection'; (async()=>{ const ok=await healthCheck(); console.log(ok?'AZ DB healthy':'AZ DB NOT reachable'); process.exit(ok?0:1); })();\""
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^1.6.2",
|
||||
|
||||
Reference in New Issue
Block a user