-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.yaml
More file actions
37 lines (33 loc) · 776 Bytes
/
config.yaml
File metadata and controls
37 lines (33 loc) · 776 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
# Default configuration for database swap operations
source:
type: "sqlite" # mongodb, mysql, sqlite
connection:
host: "localhost"
port: null
database: "source.db"
username: null
password: null
target:
type: "mongodb" # mongodb, mysql, sqlite
connection:
host: "localhost"
port: 27017
database: "target_db"
username: null
password: null
# Migration settings
migration:
batch_size: 1000
rate_limit_delay: 0.1 # seconds between batches
max_retries: 3
timeout: 30 # seconds
# Validation settings
validation:
strict_mode: true
data_type_validation: true
foreign_key_validation: false
# Logging settings
logging:
level: "INFO" # DEBUG, INFO, WARNING, ERROR
file: "database_swap.log"
console: true