From e60376fe5f7cf92866bb3b960b87a1859e92e0a3 Mon Sep 17 00:00:00 2001 From: Dmitry Khomutov Date: Sat, 16 Sep 2017 12:19:42 +0700 Subject: [PATCH] Added a checkbox to build only the default branch specified in the project (Fixes). --- .../Migrations/20170913141438_added_default_branch_only.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PHPCensor/Migrations/20170913141438_added_default_branch_only.php b/src/PHPCensor/Migrations/20170913141438_added_default_branch_only.php index ba513c18..64352cee 100644 --- a/src/PHPCensor/Migrations/20170913141438_added_default_branch_only.php +++ b/src/PHPCensor/Migrations/20170913141438_added_default_branch_only.php @@ -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(); } }