mobilizon/priv/repo/migrations/20210601082412_add_is_announcement_to_comments.exs
Thomas Citharel 58bffc5c66
WIP notification settings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:33:25 +02:00

10 lines
228 B
Elixir

defmodule Mobilizon.Storage.Repo.Migrations.AddIsAnnouncementToComments do
use Ecto.Migration
def change do
alter table(:comments) do
add(:is_announcement, :boolean, default: false, null: false)
end
end
end