Skip to content

Commit f914cf7

Browse files
committed
Allow setting the migration type name
1 parent 7863dd2 commit f914cf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Foundatio.Repositories.Elasticsearch/Repositories/MigrationsRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ public MigrationRepository(IIndexType<Migration> indexType) : base(indexType) {}
77
}
88

99
public sealed class MigrationType : DynamicIndexType<Migration> {
10-
public MigrationType(IIndex index) : base(index) {}
10+
public MigrationType(IIndex index, string name = "migration") : base(index, name) {}
1111
}
1212
}

0 commit comments

Comments
 (0)