diff options
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/core/persistence/migration/v44/Migration44Mapper.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/core/persistence/migration/v44/Migration44Mapper.xml b/sonar-core/src/main/resources/org/sonar/core/persistence/migration/v44/Migration44Mapper.xml index eeb24110187..acd7f5ba775 100644 --- a/sonar-core/src/main/resources/org/sonar/core/persistence/migration/v44/Migration44Mapper.xml +++ b/sonar-core/src/main/resources/org/sonar/core/persistence/migration/v44/Migration44Mapper.xml @@ -41,7 +41,7 @@ <select id="selectMeasuresOnDeletedQualityProfiles" resultType="long"> select pm.id from project_measures pm - inner join snapshots as s on s.id=pm.snapshot_id and s.islast=${_true} + inner join snapshots s on s.id=pm.snapshot_id and s.islast=${_true} where pm.metric_id=(select id from metrics where name='quality_profiles') and pm.value is not null |