migration for removing unused apconfig tables