Files
outline/server/migrations/20240317171826-add-authentication-refresh-token.js
2024-03-17 13:23:20 -04:00

14 lines
324 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");
}
};