Просмотр файла database/upgrades/20170122132951_rename_option_in_voteanswer.php

Размер файла: 283B
<?php

use Phinx\Migration\AbstractMigration;

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