Skip to content

Commit

Permalink
Merge branch 'release/v3-5-0'
Browse files Browse the repository at this point in the history
  • Loading branch information
AnatolyUss committed Oct 31, 2018
2 parents 0172b46 + c2857a5 commit 72a2b65
Show file tree
Hide file tree
Showing 78 changed files with 3,830 additions and 4,757 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
node_modules
logs_directory
dist
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ from MySQL to PostgreSQL as easy and smooth as possible.</p>
</ul>

<h3>USAGE</h3>
<p><b>1.</b> Create a new database.<br />
<p><b>1.</b> Create a new PostgreSQL database.<br />
<b>Sample:</b>&nbsp;<code> CREATE DATABASE my_postgresql_database;</code><br />
If you are planning to migrate spatial data (geometry type columns), then <b>PostGIS</b> should be installed and enabled.
</p>
Expand All @@ -42,10 +42,11 @@ from MySQL to PostgreSQL as easy and smooth as possible.</p>
<li>Make sure, that username, you use in your PostgreSQL connection details, defined as superuser (usually "postgres")<br> More info: <a href="http://www.postgresql.org/docs/current/static/app-createuser.html">http://www.postgresql.org/docs/current/static/app-createuser.html</a></li>
</ul>

<p><b>4.</b> Go to Nmig directory, install dependencies, and run the app<br />
<p><b>4.</b> Go to Nmig directory, install dependencies, compile and run the app<br />
&nbsp;&nbsp;&nbsp;&nbsp;<b>Sample:</b><br />
<pre>$ cd /path/to/nmig</pre><br />
<pre>$ npm install</pre><br />
<pre>$ npm run build</pre><br />
<pre>$ npm start</pre><br />
</p>

Expand All @@ -66,7 +67,7 @@ from MySQL to PostgreSQL as easy and smooth as possible.</p>
<p><b>1.</b> Create a new PostgreSQL database.<br />
<b>Sample:</b>&nbsp;<code> CREATE DATABASE nmig_test_db;</code><br />
</p>
<p><b>2.</b> Download Nmig package.</p>
<p><b>2.</b> Download Nmig package.<br/ ><b>Sample:</b>&nbsp;<code>/path/to/nmig</code></p>
<p><b>3.</b> Edit configuration file located at <code>/path/to/nmig/config/test_config.json</code> with correct details.<br /></p>
<b>Notes:</b>
<ul>
Expand All @@ -76,18 +77,19 @@ from MySQL to PostgreSQL as easy and smooth as possible.</p>
<a href="http://www.postgresql.org/docs/current/static/app-createuser.html">http://www.postgresql.org/docs/current/static/app-createuser.html</a>
</li>
</ul>
<p><b>4.</b> Go to nmig directory, install dependencies, and run tests<br />
<p><b>4.</b> Go to nmig directory, install dependencies, compile and run tests<br />
&nbsp;&nbsp;&nbsp;&nbsp;<b>Sample:</b><br />
<pre>$ cd /path/to/nmig</pre><br />
<pre>$ npm install</pre><br />
<pre>$ npm run build</pre><br />
<pre>$ npm test</pre><br />
</p>
<p><b>5.</b> At the end of migration check log files, if necessary.<br />&nbsp;&nbsp;&nbsp;
Log files will be located under "logs_directory" folder in the root of the package.<br />&nbsp;&nbsp;&nbsp;
<b>Note:</b> "logs_directory" will be created during script execution.</p>

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

<h3>KNOWN ISSUES</h3>
Expand Down
4 changes: 2 additions & 2 deletions config/extra_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

{
"constraint_name" : "composite_foreign_key_example",
"table_name" : "loGs_Test-6",
"table_name" : "logs_test-6",
"column_name" : "id1",
"referenced_table_name" : "logs_test_4",
"referenced_column_name" : "id1",
Expand All @@ -103,7 +103,7 @@

{
"constraint_name" : "composite_foreign_key_example",
"table_name" : "loGs_Test-6",
"table_name" : "logs_test-6",
"column_name" : "id2",
"referenced_table_name" : "logs_test_4",
"referenced_column_name" : "id2",
Expand Down
Loading

0 comments on commit 72a2b65

Please sign in to comment.