You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating a new Phoenix app with --database sqlite3, a call to Ecto.Migrator is added to the list of children.
This has a :skip? option that uses this generated function:
defpskip_migrations?()do# By default, sqlite migrations are run when using a releaseSystem.get_env("RELEASE_NAME")!=nilend
The comment and the result are different, by default this returns true in a release, which causes the migrations to be skipped.
The text was updated successfully, but these errors were encountered:
Environment
Actual behavior
When generating a new Phoenix app with
--database sqlite3
, a call toEcto.Migrator
is added to the list of children.This has a
:skip?
option that uses this generated function:The comment and the result are different, by default this returns
true
in a release, which causes the migrations to be skipped.The text was updated successfully, but these errors were encountered: