feat: ✨ add models to the activity log history
This commit is contained in:
parent
d5d7730aad
commit
32307bf55c
2 changed files with 4 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
|||
use Illuminate\Support\Facades\Cache;
|
||||
use Illuminate\Support\Str;
|
||||
use Illuminate\Validation\ValidationException;
|
||||
use Uwil\LaravelActivityLogs\Traits\ActivityLog;
|
||||
use Uwil\LaravelCommon\Helpers\FileHelper;
|
||||
use Uwil\LaravelCommon\Helpers\ToolboxHelper;
|
||||
|
||||
|
|
@ -29,6 +30,7 @@ use Uwil\LaravelCommon\Helpers\ToolboxHelper;
|
|||
*/
|
||||
class DynamicPage extends Model implements TranslatableModel
|
||||
{
|
||||
use ActivityLog;
|
||||
use HasFactory;
|
||||
use HasTranslations;
|
||||
use SoftDeletes;
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ use App\Traits\Models\HasTranslations;
|
|||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Uwil\LaravelActivityLogs\Traits\ActivityLog;
|
||||
|
||||
/**
|
||||
* @property string $label Label of the page configuration.
|
||||
|
|
@ -20,6 +21,7 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
|||
*/
|
||||
class PageConfig extends Model implements TranslatableModel
|
||||
{
|
||||
use ActivityLog;
|
||||
use HasFactory;
|
||||
use HasTranslations;
|
||||
use SoftDeletes;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue