fixed db migrations versioning issues