fixes dbmigration