diff --git a/mosaic.config.json b/mosaic.config.json index cb5a702..7aa9626 100644 --- a/mosaic.config.json +++ b/mosaic.config.json @@ -1,6 +1,6 @@ { "tier": "local", - "storage": { "type": "sqlite", "path": ".mosaic/data.db" }, + "storage": { "type": "pglite", "dataDir": ".mosaic/storage-pglite" }, "queue": { "type": "local", "dataDir": ".mosaic/queue" }, "memory": { "type": "keyword" } } diff --git a/packages/config/src/mosaic-config.ts b/packages/config/src/mosaic-config.ts index c7bf045..63c7fbf 100644 --- a/packages/config/src/mosaic-config.ts +++ b/packages/config/src/mosaic-config.ts @@ -26,7 +26,7 @@ export interface MosaicConfig { export const DEFAULT_LOCAL_CONFIG: MosaicConfig = { tier: 'local', - storage: { type: 'sqlite', path: '.mosaic/data.db' }, + storage: { type: 'pglite', dataDir: '.mosaic/storage-pglite' }, queue: { type: 'local', dataDir: '.mosaic/queue' }, memory: { type: 'keyword' }, }; @@ -43,7 +43,7 @@ export const DEFAULT_TEAM_CONFIG: MosaicConfig = { /* ------------------------------------------------------------------ */ const VALID_TIERS = new Set(['local', 'team']); -const VALID_STORAGE_TYPES = new Set(['postgres', 'sqlite', 'files']); +const VALID_STORAGE_TYPES = new Set(['postgres', 'pglite', 'files']); const VALID_QUEUE_TYPES = new Set(['bullmq', 'local']); const VALID_MEMORY_TYPES = new Set(['pgvector', 'sqlite-vec', 'keyword']);