mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
18 lines
544 B
JavaScript
18 lines
544 B
JavaScript
'use strict';
|
|
|
|
// Notifications-type alerts need a body again; Sticky-type alerts stay
|
|
// title-only. Nullable this time (sticky rows never populate it) — reverses
|
|
// 20270101000086, which dropped this same column as NOT NULL.
|
|
module.exports = {
|
|
async up(queryInterface, Sequelize) {
|
|
await queryInterface.addColumn('notification_broadcasts', 'message', {
|
|
type: Sequelize.TEXT,
|
|
allowNull: true,
|
|
});
|
|
},
|
|
|
|
async down(queryInterface) {
|
|
await queryInterface.removeColumn('notification_broadcasts', 'message');
|
|
},
|
|
};
|