Feature #4882
Migrate class tables to usergroup tables
Description
- if the session mode was disabled
- migrate class table to usergroup table
- migrate class_rel_user table to usergroup_rel_user table
- migrate class_rel_course table to usergroup_rel_course table
- set the session_mode to 'true'
- remove the class-related tables
- if the session mode was enabled
- just remove the class-related tables
Please check thoroughly that the content was migrated (maybe create 10,000 registers in the class_rel_user table before migrating) to avoid any upset user.
Associated revisions
Adding drop old tables see #4882
Minor improvements to migration scripts - refs #4882
Adding after before records see #4882
History
Updated by Julio Montoya over 8 years ago
- Status changed from Assigned to Needs more info
I think I did a commit in another task sorry this is the commit:
Updated by Julio Montoya over 8 years ago
- Assignee deleted (
Julio Montoya) - % Done changed from 0 to 80
Only 1 thing is missing: "remove the class-related tables", Not sure is this is safe ...
Updated by Yannick Warnier over 8 years ago
Julio Montoya wrote:
Only 1 thing is missing: "remove the class-related tables", Not sure is this is safe ...
That's why I put the testing section :-)
If you fill the tables before migration and cehck the numbers are identical after migration, we should be good. Or you can leave in the SystemAdministration option in the administration page... I've seen a button there that says "clean old tables".
Updated by Julio Montoya over 8 years ago
I just added a new option to delete old tables in main/admin/system_management.php
Updated by Yannick Warnier over 8 years ago
- Status changed from Needs more info to Feature implemented
- Assignee set to Julio Montoya
- % Done changed from 80 to 100
good for me
class_rel_course migration to usergroup_rel_course see #4882