Files
outline/server/migrations/20210614000847-personal-collection.js
T
Tom Moor 9e028e9799 wip
2021-06-13 19:53:06 -07:00

16 lines
363 B
JavaScript

'use strict';
module.exports = {
up: async (queryInterface, Sequelize) => {
await queryInterface.addColumn("collections", "isPersonal", {
type: Sequelize.BOOLEAN,
allowNull: false,
defaultValue: false,
});
},
down: async (queryInterface, Sequelize) => {
await queryInterface.removeColumn("collections", "isPersonal");
}
};