mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
e86593f234
* add group mentions * group mention functionality * add notification test * fix: Group icon in mention menu * language * toast message * fix: Group icon in mention menu light mode color --------- Co-authored-by: Tom Moor <tom@getoutline.com>
20 lines
440 B
JavaScript
20 lines
440 B
JavaScript
"use strict";
|
|
|
|
/** @type {import('sequelize-cli').Migration} */
|
|
module.exports = {
|
|
async up(queryInterface, Sequelize) {
|
|
await queryInterface.addColumn("notifications", "groupId", {
|
|
type: Sequelize.UUID,
|
|
allowNull: true,
|
|
onDelete: "cascade",
|
|
references: {
|
|
model: "groups",
|
|
},
|
|
});
|
|
},
|
|
|
|
async down(queryInterface) {
|
|
await queryInterface.removeColumn("notifications", "groupId");
|
|
},
|
|
};
|