PlaceAVote / pav-api

This repository contains the Placeavote API.
0 stars 0 forks source link

Add command line arguments for migrations #79

Closed sanel closed 8 years ago

sanel commented 8 years ago

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 ;)