mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 17:51:07 +03:30
change Ticket
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Message extends Model
|
||||
{
|
||||
public $fillable = ['title', 'text', 'recipient_user_id', 'sender_user_id'];
|
||||
public $fillable = ['title', 'text', 'status', 'recipient_user_id', 'sender_user_id'];
|
||||
public function sender_user()
|
||||
{
|
||||
return $this->belongsTo('App\User', 'sender_user_id');
|
||||
|
||||
Reference in New Issue
Block a user