* First pass, moving collection description rendering to JSON * tsc * docs * refactor * test
15 lines
307 B
JavaScript
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");
|
|
},
|
|
};
|