-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: structure improvement, use YAML to replace TOML as configur…
…ation file
- Loading branch information
1 parent
c4069e4
commit e958d8b
Showing
35 changed files
with
660 additions
and
606 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/target | ||
.idea | ||
*.dev.toml | ||
*.dev.yaml | ||
|
||
desktop.ini | ||
.DS_Store | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,147 @@ | ||
postgresql: | ||
connection: | ||
# Database host | ||
host: "localhost" | ||
|
||
# Database port | ||
port: 5432 | ||
|
||
# Database user | ||
# Note that the user must have the necessary permissions to perform the backup | ||
user: "postgres" | ||
|
||
# Database user password | ||
password: "password" | ||
|
||
client: | ||
# Path to pg_dump binary | ||
binary_path: "/usr/bin/pg_dump" | ||
|
||
# Format of the backup (Plain, Custom, Tar) | ||
# Can be overridden by database specific settings | ||
# Note that the directory type is not supported | ||
# --format={} option in pg_dump | ||
format: "Plain" | ||
|
||
# Section to include in the backup (PreData, Data, PostData) | ||
# --section={} option in pg_dump | ||
sections: | ||
- "PreData" | ||
- "Data" | ||
- "PostData" | ||
|
||
# Whether to create the database before restoring | ||
# Can be omitted | ||
# Can be overridden by database specific settings | ||
# --create option in pg_dump | ||
## create: false | ||
|
||
# Whether to drop the database before restoring | ||
# Can be omitted | ||
# Can be overridden by database specific settings | ||
# --clean option in pg_dump | ||
## clean: false | ||
|
||
# Do not save the corresponding data | ||
# Can be omitted | ||
# Can be overridden by database specific settings | ||
# Available values: | ||
# LargeObjects, Owner, Privileges, Comments, | ||
# Publications, SecurityLabels, Subscriptions, | ||
# TableAccessMethod, Tablespace, ToastCompression, | ||
# UnloggedTableData | ||
# --no-{} option in pg_dump | ||
## do_not_save: [] | ||
|
||
# Disable something | ||
# Can be omitted | ||
# Can be overridden by database specific settings | ||
# Available values: | ||
# DollarQuoting, Triggers | ||
# --disable={} option in pg_dump | ||
## disable: [] | ||
|
||
# Extra arguments for pg_dump | ||
# Can be omitted | ||
# Can be overridden by database specific settings | ||
## extra_args: [] | ||
|
||
# The databases that need to be backed up | ||
databases: | ||
# Database name with other options omitted | ||
- "db-1" | ||
# Detailed database configuration | ||
- # Database name | ||
name: "my_database" | ||
|
||
# Format of the backup (Plain, Custom, Tar) | ||
# Can be omitted | ||
# Will override the pg_dump.format option | ||
# Note that the directory type is not supported | ||
# --format={} option in pg_dump | ||
## format: "Plain" | ||
|
||
# Tables to include in the backup, empty for all | ||
# Can be omitted | ||
# --table={} option in pg_dump | ||
## include_tables: [] | ||
|
||
# Tables to exclude from the backup | ||
# Can be omitted | ||
# --exclude-table={} option in pg_dump | ||
## exclude_tables: [] | ||
|
||
# Schemas to include in the backup, empty for all | ||
# Can be omitted | ||
# --schema={} option in pg_dump | ||
## include_schema: [] | ||
|
||
# Schemas to exclude from the backup | ||
# Can be omitted | ||
# --exclude-schema={} option in pg_dump | ||
## exclude_schema: [] | ||
|
||
# Section to include in the backup (PreData, Data, PostData) | ||
# Can be omitted | ||
# Will override the pg_dump.sections option | ||
# --section={} option in pg_dump | ||
## sections: | ||
## - "PreData" | ||
## - "Data" | ||
## - "PostData" | ||
|
||
# Whether to create the database before restoring | ||
# Can be omitted | ||
# Will override the pg_dump.create option | ||
# --create option in pg_dump | ||
## create: false | ||
|
||
# Whether to drop the database before restoring | ||
# Can be omitted | ||
# Will override the pg_dump.clean option | ||
# --clean option in pg_dump | ||
## clean: false | ||
|
||
# Do not save the corresponding data | ||
# Can be omitted | ||
# Will override the pg_dump.do_not_save option | ||
# Available values: | ||
# LargeObjects, Owner, Privileges, Comments, | ||
# Publications, SecurityLabels, Subscriptions, | ||
# TableAccessMethod, Tablespace, ToastCompression, | ||
# UnloggedTableData | ||
# --no-{} option in pg_dump | ||
## do_not_save: [] | ||
|
||
# Disable something | ||
# Can be omitted | ||
# Will override the pg_dump.disable option | ||
# Available values: | ||
# DollarQuoting, Triggers | ||
# --disable={} option in pg_dump | ||
## disable: [] | ||
|
||
# Extra arguments for pg_dump | ||
# Can be omitted | ||
# Will override the pg_dump.extra_args option | ||
## extra_args: [] |
Oops, something went wrong.