View file upgrade/migrations/20161108183115_rename_key_in_invite.php
<?php use Phinx\Migration\AbstractMigration; class RenameKeyInInvite extends AbstractMigration { /** * Migrate Change. */ public function change() { $table = $this->table('invite'); $table->renameColumn('key', 'hash'); } }