diff options
author | lain <lain@soykaf.club> | 2020-06-02 15:13:19 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-06-02 15:13:19 +0200 |
commit | 6cd2fa2a4cbffaaab7c911f1051d4917e8a06c78 (patch) | |
tree | 7596f83427645f24fb864edd3f8c7451ed5c5fe9 /priv | |
parent | 38dce485c47e9315663c5c9cfd67dab4164b1bbe (diff) | |
download | pleroma-6cd2fa2a4cbffaaab7c911f1051d4917e8a06c78.tar.gz pleroma-6cd2fa2a4cbffaaab7c911f1051d4917e8a06c78.zip |
Migrations: Add a migration to backfill notification types.
Diffstat (limited to 'priv')
-rw-r--r-- | priv/repo/migrations/20200602125218_backfill_notification_types.exs | 10 |
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..493c0280c --- /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.Notification.fill_in_notification_types() + end + + def down do + end +end |