* feat(db): added new foreign-key indexes * feat(db): added new foreign-key indexes * feat(api): pg_client fixed exception handler * feat(api): changed change password response * feat(api): insights retention
10 lines
No EOL
334 B
PL/PgSQL
10 lines
No EOL
334 B
PL/PgSQL
BEGIN;
|
|
CREATE INDEX pages_session_id_timestamp_idx ON events.pages (session_id, timestamp);
|
|
|
|
CREATE INDEX projects_tenant_id_idx ON projects(tenant_id);
|
|
CREATE INDEX webhooks_tenant_id_idx ON webhooks(tenant_id);
|
|
CREATE INDEX issues_project_id_idx ON issues(project_id);
|
|
CREATE INDEX jobs_project_id_idx ON jobs(project_id);
|
|
|
|
|
|
COMMIT; |