AnatolyUss / nmig

NMIG is a database migration tool, written in Node.js and highly inspired by FromMySqlToPostgreSql.
GNU General Public License v3.0
451 stars 83 forks source link

[FEATURE] Specify Column Order of Data for Copy Command #122

Open mattraydub opened 9 months ago

mattraydub commented 9 months ago

There are issues if the column order of the mysql table does not exactly match the order for the postgresql table.

This updates the StructureLoader to include a serializable version of the _dictTables, so that after deserialized the DataReader.populateTable can specify the column order for the data coming in.