With the creation of the Phone model (https://github.com/tipoff/addresses/issues/58), the string field for phone in this package should be replaced with a findOrCreate() relationship with that model. We can use the app('phone') & nova('phone') helpers from 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/addresses/issues/108) for our usage of Phone.
With the creation of the Phone model (https://github.com/tipoff/addresses/issues/58), the string field for
phone
in this package should be replaced with afindOrCreate()
relationship with that model. We can use theapp('phone')
&nova('phone')
helpers from 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/addresses/issues/108) for our usage of Phone.