]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/cats/update_bacula_tables.in
remove GROUP BY on db_get_job_volume_names. REVIEW.
[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 xsqlite = x@DB_NAME@ ; then
7   echo "Altering SQLite tables"
8   . ./update_sqlite_tables
9 fi
10 if test xmysql = x@DB_NAME@ ; then
11   echo "Altering MySQL tables"
12   . ./update_mysql_tables
13 fi
14 if test xpostgresql = x@DB_NAME@ ; then
15   echo "Altering PostgreSQL tables"
16   # we need the bacula datbase name in here... Should not be hardcoded
17   . ./update_postgresql_tables bacula
18 fi