Skip to content

Commit

Permalink
Passing model.
Browse files Browse the repository at this point in the history
  • Loading branch information
cincuranet committed Jul 18, 2018
1 parent 894205c commit 4aa72e3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -119,7 +119,7 @@ IReadOnlyList<MigrationCommand> Generate(IReadOnlyList<MigrationOperation> opera
using (var db = GetDbContext<FbTestDbContext>())
{
var generator = db.GetService<IMigrationsSqlGenerator>();
return generator.Generate(operations);
return generator.Generate(operations, db.Model);
}
}
}
Expand Down

0 comments on commit 4aa72e3

Please sign in to comment.