Bye, warehouse! (#994)

This commit is contained in:
Mahad Kalam 2026-02-23 20:16:03 +00:00 committed by GitHub
parent 7317cc45e7
commit 8c0227cb57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 0 additions and 22 deletions

View file

@ -14,9 +14,6 @@ TELETYPE_API_KEY=your_teletype_api_key_here
# Wakatime database url used for migrating data from waka.hackclub.com
WAKATIME_DATABASE_URL=your_wakatime_database_url_here
# Data warehouse for metabase
WAREHOUSE_DATABASE_URL=your_warehouse_database_url_here
# You can leave this alone if you're using the provided docker setup!
DATABASE_URL=your_database_url_here
POOL_DATABASE_URL=pg_bouncer_url_here

View file

@ -1,4 +0,0 @@
class WarehouseRecord < ApplicationRecord
self.abstract_class = true
connects_to database: { reading: :warehouse, writing: :warehouse }
end

View file

@ -25,11 +25,6 @@ development:
encoding: unicode
url: <%= ENV['SAILORS_LOG_DATABASE_URL'] %>
replica: true
warehouse:
adapter: postgresql
encoding: unicode
url: <%= ENV['WAREHOUSE_DATABASE_URL'] %>
replica: true
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
@ -50,11 +45,6 @@ test:
database: app_test
url: <%= ENV['TEST_DATABASE_URL'] %>
replica: true
warehouse:
adapter: postgresql
database: app_test
url: <%= ENV['TEST_DATABASE_URL'] %>
replica: true
# Store production database in the storage/ directory, which by default
# is mounted as a persistent Docker volume in config/deploy.yml.
@ -75,11 +65,6 @@ production:
encoding: unicode
url: <%= ENV['SAILORS_LOG_DATABASE_URL'] %>
replica: true
warehouse:
adapter: postgresql
encoding: unicode
url: <%= ENV['WAREHOUSE_DATABASE_URL'] %>
replica: true
cache:
<<: *default
adapter: postgresql