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>
This commit is contained in:
Paul Eggleton 2018-07-10 15:45:01 +02:00
parent e82b9af3a3
commit 32df911836

View File

@ -1,2 +1,2 @@
#!/bin/bash
python /opt/layerindex/manage.py migrate layerindex
python /opt/layerindex/manage.py migrate