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