mirror of
https://github.com/outline/outline.git
synced 2026-06-28 10:44:25 +03:00
17 lines
448 B
JavaScript
17 lines
448 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
up: async (queryInterface, Sequelize) => {
|
|
await queryInterface.addColumn('documents', 'state', {
|
|
type: Sequelize.BLOB
|
|
});
|
|
await queryInterface.addColumn('teams', 'features', {
|
|
type: Sequelize.JSONB,
|
|
});
|
|
},
|
|
|
|
down: async (queryInterface, Sequelize) => {
|
|
await queryInterface.removeColumn('documents', 'state');
|
|
await queryInterface.removeColumn('teams', 'features');
|
|
}
|
|
}; |