projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e48c80
)
use correct versions for oban migrations
author
Alexander Strizhakov
<alex.strizhakov@gmail.com>
Wed, 20 Jan 2021 17:07:24 +0000
(20:07 +0300)
committer
Alexander Strizhakov
<alex.strizhakov@gmail.com>
Wed, 20 Jan 2021 17:07:24 +0000
(20:07 +0300)
priv/repo/migrations/20190730055101_add_oban_jobs_table.exs
patch
|
blob
|
history
priv/repo/migrations/20190917100019_update_oban.exs
patch
|
blob
|
history
priv/repo/migrations/20200402063221_update_oban_jobs_table.exs
patch
|
blob
|
history
diff --git
a/priv/repo/migrations/20190730055101_add_oban_jobs_table.exs
b/priv/repo/migrations/20190730055101_add_oban_jobs_table.exs
index 2f201bd05e96d244690a81f93e4351bae73c8847..5214d59cb968dd5658a9094401e4449bbb26b9b4 100644
(file)
--- a/
priv/repo/migrations/20190730055101_add_oban_jobs_table.exs
+++ b/
priv/repo/migrations/20190730055101_add_oban_jobs_table.exs
@@
-1,6
+1,9
@@
defmodule Pleroma.Repo.Migrations.AddObanJobsTable do
use Ecto.Migration
- defdelegate up, to: Oban.Migrations
+ def up do
+ Oban.Migrations.up(version: 2)
+ end
+
defdelegate down, to: Oban.Migrations
end
diff --git
a/priv/repo/migrations/20190917100019_update_oban.exs
b/priv/repo/migrations/20190917100019_update_oban.exs
index 157dc54f997173f477611b431d2e5f8e823b8f94..f673675de45e135ecbb0dc87441e6dd822c891af 100644
(file)
--- a/
priv/repo/migrations/20190917100019_update_oban.exs
+++ b/
priv/repo/migrations/20190917100019_update_oban.exs
@@
-6,6
+6,6
@@
defmodule Pleroma.Repo.Migrations.UpdateOban do
end
def down do
- Oban.Migrations.down(version:
2
)
+ Oban.Migrations.down(version:
3
)
end
end
diff --git
a/priv/repo/migrations/20200402063221_update_oban_jobs_table.exs
b/priv/repo/migrations/20200402063221_update_oban_jobs_table.exs
index e7ff04008c7780fbbcd6e66c9216c025d0b19c3e..ca6856798f9c2f7eac4ade0a562a641184b085ff 100644
(file)
--- a/
priv/repo/migrations/20200402063221_update_oban_jobs_table.exs
+++ b/
priv/repo/migrations/20200402063221_update_oban_jobs_table.exs
@@
-6,6
+6,6
@@
defmodule Pleroma.Repo.Migrations.UpdateObanJobsTable do
end
def down do
- Oban.Migrations.down(version:
7
)
+ Oban.Migrations.down(version:
8
)
end
end