Skip to content

Commit

Permalink
feat: add index for created_at on notifications (#2221)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemald authored Sep 14, 2023
1 parent 62ee671 commit 299966d
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
defmodule Skate.Repo.Migrations.AddNotificationsCreatedAtIndex do
use Ecto.Migration

def change do
create index("notifications", [:created_at])
end
end

0 comments on commit 299966d

Please sign in to comment.