Project: moodle
Issue MDL-51862: Create a persistent model user_competency_plan
This model will archive the _user_competency_ records for a specific plan when the plan is frozen. It should contain the same information than the user_competency with the addition of the plan ID. This issue is just about creating the model.
Story points: 3