public function rename($from, $to)
    {
        $this->build(Func::tap($this->createBlueprint($from), function (Blueprint $blueprint) use ($to) {
            $blueprint->update();

            $blueprint->rename($to);
        }));
    }
public function rename($from, $to)
    {
        $this->build(Func::tap($this->createBlueprint($from), function (Blueprint $blueprint) use ($to) {
            $blueprint->update();

            $blueprint->rename($to);
        }));
    }
public function rename ( $ from , $ to ) { $ this -> build ( Func :: tap ( $ this -> createBlueprint ( $ from ) , function ( Blueprint $ blueprint ) use ( $ to ) { $ blueprint -> update ( ) ; $ blueprint -> rename ( $ to ) ; } ) ) ; }
Rename a table on the schema.

@param  string $from
@param  string $to

@return void
Rename a table on the schema .