cviebrock / eloquent-taggable

Easily add the ability to tag your Eloquent models in Laravel.
MIT License
559 stars 72 forks source link

[ Question ] What if I update model namespace #31

Closed abhimanyu003 closed 8 years ago

abhimanyu003 commented 8 years ago

Currently all my models in in app folder with namespace App

But how can I update the database, lets say if I update the model namespace to something like App\Foo\Models

Thanks

cviebrock commented 8 years ago

You would probably just need to run a migration or DB query to update the taggable table, renaming the class names there.

Hopefully this is a one-time change, and not a recurring thing.