nmig/sample_config.json

34 lines
1.4 KiB
JSON
Raw Normal View History

2015-12-07 07:37:14 +02:00
{
"source_description" : [
2015-12-09 07:56:39 +02:00
"Connection string to your MySQL database",
2015-12-07 07:37:14 +02:00
"Please ensure, that you have defined your connection string properly.",
"Ensure, that details like 'charset=UTF8' are included in your connection string (if necessary)."
],
2015-12-09 07:56:39 +02:00
"source" : "host=localhost;port=3306;dbname=test_db;charset=UTF8,root,",
2015-12-07 07:37:14 +02:00
"target_description" : [
2015-12-09 07:56:39 +02:00
"Connection string to your PostgreSQL database",
2015-12-07 07:37:14 +02:00
"Please ensure, that you have defined your connection string properly.",
"Ensure, that details like options='[double dash]client_encoding=UTF8' are included in your connection string (if necessary)."
],
2015-12-09 07:56:39 +02:00
"target" : "postgresql://postgres:0123456789@localhost:5432/test_db?client_encoding=UTF8",
2015-12-07 07:37:14 +02:00
"encoding_description" : [
2015-12-09 07:56:39 +02:00
"JavaScript encoding type.",
2015-12-07 07:37:14 +02:00
"If not supplied, then utf-8 will be used as a default."
],
"encoding" : "utf-8",
"schema_description" : [
"schema - a name of the schema, that will contain all migrated tables.",
"If not supplied, then a new schema will be created automatically."
],
"schema" : "",
"data_chunk_size_description" : [
"During migration each table's data will be split into chunks of data_chunk_size (in MB).",
"If not supplied, then 10 MB will be used as a default."
],
"data_chunk_size" : 2
}