mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-27 18:31:07 +00:00
95ba76a0fa
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
13 lines
347 B
Elixir
13 lines
347 B
Elixir
defmodule Mobilizon.Storage.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
|