yii\test\InitDbFixture::checkIntegrity PHP Метод

checkIntegrity() публичный Метод

Toggles the DB integrity check.
public checkIntegrity ( boolean $check )
$check boolean whether to turn on or off the integrity check.
    public function checkIntegrity($check)
    {
        foreach ($this->schemas as $schema) {
            $this->db->createCommand()->checkIntegrity($check, $schema)->execute();
        }
    }