1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +02:00

AdminerSqlGemini: Send vendor

This commit is contained in:
Jakub Vrana
2025-03-25 06:17:21 +01:00
parent 2c72b879e9
commit 190d91a0f9

View File

@@ -24,7 +24,7 @@ class AdminerSqlGemini {
function headers() {
if ($_POST["gemini"] && !isset($_POST["query"])) {
$prompt = "I have a database with this structure:\n\n";
$prompt = "I have a " . Adminer\get_driver(Adminer\DRIVER) . " database with this structure:\n\n";
foreach (Adminer\tables_list() as $table => $type) {
$prompt .= Adminer\create_sql($table, false, "CREATE") . ";\n\n";
}