feat(database): added indexes

- added index for UserFavorites
This commit is contained in:
SoXX 2024-10-14 11:31:11 +02:00
parent 112765c5fa
commit 1e658f6a39

View File

@ -0,0 +1,3 @@
-- +migrate Up
CREATE INDEX idx_user_post_deleted ON "UserFavorites"(user_id, deleted_at);
CREATE INDEX idx_created_at ON "UserFavorites"(created_at);