Remove record notes
This commit is contained in:
@@ -26,7 +26,6 @@ defmodule MusicLibrary.Records.Record do
|
||||
field :release_ids, {:array, :string}, default: []
|
||||
field :included_release_group_ids, {:array, :string}, default: []
|
||||
field :dominant_colors, {:array, :string}, default: []
|
||||
field :notes, :string
|
||||
|
||||
embeds_many :artists, Artist, on_replace: :delete
|
||||
|
||||
@@ -128,8 +127,7 @@ defmodule MusicLibrary.Records.Record do
|
||||
:cover_url,
|
||||
:cover_hash,
|
||||
:dominant_colors,
|
||||
:purchased_at,
|
||||
:notes
|
||||
:purchased_at
|
||||
])
|
||||
|> cast_embed(:artists)
|
||||
|> validate_required([:type, :title, :musicbrainz_id, :genres])
|
||||
|
||||
Reference in New Issue
Block a user