Make sure the `Vulnerability#state` accurately reflects the actual state.
Why are we doing this work?
To make sure we didn't mess with current database state we need to schedule a database migration that will retain user changes while allowing us to move to the new DB structure
Implementation plan
-
database Create
StateTransition
records for all the dismissed vulnerabilities(from_state: 'detected', to_state: 'dismissed'
)
Edited by Mehmet Emin INAC