Colubrina/backend/migrations/20220326054833-compassSessi...

19 lines
356 B
JavaScript

"use strict"
module.exports = {
up: async (queryInterface, Sequelize) => {
await queryInterface.addColumn("Sessions", "expiredAt", {
type: Sequelize.DATE
})
},
down: async (queryInterface, Sequelize) => {
/**
* Add reverting commands here.
*
* Example:
* await queryInterface.dropTable('users');
*/
}
}