added pools #14
3
pkg/database/migrations/002_indexes.sql
Normal file
3
pkg/database/migrations/002_indexes.sql
Normal 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);
|
Loading…
Reference in New Issue
Block a user