Skip to content
node.js and sequelize using a sqlite db file, rolling back file
Profile icon
fotwenty

I seem to be having issues where my database file keeps rolling back to a previous state. I can change what ever I want and I can check and the updates happened. If I restart the changes persist. But randomly it will be as if a day of changes roll back. I also use a logger module to log to a file and that also rolls back to the same time, erasing any logs between. Any ideas?

You are viewing a single comment. View All
Profile icon
XDHS

@dt192
I can't say if upgrading the account works as I still use the free tier. I changed from using SQLite to Replit's own "database": https://blog.replit.com/database. It's approximately 5x slower to read and write than SQLite but data persists between login sessions.