feat: implement MySQL driver and schema discovery service for dynamic database management

This commit is contained in:
Ümit Tunç
2026-04-24 22:45:20 +03:00
parent 5af75c95dd
commit b5282df56f
5 changed files with 68 additions and 6 deletions
@@ -111,7 +111,9 @@ class SchemaController extends Controller
try {
$this->initializeDriver($request);
$config = $request->only(['host', 'username', 'password', 'database', 'port', 'table']);
$filePath = $this->databaseService->export($config);
$filters = json_decode($request->get('filters', '[]'), true);
$filePath = $this->databaseService->export($config, $filters);
return Response::download($filePath)->deleteFileAfterSend(true);
} catch (\Exception $e) {