remove col.FieldName #15
|
@ -144,7 +144,6 @@ func tag(table *schemas.Table, col *schemas.Column) template.HTML {
|
||||||
isIdPk := isNameId && typestring(col) == "int64"
|
isIdPk := isNameId && typestring(col) == "int64"
|
||||||
|
|
||||||
var res []string
|
var res []string
|
||||||
res = append(res, "'"+col.FieldName+"'")
|
|
||||||
if !col.Nullable {
|
if !col.Nullable {
|
||||||
if !isIdPk {
|
if !isIdPk {
|
||||||
res = append(res, "not null")
|
res = append(res, "not null")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user