mirror of
https://github.com/outline/outline.git
synced 2026-06-27 10:14:23 +03:00
18 lines
477 B
JavaScript
18 lines
477 B
JavaScript
"use strict";
|
|
|
|
module.exports = {
|
|
up: async (queryInterface, Sequelize) => {
|
|
await queryInterface.addColumn("documents", "state", {
|
|
type: Sequelize.BLOB,
|
|
});
|
|
await queryInterface.addColumn("teams", "collaborativeEditing", {
|
|
type: Sequelize.BOOLEAN,
|
|
});
|
|
},
|
|
|
|
down: async (queryInterface, Sequelize) => {
|
|
await queryInterface.removeColumn("documents", "state");
|
|
await queryInterface.removeColumn("teams", "collaborativeEditing");
|
|
},
|
|
};
|