mobilizon/priv/repo/migrations/20200410100554_add_number_edits_to_comment.exs

10 lines
197 B
Elixir
Raw Normal View History

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