From 58f7238e8b9c2a7f501639f139c025add5c0fc8e Mon Sep 17 00:00:00 2001 From: Gombos Lorand Date: Mon, 8 Jul 2019 22:33:31 +0300 Subject: [PATCH] Quick Update --- README.md | 1 + src/Database/Concerns/Uuid.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 39fcc5a..79e2d47 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ [![Build Status](https://scrutinizer-ci.com/g/glorand/laravel-eloquent-model-uuid/badges/build.png?b=master)](https://scrutinizer-ci.com/g/glorand/laravel-eloquent-model-uuid/build-status/master) [![Code Intelligence Status](https://scrutinizer-ci.com/g/glorand/laravel-eloquent-model-uuid/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/glorand/laravel-eloquent-model-uuid/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/glorand/laravel-eloquent-model-uuid/?branch=master) + A simple solution for providing UUID support for the IDs of your Eloquent models. ## Installation diff --git a/src/Database/Concerns/Uuid.php b/src/Database/Concerns/Uuid.php index 7527d3b..ac892d3 100644 --- a/src/Database/Concerns/Uuid.php +++ b/src/Database/Concerns/Uuid.php @@ -6,6 +6,8 @@ trait Uuid { + abstract public function getKeyName(); + protected static function boot(): void { parent::boot();