TIPOFF / locations

Laravel Package for locations in markets
MIT License
0 stars 1 forks source link

Phone Relationship #91

Closed drewroberts closed 3 years ago

drewroberts commented 3 years ago

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.

drewroberts commented 3 years ago

Closing this issue. It's a duplicate of #74