Skip to content

Commit

Permalink
Update VerifySqlServer.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Nov 7, 2023
1 parent 19412b9 commit f3fbed6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Verify.SqlServer/VerifySqlServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ public static void Initialize()

static ConversionResult ToSql(MsConnection connection, IReadOnlyDictionary<string, object> context)
{
var schemaSettings = context.GetSchemaSettings();
var builder = new SqlScriptBuilder(schemaSettings);
var settings = context.GetSchemaSettings();
var builder = new SqlScriptBuilder(settings);
var sql = builder.BuildScript(connection);
return new(null, "sql", sql);
}

static async Task<ConversionResult> ToSql(SysConnection connection, IReadOnlyDictionary<string, object> context)
{
var schemaSettings = context.GetSchemaSettings();
var builder = new SqlScriptBuilder(schemaSettings);
var settings = context.GetSchemaSettings();
var builder = new SqlScriptBuilder(settings);
var sql = await builder.BuildScript(connection);
return new(null, "sql", sql);
}
Expand Down

0 comments on commit f3fbed6

Please sign in to comment.