cannery/priv/repo/migrations/20220209003648_add_oban_jobs_table.exs
2022-02-09 00:13:12 -05:00

14 lines
337 B
Elixir

defmodule Cannery.Repo.Migrations.AddObanJobsTable do
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