Skip to content
This repository has been archived by the owner on May 8, 2019. It is now read-only.

Add weight to taggable table #98

Open
guoyunhe opened this issue Dec 25, 2016 · 0 comments
Open

Add weight to taggable table #98

guoyunhe opened this issue Dec 25, 2016 · 0 comments
Assignees

Comments

@guoyunhe
Copy link
Member

This enable custom tag order on designer/design/place/story page.

$designer->tags()->attach($tag_id, ['weight' => 1]);

See https://laravel.com/docs/5.3/eloquent-relationships#updating-many-to-many-relationships

@guoyunhe guoyunhe self-assigned this Dec 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant