jblevins
03/13/2019, 10:27 PMjblevins
03/13/2019, 10:28 PMWendell Misiedjan
03/13/2019, 11:10 PMtype ExternalSource {
id: ID! @unique
name: SourceName!
event: Event @relation(name: "EventExternalSources")
sourceId: String
sourceUrl: String
}
type Event {
id: ID! @unique
name: String!
subtitle: String
startsAt: DateTime
endsAt: DateTime
location: EventLocation
parent: Event @relation(name: "EventExternalChildren"),
externalChildren: [Event!] @relation(name: "EventExternalChildren")
externalSources: [ExternalSource!] @relation(name: "EventExternalSources")
externalSource: ExternalSource @relation(name: "EventExternalSources")
createdAt: DateTime!
updatedAt: DateTime!
}
Explanation: We want different versions of DataSources for an Event, in that Event we want a Primary DataSource and all the other externalSources to be available, if a Event is a from a externalSource, we want it linked to the parent event. Will this (simplified) data model make sense?Dragomir Proychev
03/14/2019, 12:44 AMjblevins
03/14/2019, 2:08 AMJesper O. Christensen
03/14/2019, 7:33 AMJidé
03/14/2019, 7:37 AMJidé
03/14/2019, 7:38 AMJidé
03/14/2019, 7:42 AMMartí Crespí
03/14/2019, 8:44 AMbamne123
03/14/2019, 11:32 AMbamne123
03/14/2019, 11:32 AMMartí Crespí
03/14/2019, 11:33 AM"exception":"java.lang.RuntimeException: Encountered unknown SQL type timestamptz with column createdAt.
Before that, I had 1.26 docker tag and it was working without any problem.domko
03/14/2019, 11:55 AMbamne123
03/14/2019, 12:29 PMstephan
03/14/2019, 1:20 PMJosé Gomes
03/14/2019, 2:44 PMMustafa
03/14/2019, 3:58 PMervindraganovic
03/14/2019, 4:03 PMJerry Jäppinen
03/14/2019, 4:07 PMJerry Jäppinen
03/14/2019, 4:08 PMJerry Jäppinen
03/14/2019, 4:08 PMJerry Jäppinen
03/14/2019, 4:26 PMdocker-compose ps
shows db_postgres_1
stuck at “Restarting” and Prisma commands can’t connect to the servicetest test
03/14/2019, 4:35 PMjblevins
03/14/2019, 4:49 PMlawjolla
03/14/2019, 5:31 PMrem
03/14/2019, 5:45 PMorderBy
on nested fields? (I've found the open and closed issues - as idle, no dice). I'm guessing this needs to be done in the resolver manually…Alex
03/14/2019, 5:56 PM[Type]Create[Type]Without[Type]Input
which, as the name indicates, doesn't contain the relationship type anymore.Jerry Jäppinen
03/14/2019, 7:04 PMJerry Jäppinen
03/14/2019, 7:10 PM