Z3d0X / filament-logger

Extensible activity logger for filament that works out-of-the-box.
MIT License
287 stars 42 forks source link

migration error #1

Closed barathsku closed 2 years ago

barathsku commented 2 years ago

Hi, it looks like the database tables need to be created for using this plugin - but there's no info on how to generate the migration templates. Any help? Thanks!

Z3d0X commented 2 years ago

Hi, this plugin uses spatie/larvel-activitylog Please follow the instructions setup instructions for that package. I will update the docs to mention this.

This is the command to publish the migrations

php artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="activitylog-migrations"

You see full setup instructions here https://spatie.be/docs/laravel-activitylog/v4/installation-and-setup