Skip to content

Commit b25d5a1

Browse files
authored
Merge pull request #3 from inmanturbo/main
support using Illuminate\Database\Eloquent\Concerns\HasUuids as primary key
2 parents a10c1ed + 95dc00b commit b25d5a1

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/FUNDING.yml

-1
This file was deleted.

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
All notable changes to `ecow` will be documented in this file.
44

5+
## v1.0.2 - 2024-08-08
6+
7+
### What's Changed
8+
9+
* Remove unused directories leftover form the skeleton by @inmanturbo in https://github.com/inmanturbo/ecow/pull/2
10+
11+
**Full Changelog**: https://github.com/inmanturbo/ecow/compare/v1.0.1...v1.0.2
12+
513
## v1.0.1 - 2024-08-08
614

715
### What's Changed

src/Ecow.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function getModelGuid(mixed $model): string
115115
->where('key', $model->getKey())
116116
->where('property', 'guid')
117117
->orderBy('model_version')
118-
->first()->value ?? (string) str()->ulid();
118+
->first()->value ?? $model->getKey();
119119
}
120120

121121
public function retrieveModel(mixed $model): mixed

0 commit comments

Comments
 (0)