mirror of
https://github.com/go-gitea/gitea
synced 2025-07-20 17:28:37 +00:00
update xorm for bugs fix (#728)
This commit is contained in:
2
vendor/github.com/go-xorm/xorm/sqlite3_dialect.go
generated
vendored
2
vendor/github.com/go-xorm/xorm/sqlite3_dialect.go
generated
vendored
@@ -317,7 +317,7 @@ func (db *sqlite3) GetColumns(tableName string) ([]string, map[string]*core.Colu
|
||||
col.DefaultIsEmpty = true
|
||||
for idx, field := range fields {
|
||||
if idx == 0 {
|
||||
col.Name = strings.Trim(field, "`[] ")
|
||||
col.Name = strings.Trim(strings.Trim(field, "`[] "), `"`)
|
||||
continue
|
||||
} else if idx == 1 {
|
||||
col.SQLType = core.SQLType{Name: field, DefaultLength: 0, DefaultLength2: 0}
|
||||
|
Reference in New Issue
Block a user