Skip to content

Commit

Permalink
Merge branch 'release/v4-0-0'
Browse files Browse the repository at this point in the history
  • Loading branch information
AnatolyUss committed Apr 12, 2019
2 parents 72a2b65 + fdf2c0a commit 562c0a0
Show file tree
Hide file tree
Showing 12 changed files with 219 additions and 165 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ from MySQL to PostgreSQL as easy and smooth as possible.</p>
<b>Note:</b> "logs_directory" will be created during script execution.</p>

<h3>VERSION</h3>
<p>Current version is 3.5.0<br />
<p>Current version is 4.0.0<br />
(major version . improvements . bug fixes)</p>

<h3>KNOWN ISSUES</h3>
Expand Down
19 changes: 13 additions & 6 deletions config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,23 @@
],
"exclude_tables": [],

"include_tables_description": [
"List (Array) of tables, that will not be migrated.",
"By default, nmig will migrate all tables."
],
"include_tables": [],

"migrate_only_data_description" : [
"In order to skip schema migration, and just migrate data into a preset schema",
" - set this parameter true."
"In order to skip schema migration, and just migrate data into a preset tables",
"fill following array with preset table names.",
"If all of your tables are preset, then use '*'"
],
"migrate_only_data" : false,
"migrate_only_data" : [],

"delimiter_description" : [
"Specifies the character, that separates columns within each record.",
"This must be a single one-byte character.",
"The default is comma."
"Specifies the character, that separates columns within each record.",
"This must be a single one-byte character.",
"The default is comma."
],
"delimiter" : ",",

Expand Down
17 changes: 6 additions & 11 deletions config/extra_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"tables" : [
{
"name" : {
"original" : "admins",
"new" : "renamed_admins"
"original" : "salary",
"new" : "renamed_salary"
},

"columns" : [
Expand All @@ -35,21 +35,16 @@
},

{
"original" : "username",
"new" : "renamed_username"
},

{
"original" : "group_id",
"new" : "renamed_group_id"
"original" : "employee_id",
"new" : "renamed_employee_id"
}
]
},

{
"name" : {
"original" : "groups",
"new" : "renamed_groups"
"original" : "contract",
"new" : "renamed_contract"
},

"columns" : [
Expand Down
Loading

0 comments on commit 562c0a0

Please sign in to comment.