This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
2016-09-12 00:47:22 +00:00
|
|
|
module.exports = {
|
2017-11-20 00:49:51 +00:00
|
|
|
up: async (queryInterface, Sequelize) => {
|
|
|
|
await queryInterface.addColumn('users', 'passwordDigest', {
|
2016-09-12 00:47:22 +00:00
|
|
|
type: Sequelize.STRING,
|
|
|
|
allowNull: true,
|
|
|
|
});
|
|
|
|
},
|
|
|
|
|
2017-11-20 00:49:51 +00:00
|
|
|
down: async (queryInterface, _Sequelize) => {
|
|
|
|
await queryInterface.removeColumn('users', 'passwordDigest');
|
2016-09-12 00:47:22 +00:00
|
|
|
},
|
|
|
|
};
|