示例#1
0
 /**
  * Rename a table on the schema.
  *
  * @param  string  $from
  * @param  string  $to
  * @return Schema_Blueprint
  */
 public function rename($from, $to)
 {
     $blueprint = new Schema_Blueprint($from);
     $blueprint->rename($to);
     return $this->build($blueprint);
 }