Remove year from records

This commit is contained in:
Claudio Ortolina
2024-10-02 14:32:27 +01:00
parent 024d95da7c
commit fb978406cd
2 changed files with 9 additions and 1 deletions
-1
View File
@@ -13,7 +13,6 @@ defmodule MusicLibrary.Records.Record do
field :image_url, :string
field :image_data, :binary
field :image_data_hash, :string
field :year, :integer
field :musicbrainz_id, Ecto.UUID
field :genres, {:array, :string}
field :release, :string
@@ -0,0 +1,9 @@
defmodule MusicLibrary.Repo.Migrations.RemoveYearFromRecords do
use Ecto.Migration
def change do
alter table(:records) do
remove :year
end
end
end