feat: run database seed after migrations

This commit is contained in:
2026-09-24 15:22:41 +02:00
parent c5d28ee3b5
commit 4bd0a1e5b3
+7 -1
View File
@@ -18,7 +18,13 @@ spec:
containers:
- name: migrate
image: gitea.infrastructure.helmholz.cloud/gitea_admin/nextgen-be:latest
command: ["alembic", "upgrade", "head"]
command:
- /bin/sh
- -c
- |
set -e
alembic upgrade head
python -m app.db.seed_dev
envFrom:
- secretRef:
name: nextgen-be-db