Hello, is there a way to do cross database foreign...
# prisma-whats-new
d
Hello, is there a way to do cross database foreign keys? Iā€™m building multi-database system and need to wire up between them.
a
Sure, just use a
String
field for id's. My airbnb-example does that. See the types.graphql filed for the two services. https://github.com/qewl/qewl-airbnb-example
d
Thanks @agartha looks like what I was searching for! šŸ»
šŸ‘šŸ» 1