Re-adds source uniqueness index

This commit is contained in:
Kieran Eglin 2024-04-01 18:08:46 -07:00
parent c58e176619
commit 4e26253b33
3 changed files with 77 additions and 0 deletions

View file

@ -0,0 +1,7 @@
defmodule Pinchflat.Repo.Migrations.ReReAddSourceUniquenessIndex do
use Ecto.Migration
def change do
create unique_index(:sources, [:collection_id, :media_profile_id, :title_filter_regex])
end
end