-
-
Notifications
You must be signed in to change notification settings - Fork 927
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
106 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
default: &default | ||
adapter: postgresql | ||
encoding: utf8 | ||
username: postgres | ||
prepared_statements: false | ||
|
||
timescale: ×cale | ||
adapter: postgresql | ||
encoding: utf8 | ||
username: postgres | ||
migrations_paths: db/downloads_migrate | ||
port: 5434 | ||
|
||
development: | ||
primary: | ||
<<: *default | ||
database: rubygems_development | ||
host: localhost | ||
password: devpassword | ||
pool: 5 | ||
timeout: 5000 | ||
downloads: | ||
<<: *timescale | ||
database: rubygems_tsdb_development | ||
host: localhost | ||
password: devpassword | ||
pool: 5 | ||
timeout: 5000 | ||
|
||
test: | ||
primary: | ||
<<: *default | ||
database: rubygems_test | ||
host: localhost | ||
min_messages: warning | ||
password: testpassword | ||
pool: 5 | ||
timeout: 5000 | ||
downloads: | ||
<<: *timescale | ||
database: rubygems_tsdb_test | ||
host: localhost | ||
min_messages: warning | ||
password: testpassword | ||
pool: 5 | ||
timeout: 5000 | ||
|
||
production: | ||
primary: | ||
<<: *default | ||
database: rubygems_production | ||
min_messages: error | ||
pool: 30 | ||
reconnect: true | ||
downloads: | ||
<<: *timescale | ||
database: rubygems_tsdb_production | ||
min_messages: error | ||
pool: 30 | ||
reconnect: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# This file is auto-generated from the current state of the database. Instead | ||
# of editing this file, please use the migrations feature of Active Record to | ||
# incrementally modify your database, and then regenerate this schema definition. | ||
# | ||
# This file is the source Rails uses to define your schema when running `bin/rails | ||
# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to | ||
# be faster and is potentially less error prone than running all of your | ||
# migrations from scratch. Old migrations may fail to apply correctly if those | ||
# migrations use external dependencies or application code. | ||
# | ||
# It's strongly recommended that you check this file into your version control system. | ||
|
||
ActiveRecord::Schema[7.1].define(version: 0) do | ||
# These are extensions that must be enabled in order to support this database | ||
enable_extension "plpgsql" | ||
enable_extension "timescaledb" | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters