From 393ec72523f33e1ee85178f7e31156b9e9a2fcdd Mon Sep 17 00:00:00 2001 From: Tim Lorsbach Date: Tue, 11 Nov 2025 15:07:10 +0100 Subject: [PATCH] add make migration step --- .gitea/workflows/ci.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 863c0643..c8ea35e4 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -105,7 +105,12 @@ jobs: until pg_isready -h postgres -U postgres; do sleep 2; done # until redis-cli -h redis ping; do sleep 2; done - - name: Run Django migrations + - name: Make Django Migrations + run: | + source .venv/bin/activate + python manage.py makemigrations --noinput + + - name: Run Django Migrations run: | source .venv/bin/activate python manage.py migrate --noinput