Skip to content

Commit

Permalink
fix: bug for inconsistent casing on provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaxelr committed Jun 17, 2020
1 parent 435d332 commit f097a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MinimigLib/Options.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ internal string GetMigrationsTableSchema()

public DatabaseProvider MapDatabaseProvider(string input)
{
if (Enum.TryParse(input, out DatabaseProvider provider))
if (Enum.TryParse(input.ToLowerInvariant(), out DatabaseProvider provider))
{
return provider;
}
Expand Down

0 comments on commit f097a56

Please sign in to comment.