<?php
use Migrations\AbstractMigration;

class AddDefaultValueForLocked extends AbstractMigration
{

    public function change()
    {
        $table = $this->table('jobs');
        $table->changeColumn('locked', 'integer', [
            'default' => 0
        ]);
        $table->update();
    }
}


Add migration to fix no default value errors on the locked column
Add migration to fix no default value errors on the locked column
