@Test
void deleted() throws Exception {

    AccountInfo.Builder accountInfo = accountInfo();
    accountInfo.setDeleted(true);
    write(accountInfo.build());
    migration.migrate(new FlywayContext());
    Assertions.assertThat(entityRepository.findById(EntityId.of(accountId).getId()))
            .get()
            .extracting(Entities::isDeleted)
            .isEqualTo(true);
}