Skip to content

Added column_type for MySqlGrammar::compileColumnListing.#2512

Merged
limingxinleo merged 5 commits intohyperf:masterfrom
leetaizhu:opt_add_column_type
Sep 15, 2020
Merged

Added column_type for MySqlGrammar::compileColumnListing.#2512
limingxinleo merged 5 commits intohyperf:masterfrom
leetaizhu:opt_add_column_type

Conversation

@leetaizhu
Copy link
Copy Markdown
Contributor

优化创建模型的命令 增加mysql的column_type字段获取布尔类型tinyint(1)字段 转boolean类型

@limingxinleo limingxinleo changed the title Optimized gen:model column_type tinyint(1) to boolean Added column_type for MySqlGrammar::compileColumnListing. Sep 15, 2020
@limingxinleo
Copy link
Copy Markdown
Member

column_type 加上了,bool 类型的问题,通过重写类,自己处理一下吧

@limingxinleo limingxinleo merged commit a05a36d into hyperf:master Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants