exposed prefixed ids for projects table [SCI_7172]

This commit is contained in:
Giga Chubinidze 2022-09-13 15:57:17 +04:00
parent 133302964c
commit 22aa04a5ac

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
class Project < ApplicationRecord
include ArchivableModel
include SearchableModel
@ -7,7 +9,7 @@ class Project < ApplicationRecord
include PermissionExtends
include Assignable
ID_PREFIX = 'PR'.freeze
ID_PREFIX = 'PR'
include PrefixedIdModel
enum visibility: { hidden: 0, visible: 1 }