lonelil
lonelil
TTCTheo's Typesafe Cult
Created by lonelil on 4/16/2023 in #questions
Get IP of user using trpc?
is it possible to just get the ip of the user using trpc without just including it in the input?
11 replies
TTCTheo's Typesafe Cult
Created by lonelil on 3/24/2023 in #questions
next auth with planetscale?
currently following https://www.youtube.com/watch?v=YkOSUVzOAA4 , but when i add relationMode = "prisma". it tells me
With `relationMode = "prisma"`, no foreign keys are used, so relation fields will not benefit from the index usually created by the relational database under the hood. This can lead to poor performance when querying these fields. We recommend adding an index manually. Learn more at https://pris.ly/d/relation-mode-prisma-indexes"
With `relationMode = "prisma"`, no foreign keys are used, so relation fields will not benefit from the index usually created by the relational database under the hood. This can lead to poor performance when querying these fields. We recommend adding an index manually. Learn more at https://pris.ly/d/relation-mode-prisma-indexes"
for the models necessary for next auth, so what should i do?
2 replies