summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-06-02 13:24:34 +0200
committerlain <lain@soykaf.club>2020-06-02 13:24:34 +0200
commit805ab86933d90d4284c83e4a8ebfd6bf4b0395b3 (patch)
tree318eeb46110261b6bb2254ecc6f9e6e8831ea963 /priv
parent8e1db6a8352754fd70c51ab8527b71180aa15a5b (diff)
downloadpleroma-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.exs9
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