'integer', 'authorized_user_id' => 'integer', ]; /* ========================= * Relationships (optional) * ========================= */ public function user() { return $this->belongsTo(User::class, 'user_id'); } public function authorizedUser() { return $this->belongsTo(User::class, 'authorized_user_id'); } }