debianize-mobilizon/priv/repo/migrations/20200410100554_add_number_edits_to_comment.exs
Thomas Citharel 4144e9ffd0
Introduce group basic federation, event new page and notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-03 16:01:26 +02:00

10 lines
197 B
Elixir

defmodule Mobilizon.Storage.Repo.Migrations.AddNumberEditsToComment do
use Ecto.Migration
def change do
alter table(:comments) do
add(:edits, :integer, default: 0)
end
end
end