Per talk with John, we need to have arguments for migration: db migrations and data migrations.
We can go with -m for running database migrations and -d for running data migrations (data migrations can run database migrations implicitly).
The goal is to have gradual migrations, so every time pav-api is deployed and started with -d flag, it will migrate missing parts, without migrating existing data. This way we will move data in steps and at the same time validate if moving is done properly.
Per talk with John, we need to have arguments for migration: db migrations and data migrations.
We can go with
-m
for running database migrations and-d
for running data migrations (data migrations can run database migrations implicitly).The goal is to have gradual migrations, so every time
pav-api
is deployed and started with-d
flag, it will migrate missing parts, without migrating existing data. This way we will move data in steps and at the same time validate if moving is done properly.Multiple failures are expected ;)