public function toSchema()
    {
        $schema = [];

        foreach ($this->getColumns() as $column) {
            if (! in_array($name = $column->getName(), $this->except)) {
                $schema[] = $name.':'.strtolower($column->getType());
            }
        }

        return implode(', ', $schema);
    }
public function toSchema()
    {
        $schema = [];

        foreach ($this->getColumns() as $column) {
            if (! in_array($name = $column->getName(), $this->except)) {
                $schema[] = $name.':'.strtolower($column->getType());
            }
        }

        return implode(', ', $schema);
    }
public function toSchema ( ) { $ schema = [ ] ; foreach ( $ this -> getColumns ( ) as $ column ) { if ( ! in_array ( $ name = $ column -> getName ( ) , $ this -> except ) ) { $ schema [ ] = $ name . ':' . strtolower ( $ column -> getType ( ) ) ; } } return implode ( ', ' , $ schema ) ; }
Convert table description to migration schema.

@return string
Convert table description to migration schema .