for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Phinx\Migration\AbstractMigration;
class Newsletter extends AbstractMigration
{
public function change()
$this->table('newsletter', ['id' => false])
->addColumn('email', 'text')
->addColumn('created_at', 'timestamp', ['default' => 'CURRENT_TIMESTAMP'])
->create();
}