feat(storage): add local storage framework
This commit is contained in:
parent
228da8f814
commit
964b545bc5
24 changed files with 890 additions and 98 deletions
15
scripts/migrate.sh
Executable file
15
scripts/migrate.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
echo "==> Running database migrations"
|
||||
|
||||
if docker compose ps --services --filter "status=running" | grep -qx "hermes"; then
|
||||
docker compose exec -T hermes uv run alembic upgrade head
|
||||
else
|
||||
cd backend/hermes
|
||||
uv run alembic upgrade head
|
||||
fi
|
||||
|
||||
echo "==> Migrations completed"
|
||||
Loading…
Add table
Add a link
Reference in a new issue