feat(postgres): add extension management

This commit is contained in:
amwps290 authored and GitHub committed 2026-07-22 15:08:51 +08:00
1 parent 63dd0e88b5
commit 52499f4c9f
13 files changed
+426 -122

No files matched your search

+2 -2
View File
@@ -437,9 +437,9 @@ pub async fn list_extensions(
state: State<'_, Arc<AppState>>,
connection_id: String,
database: String,
schema: String,
schema: Option<String>,
) -> Result<Vec<db::ExtensionInfo>, String> {
dbx_core::schema::list_extensions_core(&state, &connection_id, &database, &schema).await
dbx_core::schema::list_extensions_core(&state, &connection_id, &database, schema.as_deref()).await
}
#[tauri::command]