View file database/upgrades/20171008013811_add_explain_to_banhist.php

File size: 315B
<?php

use Phinx\Migration\AbstractMigration;

class AddExplainToBanhist extends AbstractMigration
{
    /**
     * Migrate Up.
     */
    public function change()
    {
        $table = $this->table('banhist');
        $table->addColumn('explain', 'boolean', ['default' => false])
            ->update();
    }
}