Updated user_id to created_by

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2024-12-03 20:15:19 +00:00
committed by Brady Wetherington
parent 36aea52ae0
commit a0b9714d72
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -23,7 +23,6 @@ class AccessoryCheckout extends Model
use Searchable;
protected $fillable = [
'user_id',
'accessory_id',
'assigned_to',
'assigned_type',
@@ -58,7 +57,7 @@ class AccessoryCheckout extends Model
*/
public function adminuser()
{
return $this->hasOne(\App\Models\User::class, 'user_id');
return $this->hasOne(\App\Models\User::class, 'created_by');
}
/**