With the creation of the Phone model (TIPOFF/addresses#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 (TIPOFF/addresses#108) for our usage of Phone.
With the creation of the Phone model (TIPOFF/addresses#58), the string field for
phonein 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 (TIPOFF/addresses#108) for our usage of Phone.