目前 `ModelUpdateVisitor` 中的 [`formatDatabaseType`](https://github.com/hyperf/database/blob/66a65f726ed8fd08c383d085611e61046d802064/src/Commands/Ast/ModelUpdateVisitor.php#L399) 方法仅支持基础的类型映射。希望能添加对更多 JSON 相关数据库类型的支持,以提高对不同数据库系统的兼容性。 ```php protected function formatDatabaseType(string $type): ?string { return match ($type) { 'tinyint', 'smallint', 'mediumint', 'int', 'bigint' => 'integer', 'bool', 'boolean' => 'boolean', 'json' => 'json', default => null, }; } ```
目前
ModelUpdateVisitor中的formatDatabaseType方法仅支持基础的类型映射。希望能添加对更多 JSON 相关数据库类型的支持,以提高对不同数据库系统的兼容性。