Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow overriding SQLite defaults from
database.yml
(#50460)
* Allow overriding SQLite defaults from `database.yml` Any PRAGMA configuration set under the `pragmas` key in the configuration file take precedence over Rails' defaults, and additional PRAGMAs can be set as well. ```yaml database: storage/development.sqlite3 timeout: 5000 pragmas: synchronous: full temp_store: memory ``` * Style * Allow overriding SQLite defaults from `database.yml` Any PRAGMA configuration set under the `pragmas` key in the configuration file take precedence over Rails' defaults, and additional PRAGMAs can be set as well. ```yaml database: storage/development.sqlite3 timeout: 5000 pragmas: synchronous: full temp_store: memory ``` --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
- Loading branch information
1 parent
2edf4a7
commit 8ac2af2
Showing
3 changed files
with
281 additions
and
24 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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