chore: remove duplicated mentionsUsers relation
Some checks failed
Approval PHP / run (push) Has been cancelled
Framework JS / run (push) Has been cancelled
Framework PHP / run (push) Has been cancelled
Akismet PHP / run (push) Has been cancelled
Core PHP / run (push) Has been cancelled
Embed PHP / run (push) Has been cancelled
Emoji PHP / run (push) Has been cancelled
Extension Manager PHP / run (push) Has been cancelled
Flags PHP / run (push) Has been cancelled
Likes PHP / run (push) Has been cancelled
Lock PHP / run (push) Has been cancelled
Markdown PHP / run (push) Has been cancelled
Mentions PHP / run (push) Has been cancelled
Nicknames PHP / run (push) Has been cancelled
Pusher PHP / run (push) Has been cancelled
Statistics PHP / run (push) Has been cancelled
Sticky PHP / run (push) Has been cancelled
Subscriptions PHP / run (push) Has been cancelled
Suspend PHP / run (push) Has been cancelled
Tags PHP / run (push) Has been cancelled

This commit is contained in:
Daniël Klabbers 2024-11-06 15:59:27 +01:00 committed by GitHub
parent 6de38ff4c9
commit 634132e06e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,8 +51,7 @@ return [
->belongsToMany('mentionedBy', Post::class, 'post_mentions_post', 'mentions_post_id', 'post_id')
->belongsToMany('mentionsPosts', Post::class, 'post_mentions_post', 'post_id', 'mentions_post_id')
->belongsToMany('mentionsUsers', User::class, 'post_mentions_user', 'post_id', 'mentions_user_id')
->belongsToMany('mentionsGroups', Group::class, 'post_mentions_group', 'post_id', 'mentions_group_id')
->belongsToMany('mentionsUsers', User::class, 'post_mentions_user', 'post_id', 'mentions_user_id'),
->belongsToMany('mentionsGroups', Group::class, 'post_mentions_group', 'post_id', 'mentions_group_id'),
new Extend\Locales(__DIR__.'/locale'),