Restore missing migration with amended rollback task

This commit is contained in:
Claudio Ortolina
2025-01-23 10:52:29 +00:00
parent eeaaf8b542
commit 3b3b9cf7a5
@@ -0,0 +1,11 @@
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