Skip to content

Commit

Permalink
fix: or-2335 define schema name on marten/wolv. integration
Browse files Browse the repository at this point in the history
  • Loading branch information
koenmetsu committed Dec 16, 2024
1 parent e847b58 commit 9d4bcf5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

public static class MartenExtensions
{
private const string WolverineSchemaName = "public";

public static IServiceCollection AddMarten(
this IServiceCollection services,
IConfigurationRoot configuration,
Expand Down Expand Up @@ -92,7 +94,7 @@ public static IServiceCollection AddMarten(

return opts;
})
.IntegrateWithWolverine()
.IntegrateWithWolverine(schemaName: WolverineSchemaName, transportSchemaName: WolverineSchemaName)
.UseLightweightSessions();

if (configuration["ApplyAllDatabaseChangesDisabled"]?.ToLowerInvariant() != "true")
Expand Down

0 comments on commit 9d4bcf5

Please sign in to comment.