Skip to content

Commit 5f93a98

Browse files
committed
fix: Ensure unique entry IDs in FileStorageDriver
1 parent da8ba17 commit 5f93a98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Storage/FileStorage/FileStorageDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public function createEntry(ResearchId $researchId, EntryCreateRequest $request)
145145
$this->validateEntryAgainstTemplate($template, $resolvedRequest);
146146

147147
// Generate entry ID and create entry
148-
$entryId = $this->generateId('entry_');
148+
$entryId = $this->generateId('entry_' . \uniqid());
149149
$now = new \DateTime();
150150

151151
$entry = new Entry(

0 commit comments

Comments
 (0)