# Read https://guides.rubyonrails.org/configuring.html#configuring-a-database # for a full overview on how database connection configuration can be specified. default: &default pool: <%= ENV.fetch('RAILS_MAX_THREADS', 3) %> # Disable schema dump. It is redundant with regard to migration files and # buggy (as of Rails 8.1.4 adds foreign key constraints multiple times after # repeated db:schema:load). schema_dump: false production: <<: *default adapter: sqlite3 database: db/production.sqlite3 # Unless you're planning on developing the application, you can skip/remove # configurations for development and test databases altogether. #development: # <<: *default # adapter: sqlite3 # database: db/development.sqlite3 # Warning: The database(s) defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db to the same as development or production. #test: # <<: *default # adapter: sqlite3 # database: db/test.sqlite3