Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. module.exports = {
  2. up: (queryInterface, Sequelize) => {
  3. /*
  4. Add altering commands here.
  5. Return a promise to correctly handle asynchronicity.
  6.  
  7. Example:
  8. return queryInterface.createTable('users', { id: Sequelize.INTEGER });
  9. */
  10. },
  11.  
  12. down: (queryInterface, Sequelize) => {
  13. /*
  14. Add reverting commands here.
  15. Return a promise to correctly handle asynchronicity.
  16.  
  17. Example:
  18. return queryInterface.dropTable('users');
  19. */
  20. }
  21. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement