Просмотр файла database/migrations/20180420180001_create_antimat_table.php
<?php use Phinx\Migration\AbstractMigration; class CreateAntimatTable extends AbstractMigration { /** * Migrate Change. */ public function change() { if (! $this->hasTable('antimat')) { $table = $this->table('antimat', ['engine' => config('DB_ENGINE'), 'collation' => config('DB_COLLATION')]); $table ->addColumn('string', 'string', ['limit' => 100]) ->create(); } } }