]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/cats/update_bacula_tables.in
8ce59a573b4f586456e43854c84cca2c53d6df99
[bacula/bacula] / bacula / src / cats / update_bacula_tables.in
1 #!/bin/sh
2 #
3 # This routine alters the appropriately configured
4 #  Bacula tables for PostgreSQL, MySQL, or SQLite.
5 #
6 if test xsqlite3 = x@DB_TYPE@ ; then
7   echo "Altering SQLite tables"
8   @scriptdir@/update_@DB_TYPE@_tables $*
9 fi
10 if test xmysql = x@DB_TYPE@ ; then
11   echo "Altering MySQL tables"
12   @scriptdir@/update_mysql_tables $*
13 fi
14 if test xpostgresql = x@DB_TYPE@ ; then
15   echo "Altering PostgreSQL tables"
16   @scriptdir@/update_postgresql_tables $*
17 fi