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

Simplify database schema by getting rid of emails table #368

Open
mlandauer opened this issue Aug 19, 2020 · 0 comments
Open

Simplify database schema by getting rid of emails table #368

mlandauer opened this issue Aug 19, 2020 · 0 comments

Comments

@mlandauer
Copy link
Owner

Cuttlefish is focused on transactional email which almost always has a single recipient. So, in most cases we have a single email record which one delivery record attached. We could simplify things, only incurring a little extra overhead if we move all the data from the email table to the delivery table and get rid of the emails table.

So, when a user sends an email to multiple recipients it will get turned into two deliveries with duplicated data. This doesn't seem so bad.

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

No branches or pull requests

1 participant