echo yes | cta-catalogue-schema-drop /etc/cta/cta-catalogue.conf|| die "ERROR: Could not wipe database. cta-catalogue-schema-drop /etc/cta/cta-catalogue.conf FAILED"
cta-catalogue-schema-create /etc/cta/cta-catalogue.conf|| die "ERROR: Could not create database schema. cta-catalogue-schema-create /etc/cta/cta-catalogue.conf FAILED"
cta-catalogue-schema-create /etc/cta/cta-catalogue.conf|| die "ERROR: Could not create database schema. cta-catalogue-schema-create /etc/cta/cta-catalogue.conf FAILED"
cta-catalogue-schema-create /etc/cta/cta-catalogue.conf|| die "ERROR: Could not create database schema. cta-catalogue-schema-create /etc/cta/cta-catalogue.conf FAILED"
else
echo"${DATABASETYPE}: Unsupported database type."
die "ERROR: Unsupported database type: ${DATABASETYPE}"