Loading...
Loading...
ClickHouse queries, Goose migrations, chdb test schema, Weaviate collections/migrations, or telemetry storage paths.
npx skill4agent add latitude-dev/latitude-llm database-clickhouse-weaviatepackages/platform/db-clickhouse{name:Type}query_paramsbrew install goosepackages/platform/db-clickhouse/clickhouse/migrations/unclustered/clustered/CLICKHOUSE_CLUSTER_ENABLED=truegoose_db_versionpackages/platform/db-clickhouse/clickhouse/.migration-lockch:createch:*ch:schema:dump# Apply all pending migrations
pnpm --filter @platform/db-clickhouse ch:up
# Roll back last migration
pnpm --filter @platform/db-clickhouse ch:down
# Show migration status
pnpm --filter @platform/db-clickhouse ch:status
# Create a new migration (creates the next sequential file in both unclustered/ and clustered/)
pnpm --filter @platform/db-clickhouse ch:create <migration_name>
# Roll back ALL migrations (equivalent to drop)
pnpm --filter @platform/db-clickhouse ch:drop
# Reset ClickHouse volume and re-migrate (nuclear option)
pnpm --filter @platform/db-clickhouse ch:reset
# Seed sample span data
pnpm --filter @platform/db-clickhouse ch:seedch:create <name>00016_name.sqlunclustered/clustered/clickhouse/.migration-lockclickhouse/.migration-lock.sql-- +goose Up-- +goose Down-- +goose NO TRANSACTIONunclustered/clustered/ALTER TABLEunclustered/ReplacingMergeTreeclustered/ON CLUSTER defaultReplicated*code: 517Code: 517doesn't catchup with latest ALTER query updatesIF EXISTSIF NOT EXISTSALTERALTER TABLE ...ch:uppackages/platform/db-clickhouse/clickhouse/scripts/up.shgoose ... upalter_syncdistributed_ddl_task_timeoutreplication_wait_for_inactive_replica_timeoutCLICKHOUSE_MIGRATION_MAX_RETRIES20CLICKHOUSE_MIGRATION_RETRY_DELAY_SECONDS5CLICKHOUSE_MIGRATION_MAX_RETRY_DELAY_SECONDS30CLICKHOUSE_MIGRATION_ALTER_SYNC2CLICKHOUSE_MIGRATION_DISTRIBUTED_DDL_TASK_TIMEOUT_SECONDS300CLICKHOUSE_MIGRATION_REPLICA_WAIT_TIMEOUT_SECONDS300packages/platform/db-weaviate/src/client.tscreateWeaviateClient()createWeaviateClientEffect()packages/platform/db-weaviate/src/collections.tsdefineWeaviateCollections([...])packages/platform/db-weaviate/src/migrations.tscollections.exists()pnpm --filter @platform/db-weaviate wv:migratepackages/platform/db-weaviate/src/migrate.tspackages/platform/db-weaviatesrc/collections.tswv:migrate