ANNOTATIONJAVA-479: Test annotation functional with old database file and update migration functional
Refactored functional for create and work with all entities