From cf386e8776dd96984c91891f723921c5ed2e0144 Mon Sep 17 00:00:00 2001 From: cp6 Date: Tue, 19 Jul 2022 15:21:35 +1000 Subject: [PATCH] Updated Labels class to have table name Updated Labels class to have table name --- app/Models/Labels.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Models/Labels.php b/app/Models/Labels.php index 8c7a2fc..50f1840 100644 --- a/app/Models/Labels.php +++ b/app/Models/Labels.php @@ -13,6 +13,8 @@ class Labels extends Model public $incrementing = false; + protected $table = 'labels'; + protected $fillable = ['id', 'label', 'server_id', 'server_id_2', 'domain_id', 'domain_id_2', 'shared_id', 'shared_id_2']; public static function deleteLabelsAssignedTo($service_id)