Skip to content

Commit

Permalink
[docs] minor edits to uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
drbyte authored Aug 19, 2023
1 parent 188bcda commit 04b3230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced-usage/uuid.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ If you're using UUIDs for your User models there are a few considerations to not
Since each UUID implementation approach is different, some of these may or may not benefit you. As always, your implementation may vary.

## Migrations
You will need to update the `create_permission_tables.php` migration:
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!

**User Models using UUIDs**
If your User models are using `uuid` instead of `unsignedBigInteger` then you'll need to reflect the change in the migration provided by this package. Something like the following would be typical, for **both** `model_has_permissions` and `model_has_roles` tables:
Expand Down

0 comments on commit 04b3230

Please sign in to comment.