diff --git a/console/commands/orm/sqlite.go b/console/commands/orm/sqlite.go index cd694a7..ee0321a 100644 --- a/console/commands/orm/sqlite.go +++ b/console/commands/orm/sqlite.go @@ -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{