AsDetail contexts table migration