How look users from two tables? #410
Unanswered
maiskiykot
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I tried use this product. But in my configuration of users two tables - Users & Users 2. As I understand class Thread find users only in model User. I tried dublicate functions of model Models and config\messenger.php but creator() not find user from User 2. How I can win it? Thank you!
$firstMessage = $this->messages()->withTrashed()->oldest()->first(); $this->creatorCache = $firstMessage ? $firstMessage->user : Models::user(); if ($this->creatorCache == null) $this->creatorCache = $firstMessage ? $firstMessage->user : Models::user2();
Beta Was this translation helpful? Give feedback.
All reactions