mastes_init_migrate