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

Commit 80a80e9

Browse files
update readme
1 parent cb0d590 commit 80a80e9

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

README.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
This package extends the default grammar file for the given MySQL connection adding an `efficientUuid` blueprint method that creates a `binary(16)` field.
1414

15-
As of 3.0, this package _no longer overrides_ Laravel's default `uuid` method, rather adds a separate `efficientUuid` field, due to compatibility issues with Laravel Telescope (#11).
15+
As of 3.0, this package _no longer overrides_ Laravel's default `uuid` method, but rather adds a separate `efficientUuid` field, due to compatibility issues with Laravel Telescope (#11).
1616

1717
> **Note**: This package purposely does not use [package discovery](https://laravel.com/docs/5.8/packages#package-discovery), as it makes changes to the MySQL schema file, which is something you should explicitly enable.
1818
@@ -24,18 +24,6 @@ For more information, check out [this post](https://www.percona.com/blog/2014/12
2424

2525
Using UUIDs in Laravel is made super simple in combination with [laravel-model-uuid](https://github.com/michaeldyrynda/laravel-model-uuid). Note that when using `laravel-model-uuid`, if you are not casting your UUIDs or calling the query builder directly, you'll need to use the `getBytes` method when setting the UUID on the database, otherwise your values will be truncated. Depending on your MySQL/MariaDB configuration, this may lead to application errors due to strict settings. See #1 for more information.
2626

27-
### Version compatibility
28-
29-
Laravel | Package
30-
:-------|:--------
31-
5.4.* | 1.0.*
32-
5.5.* | 2.0.*
33-
5.6.* | 2.1.*
34-
5.7.* | 2.2.*
35-
5.8.* | 2.3.*, 3.0.*
36-
37-
## Installation
38-
3927
This package is installed via [Composer](https://getcomposer.org/). To install, run the following command.
4028

4129
```bash
@@ -70,8 +58,8 @@ You will need to add a cast to your model when using [laravel-model-uuid](https:
7058

7159
namespace App;
7260

73-
use Dyrynda\Database\Support\GeneratesUuid;
7461
use Illuminate\Database\Eloquent\Model;
62+
use Dyrynda\Database\Support\GeneratesUuid;
7563

7664
class Post extends Model
7765
{

0 commit comments

Comments
 (0)