feat(table-designer): 补齐 MySQL 空间字段类型

- 补充 Geometry、Point、MultiPoint 等八种 MySQL 空间类型候选
- 保留自定义字段类型表达式在建表和改表 SQL 中的原样输出
- 增加空间类型候选及 POINT SRID 属性回归测试

Fixes #341
This commit is contained in:
Syngnat
2026-07-18 16:15:33 +08:00
parent 5f5b28ced3
commit aeecffb517
3 changed files with 43 additions and 0 deletions

View File

@@ -303,6 +303,14 @@ const MYSQL_TYPES = optionValues([
'timestamp',
'year',
'json',
'geometry',
'point',
'linestring',
'polygon',
'multipoint',
'multilinestring',
'multipolygon',
'geometrycollection',
'enum',
'set',
'bit(1)',