mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 04:27:59 +01:00
29 lines
606 B
Elixir
29 lines
606 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, :boolean, default: false
|
|
end
|
|
|
|
alter table("comments") do
|
|
add :approved, :boolean, default: false
|
|
end
|
|
|
|
alter table("posts") do
|
|
add :approved, :boolean, default: false
|
|
end
|
|
|
|
alter table("topics") do
|
|
add :approved, :boolean, default: false
|
|
end
|
|
|
|
alter table("users") do
|
|
add :verified, :boolean, default: false
|
|
end
|
|
end
|
|
end
|