Install Oban with dedicated repo

This commit is contained in:
Claudio Ortolina
2025-04-13 18:08:05 +01:00
parent 3f4e2bc975
commit c44fcc7321
10 changed files with 59 additions and 1 deletions
@@ -0,0 +1,13 @@
defmodule MusicLibrary.BackgroundRepo.Migrations.CreateJobsTable do
use Ecto.Migration
def up do
Oban.Migration.up(version: 12)
end
# We specify `version: 1` in `down`, ensuring that we'll roll all the way back down if
# necessary, regardless of which version we've migrated `up` to.
def down do
Oban.Migration.down(version: 1)
end
end