1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 02:54:03 +00:00

minor fixes

This commit is contained in:
Samuel Štancl 2025-06-03 03:33:03 +02:00
parent f9f9e1814a
commit d98229d8ed

View file

@ -772,7 +772,7 @@ function createPostgresUser(string $username, string $password = 'password'): ar
{ {
try { try {
DB::statement("DROP OWNED BY {$username};"); DB::statement("DROP OWNED BY {$username};");
} catch (\Throwable $th) {} } catch (\Throwable) {}
DB::statement("DROP USER IF EXISTS {$username};"); DB::statement("DROP USER IF EXISTS {$username};");