private static void AssertDatabaseMigrationsAreEqual( string appliedMigrationId, IEnumerable<string> expected, IEnumerable<string> actual) { if (expected.SequenceEqual(actual)) { return; } throw new MigrationAssertFailedExecption( appliedMigrationId, $"Expected migrations did not match the actual migrations after migrating to {appliedMigrationId}."); }