Skip to content

Commit

Permalink
feat(migrations): add indexes on channels_emotes_usages ("channelId…
Browse files Browse the repository at this point in the history
…", "userId") fields
  • Loading branch information
Satont committed Aug 16, 2023
1 parent 534cc06 commit 1ac00df
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
-- +goose Up
-- +goose StatementBegin
SELECT 'up SQL query';
CREATE INDEX "channels_emotes_usages_channelId_userId" ON "channels_emotes_usages" ("channelId", "userId");
-- +goose StatementEnd

-- +goose Down
-- +goose StatementBegin
SELECT 'down SQL query';
-- +goose StatementEnd

0 comments on commit 1ac00df

Please sign in to comment.