@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        final Migration that = (Migration) o;
        return Objects.equals(this.createdAt(), that.createdAt());
    }
@Test
    public void testEquals() {
        final MigrationA a = new MigrationA();
        final MigrationA aa = new MigrationA();
        final MigrationB b = new MigrationB();

        assertThat(a.equals(aa)).isTrue();
        assertThat(a.equals(b)).isFalse();
    }