Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

21 rinda
353B

  1. defmodule Pleroma.Repo.Migrations.AddEmailNotificationsToUserInfo do
  2. use Ecto.Migration
  3. def up do
  4. execute("
  5. UPDATE users
  6. SET info = info || '{
  7. \"email_notifications\": {
  8. \"digest\": false
  9. }
  10. }'")
  11. end
  12. def down do
  13. execute("
  14. UPDATE users
  15. SET info = info - 'email_notifications'
  16. ")
  17. end
  18. end