mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-19 00:01:00 +08:00
plugin management + user tables and torrents table text column migrate
This commit is contained in:
16
app/Models/UserModifyLog.php
Normal file
16
app/Models/UserModifyLog.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
class UserModifyLog extends NexusModel
|
||||
{
|
||||
protected $fillable = ['user_id', 'content', ];
|
||||
|
||||
public $timestamps = true;
|
||||
|
||||
public function user(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
{
|
||||
return $this->belongsTo(User::class, "user_id");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user