diff --git a/.github/workflows/mysql.yaml b/.github/workflows/mysql.yaml index 58a5c80388..e4fd7ed81d 100644 --- a/.github/workflows/mysql.yaml +++ b/.github/workflows/mysql.yaml @@ -51,6 +51,7 @@ jobs: run: invoke test - name: Data Import Export run: | + invoke migrate python3 ./InvenTree/manage.py flush --noinput invoke import-fixtures invoke export-records -f data.json diff --git a/.github/workflows/postgresql.yaml b/.github/workflows/postgresql.yaml index 8f86d2c219..3938457722 100644 --- a/.github/workflows/postgresql.yaml +++ b/.github/workflows/postgresql.yaml @@ -47,6 +47,7 @@ jobs: run: invoke test - name: Data Import Export run: | + invoke migrate python3 ./InvenTree/manage.py flush --noinput invoke import-fixtures invoke export-records -f data.json