Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save aabccd021/d7dd635ea6370164bd72b11f64defebe to your computer and use it in GitHub Desktop.
Save aabccd021/d7dd635ea6370164bd72b11f64defebe to your computer and use it in GitHub Desktop.
'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
/*
Add altering commands here.
Return a promise to correctly handle asynchronicity.
Example:
return queryInterface.createTable('users', { id: Sequelize.INTEGER });
*/
},
down: (queryInterface, Sequelize) => {
/*
Add reverting commands here.
Return a promise to correctly handle asynchronicity.
Example:
return queryInterface.dropTable('users');
*/
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment