Updated CodeGen_PagesBlocksAttributesMigration.sql to work after Attribute category refactor