Skip to content

Commit

Permalink
Update ORM.php
Browse files Browse the repository at this point in the history
  • Loading branch information
freost committed Nov 11, 2024
1 parent e567cbc commit ac81964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mako/database/midgard/ORM.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
};
}
Expand Down

0 comments on commit ac81964

Please sign in to comment.