DatabaseMigrationRepository and test.