HEMERA-3166: Fixed postgres engine and identity drop sql.