Merge branch 'master' into autofocus_tickets

This commit is contained in:
James Mason 2017-12-12 07:31:39 -08:00 • committed by GitHub
commit e9d2f83e1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,9 @@ dockerize -wait tcp://$DATABASE_HOST:$DATABASE_PORT -timeout 60s true
if [ $(echo "show tables;" | mysql --host $DATABASE_HOST --port $DATABASE_PORT $MYSQL_DATABASE | wc -l) -le 1 ]; then
echo ">>> Initializing database..."
bundle exec rake db:schema:load
echo ">>> Seed database..."
bundle exec rake db:seed
fi
echo ">>> Upgrading database..."