Install Oban with dedicated repo
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user