Working with refactoring of schemas