Files
outline/server/migrations/20230805145646-add-authentication-refresh-token.js
T
2023-08-05 10:58:23 -04:00

15 lines
325 B
JavaScript

'use strict';
module.exports = {
async up (queryInterface, Sequelize) {
await queryInterface.addColumn("authentications", "refreshToken", {
type: Sequelize.BLOB,
allowNull: true,
});
},
async down (queryInterface) {
await queryInterface.removeColumn("authentications", "refreshToken");
}
};