Am getting this error when I try to do `prisma mig...
# orm-help
h
Am getting this error when I try to do
prisma migrate reset
Copy code
DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState("42601"), message: "syntax error at or near \"yarn\"", detail: None, hint: None, position: Some(Original(1)), where_: None, schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("scan.l"), line: Some(1176), routine: Some("scanner_yyerror") }
r
@Harsha MV ๐Ÿ‘‹ Are you on Postgres? Also do you have any migration file that contains the word
yarn
?
h
yes Postgres.. not.. nothing called yarn.. just using yarn for packages
r
Could you share your Prisma version and migration history if possible? Also are you using seeding as
migrate reset
would run seeding after itโ€™s done so that might also be causing an issue.
h
yes using seeding
3.0.2
r
Could you try this if it works?
Copy code
prisma migrate reset --skip-seed
h
for now. i deleted the prisma migration files ๐Ÿ˜ž and re-did the new migrations
since we have not launched yet. it will work. going forward i need to learn how this works. else will lose data