2019-05-13 18:05:33 +00:00
|
|
|
defmodule Pleroma.Repo.Migrations.ChangeHideColumnInFilterTable do
|
|
|
|
use Ecto.Migration
|
|
|
|
|
2019-07-01 01:08:07 +00:00
|
|
|
def up do
|
2019-05-13 18:05:33 +00:00
|
|
|
alter table(:filters) do
|
|
|
|
modify :hide, :boolean, default: false
|
|
|
|
end
|
|
|
|
end
|
2019-07-01 01:08:07 +00:00
|
|
|
|
|
|
|
def down do
|
|
|
|
alter table(:filters) do
|
|
|
|
modify :hide, :boolean
|
|
|
|
end
|
|
|
|
end
|
2019-05-13 18:05:33 +00:00
|
|
|
end
|