mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-07-03 20:35:53 +00:00
16 lines
280 B
Elixir
16 lines
280 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
|