Finally working migration. Schema and view