Remove ErrorTracker

Doesn't work with recent LiveView releases, and seems to be maintained
very slowly despite incoming PRs to fix the issues.
This commit is contained in:
Claudio Ortolina
2025-10-03 10:11:56 +03:00
parent f5bd7d0774
commit 57dfd3d33d
18 changed files with 4 additions and 101 deletions
@@ -1,6 +0,0 @@
defmodule MusicLibrary.ErrorRepo.Migrations.AddErrorTracker do
use Ecto.Migration
def up, do: ErrorTracker.Migration.up(version: 4)
def down, do: ErrorTracker.Migration.down(version: 2)
end
@@ -1,7 +0,0 @@
defmodule MusicLibrary.ErrorRepo.Migrations.UpgradeErrorTrackerV5 do
use Ecto.Migration
def up, do: ErrorTracker.Migration.up(version: 5)
def down, do: ErrorTracker.Migration.down(version: 4)
end
-5
View File
@@ -389,11 +389,6 @@ msgstr ""
msgid "A->Z"
msgstr ""
#: lib/music_library_web/components/layouts/app.html.heex
#, elixir-autogen, elixir-format
msgid "Errors"
msgstr ""
#: lib/music_library_web/live/artist_live/show.ex
#, elixir-autogen, elixir-format
msgid "On Tour"
-5
View File
@@ -389,11 +389,6 @@ msgstr ""
msgid "A->Z"
msgstr ""
#: lib/music_library_web/components/layouts/app.html.heex
#, elixir-autogen, elixir-format
msgid "Errors"
msgstr ""
#: lib/music_library_web/live/artist_live/show.ex
#, elixir-autogen, elixir-format
msgid "On Tour"
@@ -1,11 +0,0 @@
defmodule MusicLibrary.Repo.Migrations.AddErrorTracker do
use Ecto.Migration
def up, do: ErrorTracker.Migration.up(version: 4)
def down do
# Not sure why, but the built-in migration fails, so we're removing things manually
drop table(:error_tracker_meta)
drop table(:error_tracker_errors)
drop table(:error_tracker_occurrences)
end
end
@@ -1,9 +0,0 @@
defmodule MusicLibrary.Repo.Migrations.RemoveErrorTracker do
use Ecto.Migration
def change do
drop table(:error_tracker_meta)
drop table(:error_tracker_errors)
drop table(:error_tracker_occurrences)
end
end