-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcdc.json
46 lines (46 loc) · 1.15 KB
/
cdc.json
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
{
"schema": { },
"payload": {
"source": {
"version": "2.2.1.Final",
"connector": "mysql",
"name": "mysql",
...
"db": "inventory",
"sequence": null,
"table": "customers",
...
},
"databaseName": "inventory",
"schemaName": null,
"ddl": "ALTER TABLE customers ADD middle_name varchar(255) AFTER first_name",
"tableChanges": [
{
"type": "ALTER",
"id": "\"inventory\".\"customers\"",
"table": {
"defaultCharsetName": "utf8mb4",
"primaryKeyColumnNames": [
"id"
],
"columns": [
{
"name": "id",
"jdbcType": 4,
"nativeType": null,
"typeName": "INT",
"typeExpression": "INT",
"charsetName": null,
"length": null,
"scale": null,
"position": 1,
"optional": false,
"autoIncremented": true,
"generated": true
}
]
}
}
]
}
}