fixed db migrate

This commit is contained in:
André Bauer 2017-01-09 18:51:09 +01:00
parent 21962ca39f
commit e9e242ee64

View File

@ -3,7 +3,7 @@
if [ "$1" = 'zammad' ]; then if [ "$1" = 'zammad' ]; then
cd ${ZAMMAD_DIR} cd ${ZAMMAD_DIR}
bundle exec db:migrate &> /dev/null bundle exec rake db:migrate &> /dev/null
if [ $? != 0 ]; then if [ $? != 0 ]; then
echo "creating db & searchindex..." echo "creating db & searchindex..."