node.js and sequelize using a sqlite db file, rolling back file
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?
Voters
Learner311
I'm facing the same issue today..
How did you solve it?
PixelNinja
I am facing the same issue today..
How did you solve it?
Can confirm this
bugfeature still exists is 2022.My sqlite database file gets rolled back to a version that is several days old, loosing the most recent data.Changes to the database will only persist while you are online and signed in to Replit. Any changes to the database will be lost when you next sign in.It isnt a bug it is on purpose.
Local file databases wont work. You need to use the replit db one.