MDL-65248 analytics: Replace upgrade script to apply for all moves
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 22 Apr 2019 23:22:19 +0000 (01:22 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 23 Apr 2019 11:53:46 +0000 (13:53 +0200)
commit9c0edd12126b159f9045b012e85205d69a267835
tree8fc9153233e5a08d61478b2ae783346cfb89ff38
parent3df9c60390a19a1b3135a933f4a065170d5ebf94
MDL-65248 analytics: Replace upgrade script to apply for all moves

While strictly we don't nedd to provide an upgrade path for master,
any dev/integration site already using some of the 3.7 new tagets
in models will break (class rename/move) if we don't perform the
update of all them.

This commit takes rid of the previous upgrade step, only performing
the update of a couple of targets and now supports all the (5) targets:

- course_dropout
- course_competencies
- course_completion
- course_gradetopass
- no_teaching
lib/db/upgrade.php
version.php