MDL-48549 mod_assign: delete entries from assign_user_flags/mapping
MDL-48549 mod_assign: added upgrade to clean the tables