for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Phinx\Migration\AbstractMigration;
class DeploymentOriginal extends AbstractMigration
{
/**
* @author Ronan Chilvers <[email protected]>
*/
public function change()
$table = $this->table('deployments');
$table
->addColumn('deployment_original', 'integer', [
'null' => false,
'default'=> 0,
'after' => 'deployment_number',
])
->update();
}