Skip to content

Commit

Permalink
add database config
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmeurer committed Apr 1, 2024
1 parent 1b4c9c0 commit e5b844b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions config/database.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
default: &default
adapter: sqlite3
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
timeout: 5000

development:
<<: *default
database: storage/development.sqlite3

test:
<<: *default
database: storage/test.sqlite3

production:
<<: *default
database: storage/production.sqlite3

0 comments on commit e5b844b

Please sign in to comment.