From 6e55ff37d63847d43c96052eed7dd621dd7c36d7 Mon Sep 17 00:00:00 2001 From: Jonas Staudenmeir Date: Sat, 2 Nov 2024 10:18:50 +0100 Subject: [PATCH] Remove incorrect type --- src/Query/Grammars/Traits/CompilesMySqlAdjacencyLists.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Query/Grammars/Traits/CompilesMySqlAdjacencyLists.php b/src/Query/Grammars/Traits/CompilesMySqlAdjacencyLists.php index 56d0889..4a5435d 100644 --- a/src/Query/Grammars/Traits/CompilesMySqlAdjacencyLists.php +++ b/src/Query/Grammars/Traits/CompilesMySqlAdjacencyLists.php @@ -106,7 +106,7 @@ public function compilePivotColumnNullValue(string $typeName, string $type): str } $cast = match ($typeName) { - 'bigint', 'boolean', 'integer', 'int', 'smallint', 'tinyint' => 'signed', + 'bigint', 'boolean', 'int', 'smallint', 'tinyint' => 'signed', 'decimal' => "decimal($precision, $scale)", 'timestamp' => 'datetime', 'varchar' => 'char(65535)',