View file database/upgrades/20170203111851_rename_parent_in_forums.php

File size: 278B
<?php

use Phinx\Migration\AbstractMigration;

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