mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-08 00:23:01 +08:00
exposed prefixed ids for projects table [SCI_7172]
This commit is contained in:
parent
133302964c
commit
22aa04a5ac
1 changed files with 3 additions and 1 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue