Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit 4f89dc0

Browse files
📝 Add information about indexing UUID column in migration
1 parent 028f42b commit 4f89dc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Register the service provider in your `config/app.php` configuration file:
3535
],
3636
```
3737

38-
There is nothing special needed for this to function, simply declare a `uuid` column type in your migration files.
38+
There is nothing special needed for this to function, simply declare a `uuid` column type in your migration files. I indexing the UUID column if you plan on querying against it, but would avoid making it the primary key.
3939

4040
```php
4141
Schema::create('posts', function (Blueprint $table) {

0 commit comments

Comments
 (0)