diff --git a/lib/oban/migration.ex b/lib/oban/migration.ex index 5120eecd..c9976143 100644 --- a/lib/oban/migration.ex +++ b/lib/oban/migration.ex @@ -194,7 +194,7 @@ defmodule Oban.Migration do case repo().__adapter__() do Ecto.Adapters.Postgres -> Oban.Migrations.Postgres Ecto.Adapters.SQLite3 -> Oban.Migrations.SQLite - _ -> Map.fetch!(repo().config(), :migrator) + _ -> Keyword.fetch!(repo().config(), :migrator) end end end