can add additional column for example user_id #475
hossein-holy
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
@hossein-holy we have the same problem, for now we just add a migrtion to add to the tags table. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, your package is good package, but can add additional column for example
user_id
.assume we have
Product
model and every user can select own tags then in your function should send additional parameter like:$product->attachTag($tagName, $type, array additionalData);
$product->attachTag('tag 1', 'example', ['user_id' => auth()->id()]);
Beta Was this translation helpful? Give feedback.
All reactions