diff --git a/lms/patches/v0_0/move_certification_to_certificate.py b/lms/patches/v0_0/move_certification_to_certificate.py index 6004a3cb..1005ace5 100644 --- a/lms/patches/v0_0/move_certification_to_certificate.py +++ b/lms/patches/v0_0/move_certification_to_certificate.py @@ -11,4 +11,4 @@ def execute(): "member": data.student, "issue_date": data.issue_date, "expiry_date": data.expiry_date - }).save(ignore_permissions=True, ignore_mandatory=True) + }).insert(ignore_permissions=True, ignore_mandatory=True)