Merge branch 'develop' into standalone_develop

This commit is contained in:
yystopf 2023-04-18 10:08:27 +08:00
commit b2eb6a4f8c
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class IssueTag < ApplicationRecord
belongs_to :project, optional: true, counter_cache: true
belongs_to :user, optional: true
validates :name, uniqueness: { message: "已存在" }
validates :name, uniqueness: {scope: :project_id, message: "已存在" }
def self.init_data(project_id)
data = [