mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
- Delete methods nothing calls: BackupRun.last_good, EntrySignature#short_id, Sso#issuer_origin, InspectionType#effect_label and #latest_record_for, ApplicationHelper#airworthiness_dot, Airworthiness::Status#can_fly? and FlightStats#shortest_flight (tests now check red? / longest_flight) - Routes: sessions and passwords limited to the actions that exist - Theme toggle: drop the unused button target - Action Cable was never used (no broadcasts or streams): async adapter in production, solid_cable gem, cable database and app/channels removed - Empty system test setup removed with capybara and selenium-webdriver - Compliance: one due_result helper for overdue / due soon; inspections use next_due for the date, as ADs do - applicable_to moved into SharedRecordHistory (was identical in ADs and inspection types) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
38 lines
1012 B
YAML
38 lines
1012 B
YAML
# SQLite. Versions 3.8.0 and up are supported.
|
|
# gem install sqlite3
|
|
#
|
|
# Ensure the SQLite 3 gem is defined in your Gemfile
|
|
# gem "sqlite3"
|
|
#
|
|
default: &default
|
|
adapter: sqlite3
|
|
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
|
timeout: 5000
|
|
|
|
development:
|
|
<<: *default
|
|
database: storage/development.sqlite3
|
|
|
|
# Warning: The database 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
|
|
database: storage/test.sqlite3
|
|
|
|
|
|
# Store production database in the storage/ directory, which by default
|
|
# is mounted as a persistent Docker volume in config/deploy.yml.
|
|
production:
|
|
primary:
|
|
<<: *default
|
|
database: storage/production.sqlite3
|
|
cache:
|
|
<<: *default
|
|
database: storage/production_cache.sqlite3
|
|
migrations_paths: db/cache_migrate
|
|
queue:
|
|
<<: *default
|
|
database: storage/production_queue.sqlite3
|
|
migrations_paths: db/queue_migrate
|