mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-07 08:52:35 +00:00
Add database and database users sync (#537)
* Add database and database users sync * get mysl users * add mariadb and postgres * fix phpstan
This commit is contained in:
@ -26,7 +26,18 @@ public function runBackup(BackupFile $backupFile): void;
|
||||
|
||||
public function restoreBackup(BackupFile $backupFile, string $database): void;
|
||||
|
||||
public function updateCharsets(): void;
|
||||
/**
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function getCharsets(): array;
|
||||
|
||||
public function syncDatabases(bool $createNew = true): void;
|
||||
/**
|
||||
* @return array<int, array<string>>
|
||||
*/
|
||||
public function getDatabases(): array;
|
||||
|
||||
/**
|
||||
* @return array<int, array<string>>
|
||||
*/
|
||||
public function getUsers(): array;
|
||||
}
|
||||
|
Reference in New Issue
Block a user