We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go-gorm/playground#1
1.建表
CREATE TABLE `mytest_table` ( `column1` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, `column2` char(40) COLLATE utf8mb4_unicode_ci NOT NULL, `column3` tinyint(3) unsigned NOT NULL DEFAULT '0', UNIQUE KEY `unikkkk` (`column1`,`column2`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
2.查询字段信息
mysql/migrator.go
Line 365 in c829f6e
4.导致gen生成的model
The text was updated successfully, but these errors were encountered:
jinzhu
No branches or pull requests
GORM Playground Link
go-gorm/playground#1
Description
1.建表
2.查询字段信息
代码判断处 存在逻辑问题,也许是MySQL本身的bug,但这里应该修复
[](
mysql/migrator.go
Line 365 in c829f6e
4.导致gen生成的model
The text was updated successfully, but these errors were encountered: