'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'); }, };