Added a checkbox to build only the default branch specified in the project (Fixes).
This commit is contained in:
parent
bbbd9b3cf2
commit
e60376fe5f
|
@ -9,7 +9,7 @@ class AddedDefaultBranchOnly extends AbstractMigration
|
|||
$project = $this->table('project');
|
||||
|
||||
if (!$project->hasColumn('default_branch_only')) {
|
||||
$project->addColumn('default_branch_only', 'integer');
|
||||
$project->addColumn('default_branch_only', 'integer', ['default' => 0])->save();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue