View file database/upgrades/20180420132009_edit_fields_in_counter31.php

File size: 475B
<?php

use Phinx\Migration\AbstractMigration;

class EditFieldsInCounter31 extends AbstractMigration
{
    /**
     * Migrate Up.
     */
    public function up()
    {
        $table = $this->table('counter31');
        $table
            ->changeColumn('days', 'integer')
            ->changeColumn('hosts', 'integer')
            ->changeColumn('hits', 'integer')
            ->save();
    }

    /**
     * Migrate Down.
     */
    public function down()
    {

    }
}