From 013af9b8b251cf190af27d4942a745613c92110a Mon Sep 17 00:00:00 2001 From: Christoph Grothaus Date: Mon, 5 Dec 2022 08:18:07 +0100 Subject: [PATCH] feat: `phx_web` generate `endpoint.ex` with `CheckRepoStatus` `migration_lock: false` option --- installer/templates/phx_web/endpoint.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/templates/phx_web/endpoint.ex b/installer/templates/phx_web/endpoint.ex index d9ec4b36c0..adea2ef57d 100644 --- a/installer/templates/phx_web/endpoint.ex +++ b/installer/templates/phx_web/endpoint.ex @@ -29,7 +29,7 @@ defmodule <%= @endpoint_module %> do socket "/phoenix/live_reload/socket", Phoenix.LiveReloader.Socket plug Phoenix.LiveReloader<% end %> plug Phoenix.CodeReloader<%= if @ecto do %> - plug Phoenix.Ecto.CheckRepoStatus, otp_app: :<%= @web_app_name %><% end %> + plug Phoenix.Ecto.CheckRepoStatus, otp_app: :<%= @web_app_name %>, migration_lock: false<% end %> end<%= if @dashboard do %> plug Phoenix.LiveDashboard.RequestLogger,