Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for in-memory and temporary sqlite databases #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dawiidio
Copy link

I added support for those in memory and temporary modes in sqlite. Recently I have encountered some problems while trying to deploy and test my website on docker and on DigitalOcean App cloud. My website uses library remix-image which then uses hybrid-disk-cache under the hood.

First problems occured when I wanted to run only temporary (or fully in-memory) db for testing purposes on my local machine, or test same setup on cloud app with very restricted filesystem permissions where I wanted to keep database in-memory or in specified directory while at the same time forward files to other volume.

In this PR I was able to maintain backward compatibility so all earlier tests are green, no breaking changes, I just expanded the interface by adding new property dbPath

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant