Files
metabuilder/frontends/qt6/config/database-backends.json
johndoe6345789 491c4cffed refactor(qt6): push for sub-100 LOC — JS modules, JSON configs, compact formatting
WorkflowEditor (325→80): CWorkflowState.qml + WorkflowConnectionState.js
DashboardView (121→95): DashboardDBAL.js + config/dashboard-config.json
Storybook (114→78): StorybookSidebar + config/storybook-components.json
+ 7 components compacted to under 100 via formatting (no logic changes)
+ Multiple view/component splits across all remaining 100+ LOC files

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 14:58:28 +00:00

20 lines
4.2 KiB
JSON

{
"backends": [
{ "name": "Memory", "key": "memory", "status": "connected", "description": "In-memory store for testing and development", "connectionString": ":memory:", "records": 142, "sizeKb": 56, "lastBackup": "N/A (volatile)" },
{ "name": "SQLite", "key": "sqlite", "status": "connected", "description": "Embedded database, generic CRUD via Inja SQL templates", "connectionString": "sqlite:///var/lib/dbal/metabuilder.db", "records": 8741, "sizeKb": 3200, "lastBackup": "2026-03-18 02:00" },
{ "name": "PostgreSQL", "key": "postgres", "status": "connected", "description": "Direct connection, no ORM. Primary production backend", "connectionString": "postgres://dbal:secret@db:5432/metabuilder", "records": 54320, "sizeKb": 98400, "lastBackup": "2026-03-18 04:30" },
{ "name": "MySQL", "key": "mysql", "status": "disconnected", "description": "Direct connection, no ORM", "connectionString": "mysql://dbal:secret@mysql:3306/metabuilder", "records": 0, "sizeKb": 0, "lastBackup": "Never" },
{ "name": "MariaDB", "key": "mariadb", "status": "disconnected", "description": "Reuses MySQL adapter with MariaDB-specific extensions", "connectionString": "mariadb://dbal:secret@mariadb:3306/metabuilder", "records": 0, "sizeKb": 0, "lastBackup": "Never" },
{ "name": "CockroachDB", "key": "cockroachdb", "status": "disconnected", "description": "Distributed SQL, reuses PostgreSQL adapter", "connectionString": "cockroachdb://root@crdb:26257/metabuilder", "records": 0, "sizeKb": 0, "lastBackup": "Never" },
{ "name": "MongoDB", "key": "mongodb", "status": "error", "description": "Document store with JSON to BSON bridging", "connectionString": "mongodb://mongo:27017/metabuilder", "records": 0, "sizeKb": 0, "lastBackup": "Never" },
{ "name": "Redis", "key": "redis", "status": "connected", "description": "Cache layer (L1/L2 with primary DB)", "connectionString": "redis://localhost:6379/0?ttl=300", "records": 1205, "sizeKb": 820, "lastBackup": "N/A (cache)" },
{ "name": "Elasticsearch", "key": "elasticsearch", "status": "connected", "description": "Full-text search and analytics layer", "connectionString": "http://localhost:9200?index=dbal_search", "records": 48210, "sizeKb": 62100, "lastBackup": "2026-03-18 03:15" },
{ "name": "Cassandra", "key": "cassandra", "status": "disconnected", "description": "Wide-column store for high-throughput writes", "connectionString": "cassandra://cassandra:9042/metabuilder", "records": 0, "sizeKb": 0, "lastBackup": "Never" },
{ "name": "SurrealDB", "key": "surrealdb", "status": "disconnected", "description": "Multi-model database: documents, graphs, and KV", "connectionString": "ws://surrealdb:8000/rpc", "records": 0, "sizeKb": 0, "lastBackup": "Never" },
{ "name": "Supabase", "key": "supabase", "status": "disconnected", "description": "PostgreSQL + REST + Realtime + Row Level Security", "connectionString": "https://project.supabase.co?apikey=...", "records": 0, "sizeKb": 0, "lastBackup": "Never" },
{ "name": "Prisma", "key": "prisma", "status": "disconnected", "description": "ORM with HTTP bridge for schema-driven access", "connectionString": "prisma://localhost:4466/metabuilder", "records": 0, "sizeKb": 0, "lastBackup": "Never" },
{ "name": "Generic", "key": "generic", "status": "disconnected", "description": "Custom adapter via DATABASE_URL with driver query params", "connectionString": "generic://localhost:9999/custom?driver=mydriver", "records": 0, "sizeKb": 0, "lastBackup": "Never" }
],
"adapterPatterns": ["read-through", "write-through", "cache-aside", "dual-write"]
}