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 {
6868type Tag {
6969 id : ID ! @unique @id
7070
71- label : Subject @relation (name : " Tags " , link : TABLE )
71+ label : Subject @relation (name : " TagSubject " , link : TABLE )
7272
7373 node : ZNode ! @relation (name : " NodeTags" )
7474 user : User ! @relation (name : " UserTags" , link : TABLE )
@@ -81,11 +81,11 @@ type Subject {
8181 id : ID ! @unique @id
8282
8383 name : String !
84- tags : [Tag ! ]! @relation (name : " Tags " , onDelete : CASCADE )
84+ tags : [Tag ! ]! @relation (name : " TagSubject " , onDelete : CASCADE )
8585 specialists : [User ! ]! @relation (name : " UserSpecialties" , link : TABLE )
8686
8787 order : Int !
88- category : TagCategory ! @relation (name : " SubjectsCategory " , link : TABLE )
88+ category : TagCategory ! @relation (name : " SubjectCategory " , link : TABLE )
8989
9090 createdAt : DateTime ! @createdAt
9191 updatedAt : DateTime ! @updatedAt
@@ -95,7 +95,7 @@ type TagCategory {
9595 id : ID ! @unique @id
9696
9797 name : String !
98- labels : [Subject ! ]! @relation (name : " SubjectsCategory " , onDelete : CASCADE )
98+ labels : [Subject ! ]! @relation (name : " SubjectCategory " , onDelete : CASCADE )
9999
100100 order : Int !
101101 configuration : Configuration ! @relation (name : " ConfigurationTags" , link : TABLE )
You can’t perform that action at this time.
0 commit comments