bonfire-app/flavours/cooperation/repo/migrations/20220719192759_add_counter_caches_to_playlist.exs

10 lines
200 B
Elixir
Raw Normal View History

2022-09-26 22:49:20 +00:00
defmodule Rauversion.Repo.Migrations.AddCounterCachesToPlaylist do
use Ecto.Migration
def change do
alter table(:playlists) do
add(:likes_count, :integer, default: 0)
end
end
end