Application::isInstalled is using .env which is not compatible on non .env environment (e.g. Docker & co). So the application is never installed (need to recreate a fake .env after each deployment~).
So I switched to INSTALLED like everything else. It's used in a single place anyway.
InitializeApplication is reworked a bit to take that in account (for artisan build when model are deleted).
Application::isInstalled
is using.env
which is not compatible on non.env
environment (e.g. Docker & co). So the application is never installed (need to recreate a fake.env
after each deployment~).So I switched to
INSTALLED
like everything else. It's used in a single place anyway.InitializeApplication
is reworked a bit to take that in account (forartisan build
when model are deleted).