d3yii2/yii2-d3acc

View on GitHub
migrations/m200923_100707_add_sys_company_id.php

Summary

Maintainability
A
1 hr
Test Coverage

Method safeUp has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function safeUp() {

        $this->execute('
            ALTER TABLE `ac_account`   
              ADD COLUMN `sys_company_id` SMALLINT UNSIGNED DEFAULT 0  NOT NULL AFTER `id`;
Severity: Minor
Found in migrations/m200923_100707_add_sys_company_id.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status