Migrations: Move Notification migration code to helper

This commit is contained in:
lain 2020-06-06 15:33:02 +02:00
commit 9189b489ee
5 changed files with 144 additions and 78 deletions

View file

@ -2,7 +2,7 @@ defmodule Pleroma.Repo.Migrations.BackfillNotificationTypes do
use Ecto.Migration
def up do
Pleroma.Notification.fill_in_notification_types()
Pleroma.MigrationHelper.fill_in_notification_types()
end
def down do