From 409230a4de500f51a6405cc29c59a12cd54ad6c6 Mon Sep 17 00:00:00 2001 From: Ryan Mitchell Date: Mon, 17 Jun 2024 14:16:21 +0100 Subject: [PATCH] Support `int` and `timestamp` column types --- src/Console/Commands/GenerateBlueprint.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Console/Commands/GenerateBlueprint.php b/src/Console/Commands/GenerateBlueprint.php index b1ab8c62..fab4939d 100644 --- a/src/Console/Commands/GenerateBlueprint.php +++ b/src/Console/Commands/GenerateBlueprint.php @@ -41,6 +41,7 @@ class GenerateBlueprint extends Command 'datetimetz' => ['normal' => 'date'], 'decimal' => ['normal' => 'float'], 'float' => ['normal' => 'float'], + 'int' => ['normal' => 'integer'], 'integer' => ['normal' => 'integer'], 'json' => ['normal' => 'array'], 'simple_array' => ['normal' => 'array'], @@ -49,6 +50,7 @@ class GenerateBlueprint extends Command 'text' => ['normal' => 'textarea'], 'time_immutable' => ['normal' => 'date'], 'time' => ['normal' => 'date'], + 'timestamp' => ['normal' => 'date'], ]; /**