Migrations: Add a migration to backfill notification types.
This commit is contained in:
parent
38dce485c4
commit
6cd2fa2a4c
2 changed files with 29 additions and 4 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue