3 # Drop Bacula tables -- works for whatever is configured,
4 # MySQL, SQLite, or PostgreSQL
6 if test xsqlite = x@DB_TYPE@ -o xsqlite3 = x@DB_TYPE@ ; then
7 @scriptdir@/drop_@DB_TYPE@_tables $*
8 echo "Dropped SQLite tables"
10 if test xmysql = x@DB_TYPE@ ; then
11 echo "Making MySQL tables"
12 @scriptdir@/drop_mysql_tables $*
13 echo "Dropped MySQL tables"
15 # hardcoded database name - should be a parameter
16 @scriptdir@/drop_postgresql_tables $*
17 echo "Dropped PostgreSQL tables"