Skip to content

audits.id as UUID #920

Discussion options

You must be logged in to vote

Update your migration file
You have to make your own custom model extending OwenIt\Auditing\Models\Audit(with UUID changes), and set it in audit.implementation on config

'implementation' => OwenIt\Auditing\Models\Audit::class,

https://laravel-auditing.com/guide/audit-migration.html#uuid-over-auto-incrementing-ids

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by parallels999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants