debianize-mobilizon/priv/repo/migrations/20201006132530_change_default_notification_pending_participation.exs
Thomas Citharel 27a75cd0df
Improve some texts on account registration and email notification
settings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-10-06 15:36:19 +02:00

16 lines
389 B
Elixir

defmodule Mobilizon.Storage.Repo.Migrations.ChangeDefaultNotificationPendingParticipation do
use Ecto.Migration
def up do
alter table(:user_settings) do
modify(:notification_pending_participation, :integer, default: 10)
end
end
def down do
alter table(:user_settings) do
modify(:notification_pending_participation, :integer, default: 5)
end
end
end