Просмотр файла database/upgrades/20170203111851_rename_parent_in_forums.php
<?php use Phinx\Migration\AbstractMigration; class RenameParentInForums extends AbstractMigration { /** * Migrate Change. */ public function change() { $table = $this->table('forums'); $table->renameColumn('parent', 'parent_id'); } }