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