Use release instead of year

This commit is contained in:
Claudio Ortolina
2024-10-02 14:22:22 +01:00
parent 97b04ba8a2
commit 024d95da7c
13 changed files with 44 additions and 42 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ defmodule MusicLibrary.RecordsFixtures do
title: Enum.random(@titles),
type: :album,
format: :cd,
year: Enum.random(1969..2024)
release: Enum.random(1969..2024) |> Integer.to_string()
})
|> MusicLibrary.Records.create_record()