docs(database): schema が 3 箇所に重複していることを明文化する (#295)#302
Merged
Conversation
FT2 F-7 / PR #240 で documented した parity 注記は 2 箇所 (docker/mysql/init/001_schema.sql と cli/initSQLite.php) だけで、 class/xion/DatabaseInstaller.php (cli/setupDatabase.php が呼ぶ canonical installer) が同じ schema を inline で保持している事実が 未記載だった (FT6 F-2)。 docs/development/docker.md の "Schema Parity Between SQLite and MySQL" を 3-way に拡張し、各 site の役割 (initial volume init / legacy CLI / canonical installer) を明示。新規 table を追加する contributor は 3 箇所同時編集 + 両 runtime での verify が必要。 docs/review/database.md の self-review checklist 項目も "both ... and ..." → "all three" に更新。 ADR-class な consolidation (PHP array で schema source 一元化等) は 本 PR では行わない。FT6 report で「將來の trial で再発したら ADR で escalate」と記録済。 Closes #295. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
Test plan
🤖 Generated with Claude Code