Skip to content

Commit e7667d5

Browse files
committed
update laravel-wallet-uuid.md
1 parent b1bea45 commit e7667d5

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/laravel-wallet-uuid.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
## Laravel Wallet UUID
22

3+
> Using uuid greatly reduces package performance. We recommend using int.
4+
5+
Often there is a need to store an identifier in uuid/ulid. Since version 9.0 laravel-wallet supports string identifiers, you only need to perform the migration.
6+
7+
To simplify the process, you can use a ready-made package.
8+
9+
> Attention! It will not work to use UUID instead of ID in wallet models; there is a special uuid field for this.
10+
311
## Composer
412

513
The recommended installation method is using [Composer](https://getcomposer.org/).
@@ -13,6 +21,7 @@ composer req bavix/laravel-wallet-uuid
1321
Now you need to migrate!
1422

1523
After migration, you can use the UUID in your models.
16-
Attention! It will not work to use UUID instead of ID in wallet models; there is a special uuid field for this.
24+
25+
You can find implementation examples in the package tests: https://github.com/bavix/laravel-wallet-uuid/tree/master/tests
1726

1827
It worked!

0 commit comments

Comments
 (0)