diff --git a/packages/web/src/stores.ts b/packages/web/src/stores.ts
index 5dfdb4c99..c2ff2c159 100644
--- a/packages/web/src/stores.ts
+++ b/packages/web/src/stores.ts
@@ -463,4 +463,26 @@ cloudConnectionsStore.subscribe(value => {
});
export const getCloudConnectionsStore = () => cloudConnectionsStoreValue;
+export const currentActiveCloudTags = derived(currentDatabase, $currentDatabase => {
+ if (!$currentDatabase || !$currentDatabase.connection) return [];
+ const engine = $currentDatabase.connection?.engine;
+ const [shortName, packageName] = engine.split('@');
+ const tags = [shortName];
+ const res = [...tags];
+
+ if (tags.includes('mariadb')) {
+ res.push('mysql');
+ }
+ if (tags.includes('mysql')) {
+ res.push('mariadb');
+ }
+ if (tags.includes('cockroach')) {
+ res.push('postgres');
+ }
+ if (tags.includes('libsql')) {
+ res.push('sqlite');
+ }
+ return res;
+});
+
window['__changeCurrentTheme'] = theme => currentTheme.set(theme);
diff --git a/plugins/dbgate-plugin-firebird/package.json b/plugins/dbgate-plugin-firebird/package.json
index 5af25c58e..353d75f47 100644
--- a/plugins/dbgate-plugin-firebird/package.json
+++ b/plugins/dbgate-plugin-firebird/package.json
@@ -38,7 +38,7 @@
"wkx": "^0.5.0",
"pg-copy-streams": "^6.0.6",
"node-firebird": "^1.1.9",
- "dbgate-query-splitter": "^4.11.3",
+ "dbgate-query-splitter": "^4.11.5",
"dbgate-tools": "^6.0.0-alpha.1",
"lodash": "^4.17.21",
"pg": "^8.11.5"