feat: implement database management API with MySQL driver and schema operations

This commit is contained in:
Ümit Tunç
2026-04-28 20:19:56 +03:00
parent 2e529bb61c
commit 01ddb81aa9
7 changed files with 276 additions and 9 deletions
@@ -83,4 +83,14 @@ interface DatabaseDriverInterface
* Create a new database.
*/
public function createDatabase(string $name, string $charset = 'utf8mb4', string $collation = 'utf8mb4_unicode_ci'): bool;
/**
* Drop a database.
*/
public function dropDatabase(string $name): bool;
/**
* Rename a database.
*/
public function renameDatabase(string $oldName, string $newName): bool;
}