mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-19 16:16:45 +00:00
fix: export McpKeychainAccess type and format dialect capabilities
This commit is contained in:
@@ -1203,6 +1203,7 @@ export type {
|
||||
GlobalSearchRequest,
|
||||
GlobalSearchMatch,
|
||||
GlobalSearchSettings,
|
||||
McpKeychainAccess,
|
||||
} from "@/lib/backend/tauri";
|
||||
|
||||
// MQTT
|
||||
|
||||
@@ -149,19 +149,17 @@ pub(super) fn capabilities_for(
|
||||
},
|
||||
// GBase 8s is Informix-compatible, unlike GBase 8a (`Gbase`), which speaks
|
||||
// the MySQL wire protocol and SQL dialect.
|
||||
Some(DatabaseType::Gbase8s) => {
|
||||
TableStructureCapabilities {
|
||||
dialect: StructureDialect::Informix,
|
||||
add_column: true,
|
||||
drop_column: true,
|
||||
rename_column: true,
|
||||
alter_existing_column: true,
|
||||
create_index: true,
|
||||
drop_index: true,
|
||||
rebuild_index: true,
|
||||
..base
|
||||
}
|
||||
}
|
||||
Some(DatabaseType::Gbase8s) => TableStructureCapabilities {
|
||||
dialect: StructureDialect::Informix,
|
||||
add_column: true,
|
||||
drop_column: true,
|
||||
rename_column: true,
|
||||
alter_existing_column: true,
|
||||
create_index: true,
|
||||
drop_index: true,
|
||||
rebuild_index: true,
|
||||
..base
|
||||
},
|
||||
Some(DatabaseType::Gbase) => TableStructureCapabilities {
|
||||
dialect: StructureDialect::Mysql,
|
||||
add_column: true,
|
||||
|
||||
Reference in New Issue
Block a user