You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. :-)
The text was updated successfully, but these errors were encountered:
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. :-)
The text was updated successfully, but these errors were encountered: