Error when executing migration: (UndefinedFunctionError) function TodolistWeb.html/0

Hello, i’m new to Elixir and i have some trouble to migrate my database. I generated my tables through the command mix phx.gen.html. After that I defined my routes in api scope of router.ex. But now when i try to migrate with mix ecto.migrate it returns this error :

mix ecto.migrate
Compiling 13 files (.ex)

== Compilation error in file lib/time_manager_web/controllers/working_time_html.ex ==
** (UndefinedFunctionError) function TodolistWeb.html/0 is undefined or private
    TodolistWeb.html()
    expanding macro: TodolistWeb.__using__/1
    lib/time_manager_web/controllers/working_time_html.ex:2: TodolistWeb.WorkingTimeHTML (module)
    (elixir 1.17.3) expanding macro: Kernel.use/2
    lib/time_manager_web/controllers/working_time_html.ex:2: TodolistWeb.WorkingTimeHTML (module)

can someone help me ?