mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 09:38:26 +02:00
⚡ Add performance enhancements on telemetry related queries
This commit is contained in:
parent
0e92bcc0de
commit
ba167f256b
3 changed files with 20 additions and 9 deletions
|
@ -0,0 +1,2 @@
|
|||
CREATE INDEX profile__props__newsletter1__idx ON profile (email) WHERE props->>'~:newsletter-news' = 'true';
|
||||
CREATE INDEX profile__props__newsletter2__idx ON profile (email) WHERE props->>'~:newsletter-updates' = 'true';
|
Loading…
Add table
Add a link
Reference in a new issue