wtf prisma errors

How am i supposed to know what the hell is wrong here lol
8 Replies
Brendonovich
Brendonovich2y ago
well there’s obviously a syntax error t3ggHeh
devagr
devagr2y ago
not in my schema file
Brendonovich
Brendonovich2y ago
Yeah I think it’s in the generated migrations, no idea how that would have happened haha I don’t suppose you switched databases?
devagr
devagr2y ago
no, still on postgres
Brendonovich
Brendonovich2y ago
Prisma’s probably having a bruh moment Can u regenerate migrations?
devagr
devagr2y ago
how
Brendonovich
Brendonovich2y ago
Delete + regenerate? If it’s the most recent migration causing errors u might be able to just get rid of that one and regenerate it
devagr
devagr2y ago
okay migration helped but it deleted all the data from my database lmao welp, atleast the issue is gone
Want results from more Discord servers?
Add your server