View file database/upgrades/20170122132951_rename_option_in_voteanswer.php

File size: 283B
<?php

use Phinx\Migration\AbstractMigration;

class RenameOptionInVoteanswer extends AbstractMigration
{
    /**
     * Migrate Change.
     */
    public function change()
    {
        $table = $this->table('voteanswer');
        $table->renameColumn('option', 'answer');
    }
}