Skip to content

Commit

Permalink
add: 支持直接根据 sqlite 注释生成 orm
Browse files Browse the repository at this point in the history
  • Loading branch information
cyz-home committed Mar 13, 2024
1 parent 7d84a18 commit ddb7ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/commands/orm/sqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func GenSqlite(table string, goType parser.GoType, out string) {
}

columns = append(columns, tableColumn{
ColumnName: parser.StringToSnake(attName),
ColumnName: attr.Name,
GoType: attr.TypeName,
mysql: mysql{

Expand Down

0 comments on commit ddb7ace

Please sign in to comment.