mirror of
https://github.com/outline/outline.git
synced 2026-06-28 18:54:24 +03:00
4fc6ac1f15
* Add ReactionsCreate notification event type - Add ReactionsCreate to NotificationEventType enum and defaults - Add notification settings UI with SmileyIcon and proper labels - Create ReactionsCreateNotificationsTask to handle comment reactions - Update NotificationsProcessor to handle comments.add_reaction events - Add eventText and path handling in client Notification model - Notifications are enabled by default but never send emails * Applied automatic fixes * Show the actual emoji in the notification * Cleanup notifications if reaction is removed * PR feedback --------- Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com> Co-authored-by: Tom Moor <tom@getoutline.com>
16 lines
364 B
JavaScript
16 lines
364 B
JavaScript
"use strict";
|
|
|
|
/** @type {import('sequelize-cli').Migration} */
|
|
module.exports = {
|
|
async up(queryInterface, Sequelize) {
|
|
await queryInterface.addColumn("notifications", "data", {
|
|
type: Sequelize.JSON,
|
|
allowNull: true,
|
|
});
|
|
},
|
|
|
|
async down(queryInterface, Sequelize) {
|
|
await queryInterface.removeColumn("notifications", "data");
|
|
},
|
|
};
|