docs(field-trials): FT17 (schema-diff) report — ADR-0009 implementation#418
Merged
Merged
Conversation
ADR-0009 (#416) で Option C 採用、実装は別 trial と明記したものを FT17 で実装した報告。Trial Issue #417。 ### 結果 - cli/schemaDiff.php + SchemaDiffer + SchemaCompiler 4 helper を public に promote - MySQL / SQLite 双方サポート (introspection は INFORMATION_SCHEMA / PRAGMA) - 5 live scenarios (sync / new-column / round-trip / extra-column warn / drop-table → CREATE) 全 pass - 10 unit cases (128 → 138) - composer test / analyze / format:check 全 green ### F-N (5 件、F-5 のみ medium) - F-1 (informational): SchemaCompiler 4 helper を private→public 化 - F-2 (informational): MySQL INFORMATION_SCHEMA 大文字 vs SQLite PRAGMA 小文字 を inline で handle - F-3 (ergonomics): composer schema:diff alias 追加要 - F-4 (ergonomics): --help expand を docs PR で - F-5 (medium feature-gap): **Add-index path 未実装** (ADR-0009 scope 内 だが trial scope に入れず) → 小 follow-up issue で別途 ### Aftermath - Feat PR: SchemaDiffer + cli/schemaDiff.php + SchemaCompiler promotion + composer alias + tests (1 PR) - Docs PR: docs/development/schema-migrations.md + ADR cross-link + AGENTS + --help expand - Follow-up issue: add-index path (small) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This was referenced May 22, 2026
Merged
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ADR-0009 (#416) draft 直後の implementation trial 報告。Trial Issue #417。
結果
F-N (5 件)
Aftermath plan
Closes #417.
Test plan