diff --git a/classes/MigrationColumnType.php b/classes/MigrationColumnType.php index e87d0152..b7df2434 100644 --- a/classes/MigrationColumnType.php +++ b/classes/MigrationColumnType.php @@ -117,7 +117,7 @@ public static function toMigrationMethodName($type, $columnName) // The datetime type maps to datetime and timestamp. Use the name // guessing as the only possible solution. - if (in_array($columnName, ['created_at', 'updated_at'])) { + if (in_array($columnName, ['created_at', 'updated_at', 'deleted_at'])) { return self::TYPE_TIMESTAMP; }