Wipe out SQLite database
I want to wipeout on-device (mobile app) sqlite database when user logs out. Is there a way to delete all tables based on drizzle schema?
Or should I just delete the sqlite file? Is it safe to do so in the app using expo and drizzle? Will drizzle just auto rerun migrations when connecting to the database again?
1 Reply
Hey! If you use
useMigrations
, it will sync your database with the defined migrations.