Use storage/ instead of db/ for sqlite3 db files#46699
Merged
Conversation
db/ should be for configuration only, not data. This will make it easier to mount a single volume into a container for testing, development, and even sqlite3 in production.
Member
|
Also need to update these lines: rails/railties/test/application/rake/multi_dbs_test.rb Lines 837 to 838 in 76ca38e |
added 8 commits
December 10, 2022 19:00
…ifecycle Currently just for AS + sqlite3.
ghiculescu
added a commit
to ghiculescu/rails
that referenced
this pull request
Dec 12, 2022
4 tasks
varyonic
added a commit
to activeadmin-rails/activeadmin-rails
that referenced
this pull request
Oct 31, 2023
…m /storage back to /db
varyonic
added a commit
to activeadmin-rails/activeadmin-rails
that referenced
this pull request
Nov 8, 2023
* rails-7.1: Rails 7.1 no longer populates redirect body (rails/rails#44554). Calling silence on ActiveSupport::Deprecation is deprecated and will be removed from Rails (use Rails.application.deprecators.silence instead) Deprecator setting has been deprecated. run db:drop, db:create and db:migrate in a separate commands (probably due to rails/rails#49349) Override and revert rails/rails#46699 for now, move test database from /storage back to /db Rails 7.1 replaces config.cache_classes with config.enable_reloading in template environment/test.rb Add Rails 7.1 test gem file. to_default_s is deprecated and will be removed from Rails 7.2 (use to_s instead) ActionView::OutputBuffer refactored by rails/rails#45614 (Rails 7.1) See rails/rails#36020
rossta
added a commit
to joyofrails/joyofrails.com
that referenced
this pull request
Dec 31, 2023
Makes consistent with the new Rails default for sqlite3 db files: rails/rails#46699
1 task
tnir
added a commit
to tnir/guides.railsgirls.com
that referenced
this pull request
Jun 8, 2024
In Rails 7.1, the database filename for SQLite3 was changed: see rails/rails#46699 Signed-off-by: Takuya Noguchi <[email protected]>
tnir
added a commit
to tnir/guides.railsgirls.com
that referenced
this pull request
Jun 10, 2024
In Rails 7.1, the database filename for SQLite3 was changed: see rails/rails#46699 Co-authored-by: りさ <[email protected]> Signed-off-by: Takuya Noguchi <[email protected]>
Merged
1 task
tnir
added a commit
to tnir/railsgirls.jp
that referenced
this pull request
Jun 11, 2024
In Rails 7.1, the database filename for SQLite3 was changed: see rails/rails#46699 Upstream: railsgirls/guides.railsgirls.com#578 Co-authored-by: りさ <[email protected]> Signed-off-by: Takuya Noguchi <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The directory db/ should be for configuration only, not data. This will make it easier to mount a single data volume into a container for testing, development, and even sqlite3 in production.