View file upgrade/migrations/20161108181251_rename_order_in_cats.php
<?php use Phinx\Migration\AbstractMigration; class RenameOrderInCats extends AbstractMigration { /** * Migrate Change. */ public function change() { $table = $this->table('cats'); $table->renameColumn('order', 'sort'); } }