Hello,
I didn't know where else to go to ask this question. :-) I have a JSON file with data in it, where the column names are like so:
propA: foo,
propB: bar,
propC: something
However, in the database, and thus the models, the column names are like so:
propD
propE
propF
Is there a way to tell sequelize-fixtures some kind of mapping to use on import/load of the data file, something like this:
propA -> propD
propB -> propE
propC -> propF
?? I couldn't find anything specific in the ReadMe, but maybe there's something I don't understand that's already there. :-)
Hello,
I didn't know where else to go to ask this question. :-) I have a JSON file with data in it, where the column names are like so:
propA: foo,
propB: bar,
propC: something
However, in the database, and thus the models, the column names are like so:
propD
propE
propF
Is there a way to tell sequelize-fixtures some kind of mapping to use on import/load of the data file, something like this:
propA -> propD
propB -> propE
propC -> propF
?? I couldn't find anything specific in the ReadMe, but maybe there's something I don't understand that's already there. :-)