#!/bin/sh
#
# This routine alters the appropriately configured
#  Bacula tables for PostgreSQL, MySQL, or SQLite.
#
if test xsqlite = xsqlite -o xsqlite3 = xsqlite ; then
  echo "Altering SQLite tables"
  /usr/local/libexec/bacula/update_sqlite_tables $*
fi
if test xmysql = xsqlite ; then
  echo "Altering MySQL tables"
  /usr/local/libexec/bacula/update_mysql_tables $*
fi
if test xpostgresql = xsqlite ; then
  echo "Altering PostgreSQL tables"
  /usr/local/libexec/bacula/update_postgresql_tables $*
fi
