Skip to content

How to test DB migration #598

Answered by iBobik
iBobik asked this question in Support
Aug 25, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

It seems that this worked:

  • Stop and remove psql container and volume
  • Restart stack
  • contember-cli migration:exec --until 2023-08-16-162735-added-product-size-relation - filename of migration from the "Incompatible schema version" message
  • contember-cli data:import xxx.jsonl.gz
  • contember-cli migration:exec
  • Run own migration tasks and test

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@honzasladek
Comment options

Answer selected by iBobik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants