From 368a5c3f631e97d18d9ad053fa1d1293d56186d8 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 25 Apr 2021 11:07:43 +1000 Subject: [PATCH] Gotsta create tables first ... --- .github/workflows/mysql.yaml | 1 + .github/workflows/postgresql.yaml | 1 + 2 files changed, 2 insertions(+) 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