feat: implement MySQL driver and API schema services for database management

This commit is contained in:
Ümit Tunç
2026-04-24 08:29:43 +03:00
parent c433630e33
commit 60cd2fe051
10 changed files with 668 additions and 154 deletions
@@ -33,4 +33,19 @@ interface DatabaseDriverInterface
* Get the underlying connection instance.
*/
public function getConnection();
/**
* Export the database.
*/
public function export(array $config): string;
/**
* Import the database.
*/
public function import(array $config, string $filePath): bool;
/**
* Get database metadata (charset, collation, size, etc.)
*/
public function getDatabaseMetadata(string $database): array;
}