Skip to content

修改数据类型关系

Choose a tag to compare

@maxlcoder maxlcoder released this 29 Oct 02:17
· 12 commits to master since this release

修改数据类型关系

类型定义 旧 新
typeMediumInteger number($length, 0) int
typeSmall number($length, 0) smallint
typeTinyInteger number($length, 0) tinyint
typeFloat number($column->total, $column->places) typeDouble
typeDouble number($column->total, $column->places) double($column->total, $column->places)/double
typeDecimal number($column->total, $column->places) decimal($column->total, $column->places)
typeBoolean char(1) tinyint(1)