Add record format (defaulting to CD)

This commit is contained in:
Claudio Ortolina
2024-09-28 19:16:15 +01:00
parent 154b94646a
commit 82e5962c74
5 changed files with 39 additions and 3 deletions
@@ -0,0 +1,9 @@
defmodule MusicLibrary.Repo.Migrations.AddFormatToRecords do
use Ecto.Migration
def change do
alter table(:records) do
add :format, :string, default: "cd"
end
end
end