Add development command to reset the database and rerun migrations

This commit is contained in:
2026-01-24 15:12:11 -06:00
parent 960f78a1ad
commit 474420ac1e
4 changed files with 93 additions and 3 deletions

9
framework/develop.d/reset-db Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
set -eu
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT="$DIR/../.."
cd "$ROOT/express"
"$DIR"/../cmd.d/tsx develop/reset-db.ts "$@"