summaryrefslogtreecommitdiffstats
path: root/lava-master
diff options
context:
space:
mode:
Diffstat (limited to 'lava-master')
-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"