Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 757 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 757 Bytes

hydra-upgrade-test

Steps to reproduce migration issue

  1. Install MySQL and run hydra migrate sql
$docker-compose up
  1. Install hydra v1.0.0
$docker-compose -f docker-compose.yaml -f docker-compose-install-v1.0.0.yaml up
  1. Migrate to hydra v1.3
$docker-compose -f docker-compose.yaml -f docker-compose-install-v1.0.0.yaml -f docker-compose-migrate-v1.3.yaml up
  1. Migrate to hydra v1.4
$docker-compose -f docker-compose.yaml -f docker-compose-install-v1.0.0.yaml -f docker-compose-migrate-v1.4.yaml up

Expected test results

  • Migration from v1.0.0 to v1.3 should work
  • Migration from v1.3 to v1.4 should fail with below error
error="cipher: message authentication failed"