diff options
author | Marcin Mikołajczak <git@mkljczk.pl> | 2023-11-08 20:46:57 +0100 |
---|---|---|
committer | Marcin Mikołajczak <git@mkljczk.pl> | 2023-11-08 20:46:57 +0100 |
commit | 1e9333a9aa5f15dd9cbea826ee42561e4a9d12c3 (patch) | |
tree | 923fa49e845b97b99c65855de3113b444253e10c /priv/repo/migrations | |
parent | c6cedbb8106a16527e48ac8ae03907e1d66c5a1b (diff) | |
parent | a51f3937eef0c6add91234863d5f936c59830d88 (diff) | |
download | pleroma-1e9333a9aa5f15dd9cbea826ee42561e4a9d12c3.tar.gz pleroma-1e9333a9aa5f15dd9cbea826ee42561e4a9d12c3.zip |
Merge remote-tracking branch 'origin/develop' into instance-v2
Diffstat (limited to 'priv/repo/migrations')
-rw-r--r-- | priv/repo/migrations/20231107200724_consolidate_email_queues.exs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/priv/repo/migrations/20231107200724_consolidate_email_queues.exs b/priv/repo/migrations/20231107200724_consolidate_email_queues.exs new file mode 100644 index 000000000..63f5af369 --- /dev/null +++ b/priv/repo/migrations/20231107200724_consolidate_email_queues.exs @@ -0,0 +1,9 @@ +defmodule Pleroma.Repo.Migrations.ConsolidateEmailQueues do + use Ecto.Migration + + def change do + execute( + "UPDATE oban_jobs SET queue = 'mailer' WHERE queue in ('digest_emails', 'new_users_digest')" + ) + end +end |