From 0c6b9d888b33c1f92493e89ff0717b3e106d098e Mon Sep 17 00:00:00 2001 From: wushuiyong Date: Mon, 16 Nov 2015 23:16:47 +0800 Subject: [PATCH] add max release count --- migrations/m151027_063246_keep_version_num.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/m151027_063246_keep_version_num.php b/migrations/m151027_063246_keep_version_num.php index ffcf3a36..de91823a 100644 --- a/migrations/m151027_063246_keep_version_num.php +++ b/migrations/m151027_063246_keep_version_num.php @@ -10,7 +10,7 @@ class m151027_063246_keep_version_num extends Migration public function up() { $this->addColumn(Project::tableName(), 'keep_version_num', Schema::TYPE_INTEGER . '(3) NOT NULL DEFAULT 20 COMMENT "线上版本保留数" AFTER audit'); - $this->addColumn(Task::tableName(), 'enable_rollback', Schema::TYPE_INTEGER . '(1) NOT NULL DEFAULT 1 COMMENT "能否回滚此版本0no 1yes"'); + $this->addColumn(Task::tableName(), 'enable_rollback', Schema::TYPE_INTEGER . '(1) NOT NULL DEFAULT 1 COMMENT "能否回滚此版本:0no 1yes"'); }