Project: datamanagement
Issue DM-3980: Post SQLAlchemy-migration tweaks
Implement some minor tweaks take came in late through PR comments, mostly related to sqlalchemy related migration
Story points: 1