Move ErrorTracker to its own repo and file

Note that the SQlite adapter supports version 2 onwards.
This commit is contained in:
Claudio Ortolina
2025-01-23 10:40:36 +00:00
parent 6d64153ea8
commit eeaaf8b542
7 changed files with 35 additions and 4 deletions
+4 -2
View File
@@ -8,7 +8,7 @@
import Config
config :music_library,
ecto_repos: [MusicLibrary.Repo],
ecto_repos: [MusicLibrary.Repo, MusicLibrary.ErrorRepo],
generators: [timestamp_type: :utc_datetime, binary_id: true]
config :music_library, MusicLibraryWeb, login_password: "change me", api_token: "change me"
@@ -69,10 +69,12 @@ config :logger, :console,
config :phoenix, :json_library, Jason
config :error_tracker,
repo: MusicLibrary.Repo,
repo: MusicLibrary.ErrorRepo,
otp_app: :music_library,
enabled: true
config :music_library, MusicLibrary.ErrorRepo, priv: "priv/error_repo"
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{config_env()}.exs"