chore: add migration for show in overview flag

This commit is contained in:
carla 2025-11-19 17:27:26 +01:00
parent 70b3875154
commit 6f6808d2ad
2 changed files with 139 additions and 0 deletions

View file

@ -0,0 +1,21 @@
defmodule Mv.Repo.Migrations.AddShowInOverviewToCustomFields do
@moduledoc """
Updates resources based on their most recent snapshots.
This file was autogenerated with `mix ash_postgres.generate_migrations`
"""
use Ecto.Migration
def up do
alter table(:custom_fields) do
add :show_in_overview, :boolean, null: false, default: true
end
end
def down do
alter table(:custom_fields) do
remove :show_in_overview
end
end
end