Migrations: Move Notification migration code to helper
This commit is contained in:
parent
9fa3f0b156
commit
9189b489ee
5 changed files with 144 additions and 78 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue