Added migration for view type