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