Add missing index to records table

Updates a relevant test to remove flakyness
This commit is contained in:
Claudio Ortolina
2024-10-22 22:15:13 +01:00
parent 65a6bbbea9
commit 79edd6eade
2 changed files with 10 additions and 1 deletions
@@ -0,0 +1,7 @@
defmodule MusicLibrary.Repo.Migrations.AddPurchasedAtIndexToRecords do
use Ecto.Migration
def change do
create index("records", [:purchased_at])
end
end