This commit is contained in:
2025-12-09 00:51:38 +01:00
parent 6a56aa4000
commit 45ed70319a
4 changed files with 100 additions and 19 deletions

View File

@@ -33,6 +33,7 @@ $bridgeConfig = [
],
],
'tables_allow' => [], // optional whitelist: ['customers', 'orders']
'setup_hint' => '__SETUP_HINT__',
];
// {{BRIDGE_DB_SETUP}}
@@ -199,6 +200,7 @@ while ($row = $tablesStmt->fetch(PDO::FETCH_NUM)) {
bridgeRespond([
'ok' => true,
'tables' => $tables,
'setup_hint' => $bridgeConfig['setup_hint'] ?? null,
'fetched' => date(DATE_ATOM),
]);
} catch (Throwable $e) {