feat: add SQL library panel with folder/file management, rename, and sync support

This commit is contained in:
t8y2 committed 2026-06-10 02:46:10 +08:00
1 parent d7a8f5d285
commit 9ffa4c41d9
26 files changed
+711 -352

No files matched your search

+4
View File
@@ -6,6 +6,8 @@ pub struct SavedSqlFolder {
pub id: String,
pub connection_id: String,
pub name: String,
#[serde(default)]
pub order_index: i64,
pub created_at: String,
pub updated_at: String,
}
@@ -20,6 +22,8 @@ pub struct SavedSqlFile {
pub database: String,
pub schema: Option<String>,
pub sql: String,
#[serde(default)]
pub order_index: i64,
pub created_at: String,
pub updated_at: String,
}