forked from AnatolyUss/nmig
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextra_config.json
More file actions
51 lines (45 loc) · 1.36 KB
/
extra_config.json
File metadata and controls
51 lines (45 loc) · 1.36 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
{
"README" : [
"This JSON document represents an additional configuration options.",
"These options (currently only renaming) will be applied during migration if, and only if",
"the 'enable_extra_config' attribute from 'config.json' is set true.",
"By default the 'enable_extra_config' is false, hence the options",
"described here will not take effect.",
"Following lines are an example of expected renaming format.",
"Feel free to modify them."
],
"tables" : [
{
"name" : {
"original" : "admins",
"new" : "renamed_admins"
},
"columns" : [
{
"original" : "id",
"new" : "renamed_id"
},
{
"original" : "username",
"new" : "renamed_username"
},
{
"original" : "password",
"new" : "renamed_password"
}
]
},
{
"name" : {
"original" : "logs",
"new" : "renamed_logs"
},
"columns" : [
{
"original" : "id",
"new" : "renamed_id"
}
]
}
]
}