layerindex-web/docker/migrate.sh
Paul Eggleton 32df911836 docker: migrate all applications, not just layerindex
If we're starting a new database, or one of the other applications
(i.e. dependencies of the main layerindex application) has been
upgraded, we need to be migrate all of the applications rather than just
layerindex, so have migrate.sh do that.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2018-07-23 08:40:00 +02:00

3 lines
53 B
Bash
Executable File

#!/bin/bash
python /opt/layerindex/manage.py migrate