Commit 0faf8dbe authored by feld's avatar feld
Browse files

Simplify migration

parent d35b6254
Pipeline #35231 passed with stages
in 9 minutes and 32 seconds
defmodule Pleroma.Repo.Migrations.AddDiscloseClientToUsers do
use Ecto.Migration
def up do
def change do
alter table(:users) do
add(:disclose_client, :boolean, default: true)
end
end
def down do
alter table(:users) do
remove(:disclose_client)
end
end
end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment