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:
parent
e43cdcf034
commit
04a57e502e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user