summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20210401143153_user_notification_settings_fix.exs
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2023-01-02 16:38:34 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2023-01-02 16:38:34 +0000
commit0fe3f749ea05f1e73207d2ae8c41078e91bb03fe (patch)
tree3d02bff89609534850695370a75ae9898f04d96e /priv/repo/migrations/20210401143153_user_notification_settings_fix.exs
parent2bc6911139a3aee68bc29d3c9838c7730d5ae706 (diff)
parent10886eeaa2d764193ce804b99b60d5eb006ee124 (diff)
downloadpleroma-0fe3f749ea05f1e73207d2ae8c41078e91bb03fe.tar.gz
pleroma-0fe3f749ea05f1e73207d2ae8c41078e91bb03fe.zip
Merge branch 'copyright-bump' into 'develop'
Bump copyright year See merge request pleroma/pleroma!3825
Diffstat (limited to 'priv/repo/migrations/20210401143153_user_notification_settings_fix.exs')
-rw-r--r--priv/repo/migrations/20210401143153_user_notification_settings_fix.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/repo/migrations/20210401143153_user_notification_settings_fix.exs b/priv/repo/migrations/20210401143153_user_notification_settings_fix.exs
index 3fd325789..1a869b7ed 100644
--- a/priv/repo/migrations/20210401143153_user_notification_settings_fix.exs
+++ b/priv/repo/migrations/20210401143153_user_notification_settings_fix.exs
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-2023 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Repo.Migrations.UserNotificationSettingsFix do
@@ -7,7 +7,7 @@ defmodule Pleroma.Repo.Migrations.UserNotificationSettingsFix do
def up do
execute(~s(UPDATE users
- SET
+ SET
notification_settings = '{"followers": true, "follows": true, "non_follows": true, "non_followers": true}'::jsonb WHERE notification_settings IS NULL
))