Added a checkbox to build only the default branch specified in the project (Fixes).

This commit is contained in:
Dmitry Khomutov 2017-09-16 12:19:42 +07:00
parent bbbd9b3cf2
commit e60376fe5f

View file

@ -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();
}
}