mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 13:32:41 +08:00
plugin management + user tables and torrents table text column migrate
This commit is contained in:
@@ -5,7 +5,7 @@ namespace App\Models;
|
||||
|
||||
class Post extends NexusModel
|
||||
{
|
||||
public function user()
|
||||
public function user(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
{
|
||||
return $this->belongsTo(User::class, 'userid');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user