mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-20 00:35:22 +00:00
Bye, warehouse! (#994)
This commit is contained in:
parent
7317cc45e7
commit
8c0227cb57
3 changed files with 0 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
class WarehouseRecord < ApplicationRecord
|
||||
self.abstract_class = true
|
||||
connects_to database: { reading: :warehouse, writing: :warehouse }
|
||||
end
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue