From ac819647bdbfa63d1746301372413d56b9ed964f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederic=20G=2E=20=C3=98stby?= Date: Mon, 11 Nov 2024 22:05:27 +0100 Subject: [PATCH] Update ORM.php --- src/mako/database/midgard/ORM.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mako/database/midgard/ORM.php b/src/mako/database/midgard/ORM.php index 5d9dd6912..b3ff27ae1 100644 --- a/src/mako/database/midgard/ORM.php +++ b/src/mako/database/midgard/ORM.php @@ -757,7 +757,7 @@ protected function insertRecord(Query $query): void if ($this->primaryKeyType !== static::PRIMARY_KEY_TYPE_NONE) { $this->columns[$this->primaryKey] = match ($this->primaryKeyType) { - static::PRIMARY_KEY_TYPE_UUID => UUID::v4(), + static::PRIMARY_KEY_TYPE_UUID => UUID::v4Sequential(), static::PRIMARY_KEY_TYPE_CUSTOM => $this->generatePrimaryKey(), }; }