fix: Add indices to some tables
All checks were successful
Build / build (push) Successful in 4m2s

This commit is contained in:
Daniel Kempkens 2023-10-24 11:08:20 +02:00
parent 6bce856193
commit 7359b6f849
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -0,0 +1,10 @@
defmodule BdfrBrowser.Repo.Migrations.AddIndicesToMultipleTables do
use Ecto.Migration
def change do
create index("posts", :author)
create index("posts", :posted_at)
create index("comments", :author)
create index("chats", :accounts)
end
end