Using your own tag model #327
Unanswered
nargalzius
asked this question in
Q&A
Replies: 2 comments
-
if the model that you are attaching the tag to it has uuid, so you need to change database/migration/2025_00_00_000000_create_tag_tables .php :
|
Beta Was this translation helpful? Give feedback.
0 replies
-
This is the actual up function. When you say change the line... you mean the $able->uuid('taggable_id')? What should the up codeblock look like with the working changes?
Or am I correct to assume these two lines I have
should be changed the single one below?
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So I followed the section on using your own tag model to properly use a specific connection on my multi-db connection.
However, we're using uuids in stead of ids for our primary keys, and I can't seem to find documentation on how to adjust it to recognize and use taggable_uuid.
Some guidance would be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions