Add migration check for 0.12.0 database (#5174)

This commit is contained in:
Oliver 2023-07-05 10:07:48 +10:00 committed by GitHub
parent aec56d4b34
commit 9cf629ccc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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