View file database/upgrades/20180420143318_edit_fields_in_mailings.php

File size: 386B
<?php

use Phinx\Migration\AbstractMigration;

class EditFieldsInMailings extends AbstractMigration
{
    /**
     * Migrate Up.
     */
    public function up()
    {
        $table = $this->table('mailings');
        $table
            ->changeColumn('created_at', 'integer')
            ->save();
    }

    /**
     * Migrate Down.
     */
    public function down()
    {

    }
}