Transition security_trainings to loose foreign keys
Implementation Plan
-
Update base class for Security::Trainingsto rely onGitlab::Database::SecApplicationRecord -
Update db/docs/TABLE_NAME.ymlto point to newgitlab_secschema -
If table references tables beyond the sec DB boundary (i.e. ✅ projects,❌ security_*), use thegenerate-loose-foreign-keyscript to decompose foreign keys for target table -
do while verifying behavior
Edited by Schmil Monderer