mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 10:14:04 +00:00
backtick -> single quote
This commit is contained in:
parent
c3dee2bce0
commit
90d0ff5b9a
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