MDL-48549 mod_assign: added upgrade to clean the tables