mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-09-08 20:58:28 +00:00
15 lines
282 B
Elixir
15 lines
282 B
Elixir
defmodule Pleroma.Repo.Migrations.ChangeHideColumnInFilterTable do
|
|
use Ecto.Migration
|
|
|
|
def up do
|
|
alter table(:filters) do
|
|
modify(:hide, :boolean, default: false)
|
|
end
|
|
end
|
|
|
|
def down do
|
|
alter table(:filters) do
|
|
modify(:hide, :boolean)
|
|
end
|
|
end
|
|
end
|