Skip to content

Commit 07c07bc

Browse files
committed
add notnull in IsPreset in ScanToolMetadata
1 parent e481a0f commit 07c07bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/policyGovernance/security/scanTool/repository/ScanToolMetaDataRepository.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ type ScanToolMetadata struct {
3535
Deleted bool `sql:"deleted,notnull"`
3636
ToolMetaData string `sql:"tool_metadata"`
3737
PluginId int `sql:"plugin_id"`
38-
IsPreset bool `sql:"is_preset"`
38+
IsPreset bool `sql:"is_preset,notnull"`
3939
Url string `sql:"url"`
4040
sql.AuditLog
4141
}

0 commit comments

Comments
 (0)