File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ type Flag {
68
68
type Tag {
69
69
id : ID ! @unique @id
70
70
71
- label : Subject @relation (name : " Tags " , link : TABLE )
71
+ label : Subject @relation (name : " TagSubject " , link : TABLE )
72
72
73
73
node : ZNode ! @relation (name : " NodeTags" )
74
74
user : User ! @relation (name : " UserTags" , link : TABLE )
@@ -81,11 +81,11 @@ type Subject {
81
81
id : ID ! @unique @id
82
82
83
83
name : String !
84
- tags : [Tag ! ]! @relation (name : " Tags " , onDelete : CASCADE )
84
+ tags : [Tag ! ]! @relation (name : " TagSubject " , onDelete : CASCADE )
85
85
specialists : [User ! ]! @relation (name : " UserSpecialties" , link : TABLE )
86
86
87
87
order : Int !
88
- category : TagCategory ! @relation (name : " SubjectsCategory " , link : TABLE )
88
+ category : TagCategory ! @relation (name : " SubjectCategory " , link : TABLE )
89
89
90
90
createdAt : DateTime ! @createdAt
91
91
updatedAt : DateTime ! @updatedAt
@@ -95,7 +95,7 @@ type TagCategory {
95
95
id : ID ! @unique @id
96
96
97
97
name : String !
98
- labels : [Subject ! ]! @relation (name : " SubjectsCategory " , onDelete : CASCADE )
98
+ labels : [Subject ! ]! @relation (name : " SubjectCategory " , onDelete : CASCADE )
99
99
100
100
order : Int !
101
101
configuration : Configuration ! @relation (name : " ConfigurationTags" , link : TABLE )
You can’t perform that action at this time.
0 commit comments