View file database/upgrades/20180306180331_rename_count_in_loads.php

File size: 276B
<?php

use Phinx\Migration\AbstractMigration;

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