Sqlx Sync banner
SaaSy-Solutions SaaSy-Solutions

Sqlx Sync

Development community

Description

--- allowed-tools: Bash, Read, Grep description: Regenerate the SQLx offline query cache after changing mockforge-collab queries --- # /sqlx-sync — Regenerate SQLx Query Cache `mockforge-collab` uses SQLx in offline mode. After editing any `sqlx::query!` / `query_as!` macro, the cached `.sqlx/` query metadata goes stale and CI (and offline builds) fail with "query not found in cache". This regenerates it. ## Steps 1. Confirm collab queries actually changed: ```bash git diff --name-only

Installation

Installs to ~/.claude/commands/saasy-solutions-mockforge-sqlx-sync.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/SaaSy-Solutions/mockforge/HEAD/.claude/commands/sqlx-sync.md -o ~/.claude/commands/saasy-solutions-mockforge-sqlx-sync.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository