$auth_dbh->disconnect;
dbh_do($dbh_template, "DROP DATABASE \"" . $db_cfg->{db} . "\"", message => "Database could not be dropped");
-
- $::auth->reset;
}
notice("Creating database");
apply_upgrades(auth => 1, dbh => $dbh);
+ $::auth->reset;
+
notice("Creating client, user, group and employee");
dbh_do($dbh, qq|DELETE FROM auth.clients|);