CREATE TABLE IF NOT EXISTS `project_finance_monthly_override` (
    `project_id` INT NOT NULL,
    `nsr_override` DECIMAL(15, 2) DEFAULT NULL,
    `cost_override` DECIMAL(15, 2) DEFAULT NULL,
    `hours_override` DECIMAL(10, 2) DEFAULT NULL,
    `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
    PRIMARY KEY (`project_id`),
    FOREIGN KEY (`project_id`) REFERENCES `projects`(`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;