summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20200602125218_backfill_notification_types.exs
diff options
context:
space:
mode:
Diffstat (limited to 'priv/repo/migrations/20200602125218_backfill_notification_types.exs')
-rw-r--r--priv/repo/migrations/20200602125218_backfill_notification_types.exs10
1 files changed, 10 insertions, 0 deletions
diff --git a/priv/repo/migrations/20200602125218_backfill_notification_types.exs b/priv/repo/migrations/20200602125218_backfill_notification_types.exs
new file mode 100644
index 000000000..996d721ee
--- /dev/null
+++ b/priv/repo/migrations/20200602125218_backfill_notification_types.exs
@@ -0,0 +1,10 @@
+defmodule Pleroma.Repo.Migrations.BackfillNotificationTypes do
+ use Ecto.Migration
+
+ def up do
+ Pleroma.MigrationHelper.NotificationBackfill.fill_in_notification_types()
+ end
+
+ def down do
+ end
+end