CREATE INDEX "audit_entity_idx" ON "audit_logs" USING btree ("tenant_id","entity_id");