Repository navigation
Conversation
Claude-Session: https://claude.ai/code/session_01DA9qTtJtm2tPquKk7hyPR5 Signed-off-by: panicboat <panicboat@gmail.com>
panicboat
added this pull request to stack #1543
October 17, 2026 01:35
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
Kustomize DiffService: No changes |
panicboat
marked this pull request as ready for review
October 17, 2026 01:44
This was referenced Oct 17, 2026
Closed
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.
Why
#1542 でカルテを新しい表(
karte.kartes・karte.events)に作り替え、アプリから旧カルテの 3 表(karte.entries・karte.reports・karte.access)への参照を外しました。本 PR はその旧表を削除します。#1517 / #1519 の対応の第 4 段のうち、4d です。stack: #1521 → #1542 → #1544 → #1545 → #1546 → #1547 → 本 PR。Deploy order
#1521〜#1547 を main に入れて本番デプロイが終わってから、本 PR を別に merge してください。
dystopia/lambda/README.mdのとおり、migration はアプリより先に反映されます。同じデプロイに入れると、アプリが入れ替わるまでの間、古いアプリが消えた表を読んでエラーになります。Decisions
karteスキーマは新しい表が使うので残すlast_activity_atなどの default)は今のアプリが使っているので残すVerification
spec/config/db/karte_schema_spec.rb(karteスキーマにはeventsとkartesだけがある): migration を足す前は失敗(access・entries・reportsが残る)、足した後は通過HANAMI_ENV=test bundle exec rspec→ 775 examples, 0 failureshanami db migrateとhanami db seedが通り、karteスキーマにevents・kartesだけが残ることを確認Refs #1517
Refs #1519
🤖 Generated with Claude Code
https://claude.ai/code/session_01DA9qTtJtm2tPquKk7hyPR5