mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
Add missing constraint conversion to artist links
This commit is contained in:
parent
9122ba0829
commit
961c9998b8
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ defmodule Philomena.ArtistLinks.ArtistLink do
|
||||||
|> parse_uri()
|
|> parse_uri()
|
||||||
|> put_verification_code()
|
|> put_verification_code()
|
||||||
|> put_next_check_at()
|
|> put_next_check_at()
|
||||||
|
|> unique_constraint([:uri, :tag_id, :user_id],
|
||||||
|
name: :index_artist_links_on_uri_tag_id_user_id
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
def validate_category(changeset) do
|
def validate_category(changeset) do
|
||||||
|
|
Loading…
Reference in a new issue