Where is the disk.db in sails.js? I don't see it in the .tmp folder. I added a user model and controller and was able to add a user and query. I also stopped and restarted the app so it must be stored somewhere.
By default, it's in .tmp/
It can be placed somewhere else, though, if you change the config:
localDiskDb: {
adapter: 'sails-disk',
filePath: '/data/'
},
And it goes to /data instead of .tmp/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With