Просмотр файла app/database/migrations/20161216120859_create_rules_table.php
<?php use Phinx\Migration\AbstractMigration; class CreateRulesTable extends AbstractMigration { /** * Change Method. */ public function change() { $table = $this->table('rules', ['collation' => 'utf8mb4_unicode_ci']); $table->addColumn('text', 'text', ['null' => true]) ->addColumn('time', 'integer') ->create(); } }