summaryrefslogtreecommitdiffstats
path: root/lava-master/entrypoint.d/01_setup.sh
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2020-03-02 01:57:28 -0800
committerGitHub <noreply@github.com>2020-03-02 01:57:28 -0800
commitfef549d5bf6b15bd0be8d6ee0d7e7fdc43f99c62 (patch)
treedc4198c88aabfa1891876a3b25b3ac5fe9a27c23 /lava-master/entrypoint.d/01_setup.sh
parent751e6bbf1d651a4c7335c5de03c31074f4cea1ea (diff)
parent3c351c8a3e168efec48c5d4000ecdc948c0085a1 (diff)
Merge pull request #111 from montjoie/pr-2020.01
Pr 2020.01
Diffstat (limited to 'lava-master/entrypoint.d/01_setup.sh')
-rwxr-xr-xlava-master/entrypoint.d/01_setup.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lava-master/entrypoint.d/01_setup.sh b/lava-master/entrypoint.d/01_setup.sh
index ba81f77..5e437ef 100755
--- a/lava-master/entrypoint.d/01_setup.sh
+++ b/lava-master/entrypoint.d/01_setup.sh
@@ -23,6 +23,8 @@ if [ -e /root/backup/db_lavaserver ];then
tar xzf /root/backup/joboutput.tar.gz || exit $?
fi
+ lava-server manage makemigrations
+ yes yes | lava-server manage migrate || exit $?
if [ -e /root/backup/devices.tar.gz ];then
echo "INFO: Restoring devices files"