-
Notifications
You must be signed in to change notification settings - Fork 474
Open
Description
Hi @lazychaser thanks for this amazing package. I'm using uuid as my primary keys. is there any considerations to take? i looked at the source,columns method inside NestedSet class, and parent_id
column key type is unsigned big integer. using $table->nestedSet()
gives no ways of setting this field type and there is nothing to publish for this package. you could build 3 columns manually in the migration but this shouldn't be the way to go.
thanks in advance 👍
Activity
abedcodes commentedon Mar 20, 2025
I managed to find a get-go solution for this, add these lines in migrations you are using
$table->nestedSet()
and the primary key is uuid.i tested some methods and looks like everything work fine ✅
@lazychaser your confirmation makes me sleep well tonight 😄 👍
armin-salihovic commentedon Apr 5, 2025
Implemented in #617
abedcodes commentedon Apr 6, 2025
thanks for your time 🎉👍