Merge branch 'develop' into standalone_develop

This commit is contained in:
2022-06-16 13:48:28 +08:00
2 changed files with 3 additions and 1 deletions

View File

@@ -14,6 +14,8 @@
#
class ProjectUnit < ApplicationRecord
default_scope {where(unit_type: ProjectUnit.unit_types.keys)}
belongs_to :project
enum unit_type: {code: 1, issues: 2, pulls: 3, wiki:4, devops: 5, versions: 6, resources: 7, services: 8}