Added email_design_setting_id FK to automated_emails#27008
Conversation
ref NY-1180 Adds non-nullable FK column with migration that looks up the default email_design_settings row at runtime. Includes onCreating hook to auto-populate the FK for backwards compatibility with older admin clients.
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
It looks like this PR contains a migration 👀 General requirements
Schema changes
Data changes
|
|



closes https://linear.app/ghost/issue/NY-1180/add-email-design-setting-id-fk-to-automated-emails
Stacked on #26975