remove col.FieldName #15

Merged
jerry merged 1 commits from :master into master 2020-06-18 08:32:09 +00:00

View File

@ -144,7 +144,6 @@ func tag(table *schemas.Table, col *schemas.Column) template.HTML {
isIdPk := isNameId && typestring(col) == "int64"
var res []string
res = append(res, "'"+col.FieldName+"'")
if !col.Nullable {
if !isIdPk {
res = append(res, "not null")