Compare commits

..

2 Commits

Author SHA1 Message Date
11a8214b94 fix tests
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-04 21:52:23 -05:00
311579efd6 improve oban logging
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-04 20:48:17 -05:00

View File

@ -15,11 +15,11 @@ defmodule Memex.Repo.Migrator do
end end
def migrate! do def migrate! do
path = Application.app_dir(:memex, "priv/repo/migrations") path = Application.app_dir(:lokal, "priv/repo/migrations")
Ecto.Migrator.run(Memex.Repo, path, :up, all: true) Ecto.Migrator.run(Lokal.Repo, path, :up, all: true)
end end
defp automigrate_enabled? do defp automigrate_enabled? do
Application.get_env(:memex, Memex.Application, automigrate: false)[:automigrate] Application.get_env(:lokal, Lokal.Application, automigrate: false)[:automigrate]
end end
end end