Skip to content

Commit

Permalink
Remove if not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed May 9, 2024
1 parent 861eb30 commit bd183b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SET statement_timeout = 0;

--bun:split
DROP INDEX CONCURRENTLY message_receivertimestamp_idx;

SELECT 1;
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ DROP INDEX IF EXISTS message_recvts_shouldexpire_idx;
-- bun:split
-- Replace recvts_shouldexpire_idx with an index just on receiver timestamp
-- This index is used in our data pipelines to power the data warehouse for high level analytics on network growth
CREATE INDEX CONCURRENTLY IF NOT EXISTS message_receivertimestamp_idx ON public.message(receiverTimestamp);
CREATE INDEX CONCURRENTLY message_receivertimestamp_idx ON public.message(receiverTimestamp);

0 comments on commit bd183b3

Please sign in to comment.