Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated migration should not include columns automatically created by create_active_mailer_table #12

Open
esquivalient opened this issue Aug 22, 2023 · 0 comments

Comments

@esquivalient
Copy link
Member

create_active_mailer_table automatically makes

    # t.integer   :sender_id
     # t.timestamp :sent_at
     # t.string    :subject

and they're also included in the generated migration. That results in errors like

you can't define an already defined column 'sent_at'.
/Users/esquivalient/Dropbox/code/burndown/db/migrate/20220804162528_create_invite_team_member_emails.rb:8:in `block in change'
/Users/esquivalient/Dropbox/code/burndown/db/migrate/20220804162528_create_invite_team_member_emails.rb:3:in `change'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant