chore: remove immutable from custom fields
This commit is contained in:
parent
2d259e8083
commit
6c38d7455f
4 changed files with 25 additions and 21 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue