lightster/hodor

View on GitHub
migrations/postgres/20151228082041_AddMutexId.php

Summary

Maintainability
A
1 hr
Test Coverage

Method transactionalUp has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function transactionalUp(YoPdo $yo_pdo)
    {
        $sql = <<<SQL
ALTER TABLE buffered_jobs
    ADD COLUMN mutex_id VARCHAR DEFAULT 'hodor:' || currval('buffered_jobs_buffered_job_id_seq'::regclass);
Severity: Minor
Found in migrations/postgres/20151228082041_AddMutexId.php - About 1 hr to fix

There are no issues that match your filters.

Category
Status