Skip to content

Commit

Permalink
Undo change
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-martinez committed Jan 3, 2023
1 parent cb1f1e1 commit 3d379e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/lenra/lib/lenra/application.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ defmodule Lenra.Application do
require Logger

def start(_type, _args) do
Lenra.MigrationHelper.migrate()

children = [
# Start the ecto repository
Lenra.Repo,
Expand Down Expand Up @@ -42,7 +44,6 @@ defmodule Lenra.Application do

Logger.info("Lenra Supervisor Starting")
res = Supervisor.start_link(children, opts)
Lenra.MigrationHelper.migrate()
Lenra.Seeds.run()
Logger.info("Lenra Supervisor Started")
res
Expand Down

0 comments on commit 3d379e5

Please sign in to comment.