Просмотр файла app/database/migrations/20161216120203_create_changemail_table.php
<?php use Phinx\Migration\AbstractMigration; class CreateChangemailTable extends AbstractMigration { /** * Change Method. */ public function change() { $table = $this->table('changemail', ['collation' => 'utf8mb4_unicode_ci']); $table->addColumn('user', 'string', ['limit' => 20]) ->addColumn('mail', 'string', ['limit' => 50]) ->addColumn('hash', 'string', ['limit' => 25]) ->addColumn('time', 'integer') ->create(); } }