chore: remove immutable from custom fields

This commit is contained in:
carla 2025-12-12 14:20:07 +01:00
parent 2d259e8083
commit 6c38d7455f
4 changed files with 25 additions and 21 deletions

View file

@ -0,0 +1,21 @@
defmodule Mv.Repo.Migrations.RemoveImmutableFromCustomFields do
@moduledoc """
Removes the immutable column from custom_fields table.
The immutable field is no longer needed in the custom field definition.
"""
use Ecto.Migration
def up do
alter table(:custom_fields) do
remove :immutable
end
end
def down do
alter table(:custom_fields) do
add :immutable, :boolean, null: false, default: false
end
end
end