Files
outline/server/migrations/20250830060500-add-expires-at-to-authentications.js
codegen-sh[bot] 7e962d36e6 feat: Add expiresAt column to IntegrationAuthentication (#10046)
This adds an expiresAt column to the IntegrationAuthentication model to store token expiration dates.

Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2025-08-30 02:26:47 -04:00

15 lines
318 B
JavaScript

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