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