A node.js module that helps you move data from one mysql to another mysql database
coffee startSeeding.coffee
formatObject ist the mapping of the old column names and the new column names
module.exports =
facility:
fromTable: "old_table"
toTable: "new_table"
formatObject:
id: "id"
username: "name"
basic mysql connection object
exports.fromDatabase =
connectionLimit: 20
host: ""
user: ""
password: ""
database: ""
exports.toDatabase =
connectionLimit: 20
host: ""
user: ""
password: ""
database: ""
Works from a single table to another single table!
- joining tables
- postgres support