Files
outline/server/migrations/20260515000000-make-imports-integration-nullable.js
T
Tom Moor 82d7041b6b chore: Refactor Markdown importer to use new import pipeline (#12361)
* chore: Refactor Markdown importer to use new import pipeline

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 14:10:15 -04:00

17 lines
400 B
JavaScript

"use strict";
/** @type {import('sequelize-cli').Migration} */
module.exports = {
async up(queryInterface) {
await queryInterface.sequelize.query(
`ALTER TABLE "imports" ALTER COLUMN "integrationId" DROP NOT NULL`
);
},
async down(queryInterface) {
await queryInterface.sequelize.query(
`ALTER TABLE "imports" ALTER COLUMN "integrationId" SET NOT NULL`
);
},
};