kirschbaum-development / nova-mail

A Laravel Nova action that provides a mail sending form for any resource
MIT License
73 stars 25 forks source link

Add try/catch to mailable boot #37

Closed belisarh closed 3 years ago

belisarh commented 4 years ago

This addresses #36

When fresh migrations are run and they create mailable models, NovaMail tables might not exist yet and it will throw an error preventing migrations from running.

pktharindu commented 3 years ago

Thank you for this awesome package! It was just what I was looking for.

Currently (v1.0.0), it throws a query exception #36, unless you have already completed the migration, which is less than ideal for obvious reasons.

So, any chance this will get merged soon? @adammparker @belisarh