Skip to content

Commit 64439cd

Browse files
author
farhadzand
committed
fix primary id type
1 parent bc4c0f3 commit 64439cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Drivers/MySQLDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function createStorageForEntity(string $entityClass): void
7878

7979
Schema::create($tableName, function (Blueprint $table) {
8080
$table->id();
81-
$table->bigInteger('entity_id')->unsigned();
81+
$table->string('entity_id');
8282
$table->string('action');
8383
$table->json('old_values')->nullable();
8484
$table->json('new_values')->nullable();

0 commit comments

Comments
 (0)