jdavidbakr / mail-tracker

Package for Laravel to inject tracking code into outgoing emails.
MIT License
567 stars 129 forks source link

UUIDs functionality #175

Closed rommeA closed 2 years ago

rommeA commented 2 years ago

If you need to use UUIDs in your project, you can specify in config use_uuids=true and all tables, generated by this package, will use id (uuid) as primary keys.

jdavidbakr commented 2 years ago

I'm not opposed to having UUIDs as an alternate unique column but not a fan of making the ID a UUID. If implemented, I'd also like to set the UUID via an observer using Str::uuid() instead of relying on uuid_generate_v4() which may not have enough support among the available databases.