Skip to content

Commit b6ea479

Browse files
author
David Nahodyl
committed
changed default keytype to be string to more closely align with FileMaker defaults
1 parent 79373c9 commit b6ea479

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Database/Eloquent/FMModel.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ abstract class FMModel extends Model
6464
*/
6565
protected $modId;
6666

67+
/**
68+
* The "type" of the primary key ID. FileMaker uses UUID strings by default.
69+
*
70+
* @var string
71+
*/
72+
protected $keyType = 'string';
73+
6774

6875
public function __construct(array $attributes = [])
6976
{

0 commit comments

Comments
 (0)