try to deploy

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-07-13 21:27:37 +08:00
parent f5254f7571
commit c8dc2628a6
9 changed files with 120 additions and 46 deletions
@@ -0,0 +1,23 @@
'use strict';
// task_requirements.requires_review went missing from the live schema even
// though 20260709000001 is recorded as applied in SequelizeMeta (it was
// dropped out-of-band, outside the migration system). This restores it
// idempotently without re-touching `prompt`, which is still present.
module.exports = {
async up(queryInterface, Sequelize) {
const table = await queryInterface.describeTable('task_requirements');
if (!table.requires_review) {
await queryInterface.addColumn('task_requirements', 'requires_review', {
type: Sequelize.BOOLEAN,
allowNull: false,
defaultValue: false,
});
}
},
async down(queryInterface) {
await queryInterface.removeColumn('task_requirements', 'requires_review');
},
};