src/Console/Controllers/MigrateController.php
protected function addMigrationHistory($version)
    {
        $command = $this->db->createCommand();
        return $command->insert($this->migrationTable, [
            'version' => $version,
            'apply_time' => time(),
        ])->execute();
    }
protected function addMigrationHistory($version)
    {
        $command = $this->db->createCommand();
        return $command->insert($this->migrationTable, [
            'version' => $version,
            'apply_time' => time(),
        ])->execute();
    }
{@inheritdoc}