Files
outline/server/migrations/20240524234042-add-content-to-collection.js
Tom Moor f103d73b48 Move collection description rendering to JSON (#6944)
* First pass, moving collection description rendering to JSON

* tsc

* docs

* refactor

* test
2024-05-25 15:17:19 -07:00

15 lines
307 B
JavaScript

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