Project

General

Profile

Feature #4882

Migrate class tables to usergroup tables

Added by Yannick Warnier over 7 years ago. Updated over 7 years ago.

Status:
Feature implemented
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
12/06/2012
Due date:
% Done:

100%

Estimated time:
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

The "old" classes feature is completely deprecated by the new classes (usergroup) feature now, so it is time to move on:
  • 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

Revision 0945c008 (diff)
Added by Julio Montoya over 7 years ago

class_rel_course migration to usergroup_rel_course see #4882

Revision 73e7a3a0 (diff)
Added by Julio Montoya over 7 years ago

Adding drop old tables see #4882

Revision fd714c23 (diff)
Added by Yannick Warnier almost 7 years ago

Minor improvements to migration scripts - refs #4882

Revision 8ae0ad2a (diff)
Added by Julio Montoya almost 7 years ago

Adding after before records see #4882

History

#1

Updated by Julio Montoya over 7 years ago

  • Status changed from Assigned to Needs more info
#2

Updated by Julio Montoya over 7 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 ...

#3

Updated by Yannick Warnier over 7 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".

#4

Updated by Julio Montoya over 7 years ago

This is the section:

main/admin/system_management.php

#5

Updated by Julio Montoya over 7 years ago

I just added a new option to delete old tables in main/admin/system_management.php

#6

Updated by Yannick Warnier over 7 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

Also available in: Atom PDF