bonfire-app/flavours/cooperation/repo/migrations/20220709025257_add_type_to_playlist.exs

12 lines
247 B
Elixir
Raw Normal View History

2022-09-26 22:49:20 +00:00
defmodule Rauversion.Repo.Migrations.AddTypeToPlaylist do
use Ecto.Migration
def change do
alter table(:playlists) do
add(:playlist_type, :string)
add(:genre, :string)
add(:release_date, :utc_datetime)
end
end
end