diff --git a/priv/repo/migrations/20250918183230_remove_artist_info_image_data.exs b/priv/repo/migrations/20250918183230_remove_artist_info_image_data.exs new file mode 100644 index 00000000..a07021e3 --- /dev/null +++ b/priv/repo/migrations/20250918183230_remove_artist_info_image_data.exs @@ -0,0 +1,17 @@ +defmodule MusicLibrary.Repo.Migrations.RemoveArtistInfoImageData do + use Ecto.Migration + + def up do + alter table(:artist_infos) do + remove(:image_data) + remove :image_data_width + end + end + + def down do + alter table(:artist_infos) do + add :image_data, :blob + add :image_data_width, :integer + end + end +end