laravel-review-rateable icon indicating copy to clipboard operation
laravel-review-rateable copied to clipboard

Need UUID Support as Primary Key

Open gieart87 opened this issue 2 years ago • 1 comments

The features of this package look good!

But, I feel unfortunate as I implement UUID as the primary key in all tables in my Laravel project. Hope this can be realized soon!

Other packages can handle this issue by allowing developers to create their own model Rating and extend the original package's model. So the developer can use UUID as the primary key instead of Auto Increment Integer by overriding how the model generates the primary key. This Laravel-Seo Package (https://github.com/ralphjsmit/laravel-seo) is a great example.

Thanks

gieart87 avatar Nov 09 '22 16:11 gieart87

Thanks for the feedback. I do not have time to implement this at the moment. If you want to implement and create a PR, please feel free.

codebyray avatar Nov 10 '22 00:11 codebyray