unique indexes migration support
refactoring