src/models/Schema.php
public function getTable(TableSchema $table, $indent = 0)
    {
        $definition =
            $this->getCreateTable($table->name, $indent)
            . $this->getColumns($table->columns, $indent + 1)
            . $this->getTableOptions($table, $indent)
        ;

        return $definition;
    }
public function getTable(TableSchema $table, $indent = 0)
    {
        $definition =
            $this->getCreateTable($table->name, $indent)
            . $this->getColumns($table->columns, $indent + 1)
            . $this->getTableOptions($table, $indent)
        ;

        return $definition;
    }
get table safeUp definition with primary key
@param TableSchema $table
@param $indent int text-indent 文本缩进
@return string