Skip to content

Commit a356ef8

Browse files
committed
1.0.1
1 parent b71ea53 commit a356ef8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
],
1111
"homepage": "https://github.com/phpzm/persistence",
1212
"license": "MIT",
13-
"version": "1.0.0",
13+
"version": "1.0.1",
1414
"type": "package",
1515
"authors": [
1616
{

src/Field.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ public function reject(): Field
364364
public function primaryKey(): Field
365365
{
366366
$this->option('primaryKey', true);
367-
return $this->integer()->recover(false);
367+
return $this->integer()->update(false)->recover(false);
368368
}
369369

370370
/**

0 commit comments

Comments
 (0)