-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
41 lines (29 loc) · 846 Bytes
/
config.yaml.example
File metadata and controls
41 lines (29 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# DBDiff Configuration Example
# Copy to config.yaml and customize
# Source database connection string
source: postgres://user:password@localhost:5432/dbname
# Target database connection string
target: postgres://user:password@localhost:5432/dbname
# Output file path (default: stdout)
output: ./migrations/001.sql
# Output format: sql, table, json
format: sql
# Schema to compare (default: public)
schema: public
# Dry-run mode (default: true)
dry-run: true
# Wrap migrations in transaction (default: true)
transaction: true
# Query timeout in seconds (default: 30)
timeout: 30
# SSL mode: disable, require, verify-ca, verify-full
ssl-mode: disable
# Columns to ignore (supports wildcards)
ignore_patterns:
- "_created_at"
- "_updated_at"
- "migration_*"
# Enable verbose output
verbose: false
# Enable debug mode
debug: false