fix: run migrator on startup

This commit is contained in:
2026-05-12 15:12:57 +02:00
parent 663a070ab9
commit 43f42f65d8
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -5,6 +5,7 @@ defmodule Localiser.Application do
def start(_type, _args) do
children = [
Localiser.Repo,
Localiser.Migrator,
{Registry, keys: :unique, name: Localiser.Registry},
{Phoenix.PubSub, name: Localiser.PubSub},
Localiser.Web.Endpoint,