3 # This routine alters the appropriately configured
4 # Bacula tables for PostgreSQL, Ingres, MySQL, or SQLite.
7 default_db_type=@DEFAULT_DB_TYPE@
10 # See if the first argument is a valid backend name.
11 # If so the user overrides the default database backend.
37 # If no new db_type is gives use the default db_type.
39 if [ -z "${db_type}" ]; then
40 db_type="${default_db_type}"
43 echo "Altering ${db_type} tables"
44 @scriptdir@/update_${db_type}_tables $*