mirror of
https://github.com/kieraneglin/pinchflat.git
synced 2026-01-23 02:24:24 +00:00
Re-adds source uniqueness index
This commit is contained in:
parent
c58e176619
commit
4e26253b33
3 changed files with 77 additions and 0 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue