Add UUID Compatibility for Table Primary Keys #282
Replies: 1 comment
-
Hey @bayukartiko, that's a great question. At the moment, I've not got any plans to add any support for UUIDs in the package, sorry. But if it's something enough people want, I'd be open to looking into it 😄 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the current database migration setup, the package uses
$table->bigIncrements('id');
to define the primary key. I would like to change this to use UUIDs instead, specifically in PostgreSQL:$table->uuid('id')->default(DB::raw('gen_random_uuid()'))->primary()
.I'm using
Laravel v11.8
andshort-url v8.0.0
.is it possible?
Beta Was this translation helpful? Give feedback.
All reactions