You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to migrate from the rtconner/laravel-tagging package to yours on an already existing project.
Currently, I must be at more or less 60,000 articles, with some with 0 keywords, and others with 25!
The problem is that I tried to make a Laravel command to migrate from the old structure to that of this package, the 2 packages come into conflict!
My first thought was to disable the use Taggable and enable the Use HasTag on the fly, but I couldn't figure out how to do that.
I went with the idea of making a temporary model that would use either the use Taggable or the use HasTags but, when saving, the keywords are linked to the model App\Models\Provisional.
Do you have any leads or ideas that I could use?
Thanks in advance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello and thank you for your package.
I would like to migrate from the rtconner/laravel-tagging package to yours on an already existing project.
Currently, I must be at more or less 60,000 articles, with some with 0 keywords, and others with 25!
The problem is that I tried to make a Laravel command to migrate from the old structure to that of this package, the 2 packages come into conflict!
My first thought was to disable the
use Taggable
and enable theUse HasTag
on the fly, but I couldn't figure out how to do that.I went with the idea of making a temporary model that would use either the
use Taggable
or theuse HasTags
but, when saving, the keywords are linked to the model App\Models\Provisional.Do you have any leads or ideas that I could use?
Thanks in advance.
If you have any questions do not hesitate.
Beta Was this translation helpful? Give feedback.
All reactions