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

Branch specific databases #195

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

rossta
Copy link
Contributor

@rossta rossta commented Aug 17, 2024

This PR adds support for branch specific databases in development, following instruction from fractaledmind in this post:

https://fractaledmind.github.io/2023/09/06/enhancing-rails-sqlite-branch-databases/

I‘m only adding this feature for development of the primary data store. I don‘t anticipate cache, queue, and cable databases needing to change often so leaving them out of branch-specific support for the time being.

Copy link

codecov bot commented Aug 17, 2024

Codecov Report

Attention: Patch coverage is 42.30769% with 15 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
app/models/color_schemes/seed.rb 40.00% 12 Missing ⚠️
lib/tasks/development/prune.rake 60.00% 2 Missing ⚠️
lib/tasks/color_schemes/seed.rake 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
lib/tasks/color_schemes/seed.rake 66.66% <0.00%> (+33.33%) ⬆️
lib/tasks/development/prune.rake 60.00% <60.00%> (ø)
app/models/color_schemes/seed.rb 40.00% <40.00%> (ø)

... and 13 files with indirect coverage changes


🚨 Try these New Features:

@rossta rossta force-pushed the dev/branch-specific-databases branch 3 times, most recently from af536c9 to 207e412 Compare August 22, 2024 19:11
@rossta rossta force-pushed the dev/branch-specific-databases branch 2 times, most recently from 5750ee2 to 91ed6cf Compare September 5, 2024 13:41
@rossta rossta force-pushed the dev/branch-specific-databases branch from 91ed6cf to 0c2a969 Compare November 15, 2024 14:54
Following instruction from fractaledmind in this post:

https://fractaledmind.github.io/2023/09/06/enhancing-rails-sqlite-branch-databases/

I‘m only adding this feature for development of the primary data store.
I don‘t anticipate cache, queue, and cable databases needing to change
often so leaving them out of branch-specific support for the time being.
@rossta rossta force-pushed the dev/branch-specific-databases branch from 0c2a969 to 5302198 Compare December 13, 2024 18:07
@rossta rossta force-pushed the dev/branch-specific-databases branch from 5302198 to 1e8c14d Compare December 13, 2024 18:09
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.

1 participant