How can I add data to a table in a Sequelize migration script? This is what I got:
module.exports = { up: function(migration, DataTypes, done) { migration.cr
In the latest version of sequelize this has changed and it should now be
migration.createTable( 'Person', { name: DataTypes.STRING, age: DataTypes.INTEGER, } ).then(function () { migration.sequelize.query("insert into person (name, age) values ('Donald Duck', 60)"); done(); });