-
Notifications
You must be signed in to change notification settings - Fork 77
/
Copy pathsample_config.json
executable file
·41 lines (36 loc) · 1.78 KB
/
sample_config.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
{
"source_description" : [
"Connection string to your MySql database",
"Please ensure, that you have defined your connection string properly.",
"Ensure, that details like 'charset=UTF8' are included in your connection string (if necessary)."
],
"source" : "mysql:host=localhost;port=3306;charset=UTF8;dbname=your_db_name,your_user_name,your_password",
"target_description" : [
"Connection string to your PostgreSql database",
"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)."
],
"target" : "pgsql:host=localhost;port=5432;dbname=your_pg_db_name;options=--client_encoding=UTF8,your_user_name,your_password",
"encoding_description" : [
"PHP encoding type.",
"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.",
"Default is 'public', which will cause the new tables to appear at the top level of the database defined above in 'target'",
"If not supplied, then a new schema will be created automatically."
],
"schema" : "public",
"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" : 10,
"data_only_description" : [
"Flag, that allows to migrate only the data.",
"By default, ti is 0 - entire db-structure + data",
"In order to migrate data only - set 1"
],
"data_only" : 0
}