exec migrations after package update

This commit is contained in:
Roy Kaldung 2015-12-03 14:16:55 +01:00
parent 6f6b12b5aa
commit d81355f9e8

View file

@ -0,0 +1,10 @@
#!/bin/bash
set -e
if zammad config:get DATABASE_URL ; then
zammad run rake db:migrate
fi
touch tmp/restart.txt
exit 0