Fixes the technical debt migration
This commit is contained in:
parent
6eb180ed5f
commit
9f94096d88
|
@ -47,7 +47,7 @@ class ConvertErrors extends AbstractMigration
|
|||
$this->processPhpCpdMeta($meta);
|
||||
break;
|
||||
|
||||
case 'technicaldebt-data':
|
||||
case 'technical_debt-data':
|
||||
$this->processTechnicalDebtMeta($meta);
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ class BuildMetaStore extends BuildMetaStoreBase
|
|||
public function getErrorsForUpgrade($limit)
|
||||
{
|
||||
$query = 'SELECT * FROM build_meta
|
||||
WHERE meta_key IN (\'phpmd-data\', \'phpcs-data\', \'phpdoccheck-data\')
|
||||
WHERE meta_key IN (\'phpmd-data\', \'phpcs-data\', \'phpdoccheck-data\', \'technical_debt-data\')
|
||||
ORDER BY id ASC LIMIT :limit';
|
||||
|
||||
$stmt = Database::getConnection('read')->prepare($query);
|
||||
|
|
Loading…
Reference in a new issue