src/PeskyCMF/Db/MigrationByQuery.php
public function up() {
        $this->out($this->upIntro);
        $query = $this->getSqlFromFile($this->file);
        try {
            $this->executeQueryOnSchema($this->schema, $query, $this->tables, $this->getUpTestQuery());
        } catch (\Exception $exc) {
            if ($this->ignoreErrors) {
                $this->out('Exception: ' . $exc->getMessage());
            } else {
                throw $exc;
            }
        }
    }
public function up() {
        $this->out($this->upIntro);
        $query = $this->getSqlFromFile($this->file);
        try {
            $this->executeQueryOnSchema($this->schema, $query, $this->tables, $this->getUpTestQuery());
        } catch (\Exception $exc) {
            if ($this->ignoreErrors) {
                $this->out('Exception: ' . $exc->getMessage());
            } else {
                throw $exc;
            }
        }
    }
Run the migrations.

@throws \Exception
@throws \PeskyORM\Exception\DbException