mirror of
https://github.com/astaxie/beego.git
synced 2025-07-03 16:20:19 +00:00
This commit is contained in:
@ -80,7 +80,6 @@ func getTableUnique(val reflect.Value) [][]string {
|
||||
|
||||
// get snaked column name
|
||||
func getColumnName(ft int, addrField reflect.Value, sf reflect.StructField, col string) string {
|
||||
col = strings.ToLower(col)
|
||||
column := col
|
||||
if col == "" {
|
||||
column = snakeString(sf.Name)
|
||||
|
Reference in New Issue
Block a user