-
Notifications
You must be signed in to change notification settings - Fork 159
Expand file tree
/
Copy path.dbdiff.example
More file actions
53 lines (47 loc) · 1.19 KB
/
.dbdiff.example
File metadata and controls
53 lines (47 loc) · 1.19 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
server1:
user: user
password: password
port: port # for MySQL this is 3306
host: host1 # usually localhost or 127.0.0.1
server2:
user: user
password: password
port: port # for MySQL this is 3306
host: host1 # usually localhost or 127.0.0.1
template: templates/simple-db-migrate.tmpl
type: all
include: all
nocomments: true
# Include list — only diff these tables (supports globs: *, ?)
# tables:
# - users
# - orders
# - wp_*
# Exclude list — skip tables entirely (supports globs)
tablesToIgnore:
- table1
- table2
- table3
# Exclude from data diff only — schema still compared (supports globs)
# tablesDataToIgnore:
# - audit_log
# - event_stream
# Per-table column exclusion (keys support globs)
fieldsToIgnore:
table1:
- field1
- field2
- field3
table4:
- field1
- field4
# Per-table row filtering — skip rows matching column-value regex
# rowsToIgnore:
# wp_options:
# - { column: option_name, pattern: "_transient_.*" }
# sessions:
# - { column: status, pattern: "expired|archived" }
# Per-table scope override: schema, data, or all (default)
# tableScope:
# audit_log: schema
# config: data