Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How look users from two tables?#410

Unanswered
maiskiykot asked this question inQ&A
Discussion options

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();

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@maiskiykot

[8]ページ先頭

©2009-2025 Movatter.jp