mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 13:06:45 +00:00
Make sure to run database migrations first! (DUH)
This commit is contained in:
parent
563bfe9bf5
commit
4765065eb0
@ -46,6 +46,7 @@ script:
|
|||||||
- invoke export-records -f data.json
|
- invoke export-records -f data.json
|
||||||
# Create a new empty database and import the saved data
|
# Create a new empty database and import the saved data
|
||||||
- rm inventree_default_db.sqlite3
|
- rm inventree_default_db.sqlite3
|
||||||
|
- invoke migrate
|
||||||
- invoke import-records -f data.json
|
- invoke import-records -f data.json
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user