1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-27 13:49:10 +02:00

fix: now lifecycle trends will be added for flags that have official flag type (#10482)

We have instances that have fake flag types in features table. This
ensures, we only count in flags have official types.
This commit is contained in:
Jaanus Sellin 2025-08-08 13:23:35 +03:00 committed by GitHub
parent e43cdcf034
commit 04a57e502e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,6 +30,7 @@ exports.up = function (db, cb) {
FROM feature_lifecycles fl
JOIN features f ON f.name = fl.feature
JOIN projects p ON f.project = p.id
JOIN feature_types ft ON ft.id = f.type
),
latest_stage_on_week AS (
SELECT DISTINCT ON (fl.feature, wr.id)