From 68f1d7f7f6d2944db538110defa98be6da37399f Mon Sep 17 00:00:00 2001 From: jasder Date: Tue, 6 Jul 2021 15:41:18 +0800 Subject: [PATCH] =?UTF-8?q?ADD=20=E9=A1=B9=E7=9B=AEtab=E4=B8=AD=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20=E7=94=98=E7=89=B9=E5=9B=BE=E5=92=8C=E8=B4=A8?= =?UTF-8?q?=E9=87=8F=E5=88=86=E6=9E=90/=E6=A3=80=E6=B5=8B=E6=A0=87?= =?UTF-8?q?=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/project_unit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/project_unit.rb b/app/models/project_unit.rb index a07f62b4..3f58e0fa 100644 --- a/app/models/project_unit.rb +++ b/app/models/project_unit.rb @@ -16,7 +16,7 @@ class ProjectUnit < ApplicationRecord belongs_to :project - enum unit_type: {code: 1, issues: 2, pulls: 3, devops: 4, versions: 5, resources: 6} + enum unit_type: {code: 1, issues: 2, pulls: 3, devops: 4, versions: 5, resources: 6, gantt: 7, sonar: 8} validates :unit_type, uniqueness: { scope: :project_id}