2023-02-25 15:47:37 -05:00
|
|
|
defmodule Cannery.Repo.Migrations.AddOban do
|
2022-02-12 23:24:11 -05:00
|
|
|
use Ecto.Migration
|
|
|
|
|
|
|
|
def up do
|
|
|
|
Oban.Migrations.up()
|
|
|
|
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.Migrations.down(version: 1)
|
|
|
|
end
|
|
|
|
end
|