Materialize included release group ids

This commit is contained in:
Claudio Ortolina
2024-11-17 11:52:47 +00:00
parent 297aa07829
commit 659894aaee
4 changed files with 56 additions and 8 deletions
@@ -0,0 +1,11 @@
defmodule MusicLibrary.Repo.Migrations.AddIncludedReleaseGroupIdsToRecords do
use Ecto.Migration
def change do
alter table(:records) do
add :included_release_group_ids, {:array, :string}, default: []
end
create index(:records, [:included_release_group_ids])
end
end