With the creation of the new Email Addresses model (https://github.com/tipoff/authorization/issues/57), all string fields for email in this package should be replaced with a findOrCreate() relationship with that model. We can use the app('email_address') & nova('email_address') helpers added in release 1.8.3 of tipoff/support.
In addition to changing the database migrations, we should also update the model, factory, and nova resource. Later, we will have a custom nova field (https://github.com/tipoff/authorization/issues/59) for our usage of Email Address.
With the creation of the new Email Addresses model (https://github.com/tipoff/authorization/issues/57), all
string
fields foremail
in this package should be replaced with afindOrCreate()
relationship with that model. We can use theapp('email_address')
&nova('email_address')
helpers added in release 1.8.3 of tipoff/support.In addition to changing the database migrations, we should also update the model, factory, and nova resource. Later, we will have a custom nova field (https://github.com/tipoff/authorization/issues/59) for our usage of Email Address.
Participant (#39) has an existing
email
field.