mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
7e962d36e6
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>
15 lines
318 B
JavaScript
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");
|
|
},
|
|
};
|