private function runMigrationSQL($path, $method = 'up')
 {
     $migrator = $this->loadMigrationClass($path);
     $this->databaseAPI->connection()->transaction(function () use($migrator, $method) {
         $migrator->{$method}();
     });
 }
 /**
  * Quotes a value for insertion into an SQL query, according to the database engine quoting rules.
  *
  * @param mixed $value
  * @return string
  */
 protected function quote($value)
 {
     return $this->db->connection()->getPdo()->quote($value);
 }
 protected function rollback()
 {
     $this->db->connection()->rollBack();
 }