Closed rommeA closed 2 years ago
I'm going to close this - you could easily add UUID's with a migration and a model observer. I'm personally not a fan of using UUIDs as primary key anyway, I think it's better to have it as a separately indexed column.
Is it possible to create a constant in config, which will determine if database migrations and models should use UUIDs as ID, not integers? For instance, in migration:
and in models:
I've changed migration files to use UUIDs, but all Models should be changed too... https://flareapp.io/share/17xj4eGm#F62