View file database/upgrades/20190417142939_rename_rekuser_table.php
<?php use Phinx\Migration\AbstractMigration; class RenameRekuserTable extends AbstractMigration { /** * Change Method. */ public function change(): void { $table = $this->table('rekuser'); $table->rename('adverts')->save(); } }