feat: include SQL scripts in schema diff #17

Merged
warkanum merged 1 commits from issue-16-migration-script-count into master 2026-08-18 11:52:26 +00:00
Member

Summary

Add SQL-directory script support to schema diffing. The diff engine now reports missing, extra, and modified scripts, includes script counts in summaries/formatters, and the diff command accepts sqldir/scripts/scriptdir inputs. Focused regression coverage covers script comparison, formatting, summaries, and CLI reader selection.

Verification

  • go test ./pkg/diff ./cmd/relspec — passed
  • go test ./... — passed
  • git diff --check — passed

Model selection: Tuesday primary Claude Code claude-sonnet-4-6 failed before repository access with OAuth HTTP 401; Codex gpt-5.5 completed the implementation, and the dispatcher independently verified the full Go test suite, commit, and remote SHA.

Closes #16

## Summary Add SQL-directory script support to schema diffing. The diff engine now reports missing, extra, and modified scripts, includes script counts in summaries/formatters, and the `diff` command accepts `sqldir`/`scripts`/`scriptdir` inputs. Focused regression coverage covers script comparison, formatting, summaries, and CLI reader selection. ## Verification - `go test ./pkg/diff ./cmd/relspec` — passed - `go test ./...` — passed - `git diff --check` — passed Model selection: Tuesday primary Claude Code `claude-sonnet-4-6` failed before repository access with OAuth HTTP 401; Codex `gpt-5.5` completed the implementation, and the dispatcher independently verified the full Go test suite, commit, and remote SHA. Closes #16
sgcommand added 1 commit 2026-08-17 22:17:07 +00:00
warkanum merged commit 51b63f659e into master 2026-08-18 11:52:26 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wdevs/relspecgo#17