philomena/priv/repo/migrations/20220321173359_add_approval_queue.exs
2022-03-24 18:44:38 +01:00

29 lines
574 B
Elixir

defmodule Philomena.Repo.Migrations.AddApprovalQueue do
use Ecto.Migration
def change do
alter table("reports") do
add :system, :boolean, default: false
end
alter table("images") do
add :approved_at, :utc_datetime
end
alter table("comments") do
add :approved_at, :utc_datetime
end
alter table("posts") do
add :approved_at, :utc_datetime
end
alter table("topics") do
add :approved_at, :utc_datetime
end
alter table("users") do
add :verified, :boolean, default: false
end
end
end