Fixes the technical debt migration
This commit is contained in:
parent
943c8124ac
commit
40cc17c2e6
|
@ -47,7 +47,7 @@ class ConvertErrors extends AbstractMigration
|
||||||
$this->processPhpCpdMeta($meta);
|
$this->processPhpCpdMeta($meta);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'technicaldebt-data':
|
case 'technical_debt-data':
|
||||||
$this->processTechnicalDebtMeta($meta);
|
$this->processTechnicalDebtMeta($meta);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@ class BuildMetaStore extends BuildMetaStoreBase
|
||||||
public function getErrorsForUpgrade($limit)
|
public function getErrorsForUpgrade($limit)
|
||||||
{
|
{
|
||||||
$query = 'SELECT * FROM build_meta
|
$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';
|
ORDER BY id ASC LIMIT :limit';
|
||||||
|
|
||||||
$stmt = Database::getConnection('read')->prepare($query);
|
$stmt = Database::getConnection('read')->prepare($query);
|
||||||
|
|
Loading…
Reference in a new issue