autumnstwilight
DTDrizzle Team
•Created by autumnstwilight on 4/12/2024 in #help
Sqlite syntax error when calling useMigrations in react-native expo app
Hello,
I'm currently trying to set up a React Native app and having some problems with useMigrations. The error is complaining about the syntax but it looks fine to me:
The full SQL is here:
https://github.com/plutoniumcat/kutuba-app/blob/drizzle-problem/drizzle/0000_stale_natasha_romanoff.sql
Here's the part of my code that calls useMigrations:
https://github.com/plutoniumcat/kutuba-app/blob/drizzle-problem/src/database/DatabaseInitialization.ts
I've looked through the discord for similar issues, and added
breakpoints: true
to drizzle.config, but unfortunately that didn't help. (I also tried it with breakpoints: false
just to check and got the same error). Any suggestions on what to try next?6 replies