From 9cf629ccc55549fd271e62b67972efca3e5e9263 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 5 Jul 2023 10:07:48 +1000 Subject: [PATCH] Add migration check for 0.12.0 database (#5174) --- .github/workflows/qc_checks.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index 569bd90de5..4a2669dac4 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -380,3 +380,10 @@ jobs: cp test-db/stable_0.11.0.sqlite3 /home/runner/work/InvenTree/db.sqlite3 chmod +rw /home/runner/work/InvenTree/db.sqlite3 invoke migrate + + - name: 0.12.0 Database + run: | + rm /home/runner/work/InvenTree/db.sqlite3 + cp test-db/stable_0.12.0.sqlite3 /home/runner/work/InvenTree/db.sqlite3 + chmod +rw /home/runner/work/InvenTree/db.sqlite3 + invoke migrate