View file database/upgrades/20180226113851_rename_desc_in_forums.php

File size: 276B
<?php

use Phinx\Migration\AbstractMigration;

class RenameDescInForums extends AbstractMigration
{
    /**
     * Migrate Change.
     */
    public function change()
    {
        $table = $this->table('forums');
        $table->renameColumn('desc', 'description');
    }
}