mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 03:34:03 +00:00
Remove single quotes
This commit is contained in:
parent
90d0ff5b9a
commit
5e45c310a4
1 changed files with 2 additions and 2 deletions
|
|
@ -9,11 +9,11 @@ class PostgreSQLDatabaseManager implements TenantDatabaseManager
|
||||||
{
|
{
|
||||||
public function createDatabase(string $name): bool
|
public function createDatabase(string $name): bool
|
||||||
{
|
{
|
||||||
return DB::statement("CREATE DATABASE '$name' WITH ENCODING 'UTF8' LC_COLLATE = 'en_US.UTF-8' LC_CTYPE = 'en_US.UTF-8'");
|
return DB::statement("CREATE DATABASE $name WITH ENCODING 'UTF8' LC_COLLATE = 'en_US.UTF-8' LC_CTYPE = 'en_US.UTF-8'");
|
||||||
}
|
}
|
||||||
|
|
||||||
public function deleteDatabase(string $name): bool
|
public function deleteDatabase(string $name): bool
|
||||||
{
|
{
|
||||||
return DB::statement("DROP DATABASE '$name'");
|
return DB::statement("DROP DATABASE $name");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue