chore: add migrations to git
This commit is contained in:
@@ -6,7 +6,7 @@ defmodule Localiser.Migrator do
|
||||
end
|
||||
|
||||
def init(_args) do
|
||||
path = Application.app_dir(:localiserd, "priv/repo/migrations")
|
||||
path = Application.app_dir(:localiserd, "migrations")
|
||||
Ecto.Migrator.run(Localiser.Repo, path, :up, all: true)
|
||||
{:ok, %{}}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user