-
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.
moved delimiter, indent to config, use builtin copy to/from for postgres
- Loading branch information
Showing
8 changed files
with
125 additions
and
82 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,28 +1,36 @@ | ||
{ | ||
# block read by catdb | ||
databases { | ||
pg_testdb: ${defaults.credentials} { | ||
hostname: localhost | ||
database: testdb | ||
type: postgres | ||
} | ||
my_testdb: ${defaults.credentials} { | ||
hostname: localhost | ||
database: testdb | ||
type: mysql | ||
} | ||
} | ||
# block read by catdb | ||
databases { | ||
pg_testdb: ${defaults.credentials} { | ||
hostname: localhost | ||
database: testdb | ||
type: postgres | ||
} | ||
my_testdb: ${defaults.credentials} { | ||
hostname: localhost | ||
database: testdb | ||
type: mysql | ||
} | ||
} | ||
|
||
# block read by catdb | ||
data-format { | ||
delimiter: "|" | ||
null: "\\N" | ||
} | ||
|
||
# default values to make things easier but not used directly by catdb | ||
defaults { | ||
credentials { | ||
username: scott | ||
password: tiger | ||
} | ||
aws { | ||
region: us-east-1 | ||
aws_access_key_id: ${AWS_ACCESS_KEY_ID} | ||
aws_secret_access_key: ${AWS_SECRET_ACCESS_KEY} | ||
} | ||
ddl-format { | ||
indent: 4 | ||
} | ||
|
||
# default values to make things easier but not used directly by catdb | ||
defaults { | ||
credentials { | ||
username: scott | ||
password: tiger | ||
} | ||
aws { | ||
region: us-east-1 | ||
aws_access_key_id: ${AWS_ACCESS_KEY_ID} | ||
aws_secret_access_key: ${AWS_SECRET_ACCESS_KEY} | ||
} | ||
} |
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
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