Store release ids when importing a record

This commit is contained in:
Claudio Ortolina
2024-11-12 10:16:26 +00:00
parent 95ce71d9c5
commit 97c7be7b0c
4 changed files with 303 additions and 0 deletions
@@ -0,0 +1,11 @@
defmodule MusicLibrary.Repo.Migrations.AddReleaseIdsToRecords do
use Ecto.Migration
def change do
alter table(:records) do
add :release_ids, {:array, :string}, default: []
end
create index(:records, [:release_ids])
end
end