<?php

use Phinx\Migration\AbstractMigration;

class CreateReadblogTable extends AbstractMigration
{
    /**
     * Change Method.
     */
    public function change()
    {
        $table = $this->table('readblog', ['collation' => 'utf8mb4_unicode_ci']);
        $table->addColumn('blog', 'integer', ['signed' => false])
            ->addColumn('ip', 'string', ['limit' => 15])
            ->addColumn('time', 'integer')
            ->create();
    }
}
