Fixes the technical debt migration

This commit is contained in:
Stephen Ball 2015-10-15 23:51:05 +01:00
parent 943c8124ac
commit 40cc17c2e6
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ class ConvertErrors extends AbstractMigration
$this->processPhpCpdMeta($meta);
break;
case 'technicaldebt-data':
case 'technical_debt-data':
$this->processTechnicalDebtMeta($meta);
break;
}

View file

@ -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);