View file database/upgrades/20170928114941_change_summ_in_transfers.php
<?php use Phinx\Migration\AbstractMigration; class ChangeSummInTransfers extends AbstractMigration { /** * Migrate Up. */ public function up() { $table = $this->table('transfers'); $table->renameColumn('summ', 'total'); } /** * Migrate Down. */ public function down() { $table = $this->table('transfers'); $table->renameColumn('total', 'summ'); } }