Migrations: Add a migration to backfill notification types.

This commit is contained in:
lain 2020-06-02 15:13:19 +02:00
commit 6cd2fa2a4c
2 changed files with 29 additions and 4 deletions

View file

@ -0,0 +1,10 @@
defmodule Pleroma.Repo.Migrations.BackfillNotificationTypes do
use Ecto.Migration
def up do
Pleroma.Notification.fill_in_notification_types()
end
def down do
end
end