Created
April 27, 2020 23:45
-
-
Save aabccd021/d7dd635ea6370164bd72b11f64defebe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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