Commit cc05862e authored by Faizal Aziz's avatar Faizal Aziz

fixing defaullt

parent 3700c1a4
...@@ -338,7 +338,7 @@ func generateSQLFromStorage(tableName string, columnAndValues interface{}) strin ...@@ -338,7 +338,7 @@ func generateSQLFromStorage(tableName string, columnAndValues interface{}) strin
} }
nullable := field.Tag.Get("sql-nullable") nullable := field.Tag.Get("sql-nullable")
if nullable == "true" { if nullable == "false" {
nullable = "not null" nullable = "not null"
} else { } else {
nullable = "" nullable = ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment