diff options
author | lain <lain@soykaf.club> | 2020-06-02 13:24:34 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-06-02 13:24:34 +0200 |
commit | 805ab86933d90d4284c83e4a8ebfd6bf4b0395b3 (patch) | |
tree | 318eeb46110261b6bb2254ecc6f9e6e8831ea963 /priv | |
parent | 8e1db6a8352754fd70c51ab8527b71180aa15a5b (diff) | |
download | pleroma-805ab86933d90d4284c83e4a8ebfd6bf4b0395b3.tar.gz pleroma-805ab86933d90d4284c83e4a8ebfd6bf4b0395b3.zip |
Notifications: Make notifications save their type.
Diffstat (limited to 'priv')
-rw-r--r-- | priv/repo/migrations/20200602094828_add_type_to_notifications.exs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/priv/repo/migrations/20200602094828_add_type_to_notifications.exs b/priv/repo/migrations/20200602094828_add_type_to_notifications.exs new file mode 100644 index 000000000..19c733628 --- /dev/null +++ b/priv/repo/migrations/20200602094828_add_type_to_notifications.exs @@ -0,0 +1,9 @@ +defmodule Pleroma.Repo.Migrations.AddTypeToNotifications do + use Ecto.Migration + + def change do + alter table(:notifications) do + add(:type, :string) + end + end +end |