2016-12-20 20:31:16 +02:00
|
|
|
{
|
|
|
|
"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" : {
|
2017-01-22 21:50:02 +02:00
|
|
|
"original" : "admins",
|
2016-12-20 20:31:16 +02:00
|
|
|
"new" : "renamed_admins"
|
|
|
|
},
|
|
|
|
|
|
|
|
"columns" : [
|
|
|
|
{
|
2017-01-22 21:50:02 +02:00
|
|
|
"original" : "id",
|
|
|
|
"new" : "renamed_id"
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"original" : "username",
|
2016-12-20 20:31:16 +02:00
|
|
|
"new" : "renamed_username"
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
2017-01-22 21:50:02 +02:00
|
|
|
"original" : "password",
|
2016-12-20 20:31:16 +02:00
|
|
|
"new" : "renamed_password"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"name" : {
|
2017-01-22 21:50:02 +02:00
|
|
|
"original" : "logs",
|
|
|
|
"new" : "renamed_logs"
|
2016-12-20 20:31:16 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
"columns" : [
|
|
|
|
{
|
2017-01-22 21:50:02 +02:00
|
|
|
"original" : "id",
|
|
|
|
"new" : "renamed_id"
|
2016-12-20 20:31:16 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|