forked from AlekseyKapustyanenko/Migrate2Postgres
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefaults.conf
57 lines (48 loc) · 1.44 KB
/
defaults.conf
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
52
53
54
55
56
57
/**
* This is the defaults template which is always read first.
*/
{
/**
* Default migration project name
*/
name : "Migrate2Postgres"
/**
* Data Definition config
*/
,ddl : {
/**
* When true, a DROP SCHEMA IF EXISTS will be added at the top of the DDL script
*/
drop_schema : false
}
/**
* Data Modification config
*/
,dml : {
/**
* SQL commands to execute
*/
execute : {
/**
* array of SQL commands to execute after all of the DML queries run.
* if an item ends with ".sql" then it is interpreted as a path to a script.
*/
after_all : []
/**
* array of SQL commands to execute before all of the DML queries run
* if an item ends with ".sql" then it is interpreted as a path to a script.
*/
,before_all : []
/**
* all - execute all recommendations, e.g ALTER TABLE tbl ALTER COLUMN RESTART WITH n;
*/
,recommended : ""
}
/**
* Number of concurrent threads (connections) that will be used to copy the data. Can be either
* the string "cores", which translates into the number of CPU cores available to the JVM that is
* running the migration, or an integer value.
*/
,threads : "cores"
}
}