1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 16:24:04 +00:00

canCreate database

This commit is contained in:
Samuel Štancl 2019-09-08 16:52:10 +02:00
parent 08319695b9
commit de54b5708c
7 changed files with 60 additions and 7 deletions

View file

@ -21,4 +21,12 @@ interface TenantDatabaseManager
* @return bool
*/
public function deleteDatabase(string $name): bool;
/**
* Does a database exist.
*
* @param string $name
* @return boolean
*/
public function databaseExists(string $name): bool;
}