Skip to content

Remove not_null constraint on project_fingerprint for `security_findings`

Subashis Chakraborty requested to merge 335700-remove-null-constraint into master

What does this MR do?

We are in the process of deprecating the usage of the project_fingerprint attribute of the findings. As there is a null constraint associated to project_fingerprint, we are facing difficulties to remove the use of project_fingerprint from code without removing this constraint. We already introduced uuid which will be used instead of project_fingerprint. This is one step further to deprecate project_fingerprint.

Database Review

Up

== 20210713223941 RemoveNullConstraintFromSecurityFindings: migrating =========
-- change_column_null(:security_findings, :project_fingerprint, true)
   -> 0.0050s
== 20210713223941 RemoveNullConstraintFromSecurityFindings: migrated (0.0050s) 

Down

== 20210713223941 RemoveNullConstraintFromSecurityFindings: reverting =========
== 20210713223941 RemoveNullConstraintFromSecurityFindings: reverted (0.0000s) 

Does this MR meet the acceptance criteria?

Conformity

Related to #335700 (closed)

Edited by Subashis Chakraborty

Merge request reports