You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advanced-usage/uuid.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,16 @@
1
1
---
2
-
title: UUID
2
+
title: UUID/ULID
3
3
weight: 7
4
4
---
5
5
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.
7
7
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.
9
9
10
10
Since each UUID implementation approach is different, some of these may or may not benefit you. As always, your implementation may vary.
11
11
12
+
We use "uuid" in the examples below. Adapt for ULID or GUID as needed.
13
+
12
14
## Migrations
13
15
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!
0 commit comments