mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-04-28 15:28:44 +00:00
11 lines
242 B
Elixir
11 lines
242 B
Elixir
defmodule Rauversion.Repo.Migrations.AddCounterCachesToTrack do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
alter table(:tracks) do
|
|
add(:likes_count, :integer, default: 0)
|
|
add(:reposts_count, :integer, default: 0)
|
|
end
|
|
end
|
|
end
|