Skip to content

Commit 0e593bb

Browse files
authored
cross-name uuid with ulid/guid
1 parent 9b02e54 commit 0e593bb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/advanced-usage/uuid.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
title: UUID
2+
title: UUID/ULID
33
weight: 7
44
---
55

6-
If you're using UUIDs for your User models there are a few considerations to note.
6+
If you're using UUIDs (ULID, GUID, etc) for your User models or Role/Permission models there are a few considerations to note.
77

8-
> THIS IS NOT A FULL LESSON ON HOW TO IMPLEMENT UUIDs IN YOUR APP.
8+
> NOTE: THIS IS NOT A FULL LESSON ON HOW TO IMPLEMENT UUIDs IN YOUR APP.
99
1010
Since each UUID implementation approach is different, some of these may or may not benefit you. As always, your implementation may vary.
1111

12+
We use "uuid" in the examples below. Adapt for ULID or GUID as needed.
13+
1214
## Migrations
1315
You will need to update the `create_permission_tables.php` migration after creating it with `php artisan vendor:publish`. After making your edits, be sure to run the migration!
1416

0 commit comments

Comments
 (0)