2022-01-08 14:47:52 -07:00
|
|
|
defmodule Pleroma.Repo.Migrations.AddMastofeSettings do
|
|
|
|
use Ecto.Migration
|
|
|
|
|
2023-06-09 14:02:26 -06:00
|
|
|
def up do
|
2022-01-08 14:47:52 -07:00
|
|
|
alter table(:users) do
|
|
|
|
add_if_not_exists(:mastofe_settings, :map)
|
|
|
|
end
|
|
|
|
end
|
2023-06-09 14:02:26 -06:00
|
|
|
|
|
|
|
def down do
|
|
|
|
alter table(:users) do
|
|
|
|
remove_if_exists(:mastofe_settings, :map)
|
|
|
|
end
|
|
|
|
end
|
2022-01-08 14:47:52 -07:00
|
|
|
end
|