View file database/upgrades/20180306180022_rename_count_in_categories.php

File size: 286B
<?php

use Phinx\Migration\AbstractMigration;

class RenameCountInCategories extends AbstractMigration
{
    /**
     * Migrate Change.
     */
    public function change()
    {
        $table = $this->table('categories');
        $table->renameColumn('count', 'count_blogs');
    }
}