mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
7a90a909b3
* check user has higher access * membershipId column * handle document shared email * fix and cleanup * tests * jsdoc * event changeset * check collection permission * change date in migration filename * review * rename migration filename to today * required group, jsdoc
15 lines
357 B
JavaScript
15 lines
357 B
JavaScript
"use strict";
|
|
|
|
/** @type {import('sequelize-cli').Migration} */
|
|
module.exports = {
|
|
async up(queryInterface, Sequelize) {
|
|
await queryInterface.addColumn("notifications", "membershipId", {
|
|
type: Sequelize.UUID,
|
|
});
|
|
},
|
|
|
|
async down(queryInterface, Sequelize) {
|
|
await queryInterface.removeColumn("notifications", "membershipId");
|
|
},
|
|
};
|