support for migrated databases