#!/bin/bash set -e set -o pipefail cd "$(dirname "$0")" BASEDIR=".." test "$1" = '-f' || ( echo "Run '$0' -f to DROP ALL ICINGADB TABLES and re-create them using the current schema" false ) set -x ( mysql -uroot -e 'SHOW TABLES\G' icingadb