wtf prisma errors

How am i supposed to know what the hell is wrong here lol
8 Replies
Brendonovich
Brendonovich3y ago
well there’s obviously a syntax error t3ggHeh
devagr
devagrOP3y ago
not in my schema file
Brendonovich
Brendonovich3y 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
devagrOP3y ago
no, still on postgres
Brendonovich
Brendonovich3y ago
Prisma’s probably having a bruh moment Can u regenerate migrations?
devagr
devagrOP3y ago
how
Brendonovich
Brendonovich3y 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
devagrOP3y 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