Drop invalid Vulnerabilities in development environment
What does this MR do and why?
This code removes invalid vulnerabilities from the database. It does so by deleting all vulnerabilities that don't have a finding ID, but only if the environment is development or test.
This will prevent developers from running into problems with db/post_migrate/20240214204805_make_finding_id_not_null.rb
migration on their development setups.
This will be a no-op in the production database