mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
chore: relocate backend into apps/api ahead of monorepo merge
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
'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');
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user