diff --git a/schema/data/dev/005_cif_reporting_requirement.sql b/schema/data/dev/005_cif_reporting_requirement.sql index 5a907e37c1..af618d5e94 100644 --- a/schema/data/dev/005_cif_reporting_requirement.sql +++ b/schema/data/dev/005_cif_reporting_requirement.sql @@ -14,8 +14,8 @@ do $$ update cif.form_change set new_form_data = json_build_object( 'projectId', temp_row.form_data_record_id, - 'reportDueDate', now(), - 'submittedDate', now(), + 'reportDueDate', '2022-08-05', + 'submittedDate', '2022-08-05', 'reportType', 'General Milestone', 'reportingRequirementIndex', 1, 'description', 'general milestone report description ' || temp_row.form_data_record_id @@ -27,7 +27,7 @@ do $$ json_build_object( 'certifierProfessionalDesignation', 'Professional Engineer', 'reportingRequirementId', temp_row.form_data_record_id, - 'substantialCompletionDate', now(), + 'substantialCompletionDate', '2022-08-05', 'maximumAmount', 1, 'totalEligibleExpenses', 1, 'certifiedBy', 'Elliot Page' @@ -40,7 +40,7 @@ do $$ 'reportingRequirementId', temp_row.form_data_record_id, 'adjustedGrossAmount', 1, 'adjustedNetAmount', 1, - 'dateSentToCsnr', now() + 'dateSentToCsnr', '2022-08-05' ) where form_data_table_name = 'payment' and project_revision_id = temp_row.project_revision_id; @@ -62,8 +62,8 @@ do $$ ( json_build_object( - 'reportDueDate', now(), - 'submittedDate', now(), + 'reportDueDate', '2022-08-05', + 'submittedDate', '2022-08-05', 'comments','annual report comments ' || temp_row.id, 'projectId', (select form_data_record_id from cif.form_change @@ -92,8 +92,8 @@ for temp_row in select id, project_id from cif.project_revision loop ( json_build_object( - 'reportDueDate', now(), - 'submittedDate', now(), + 'reportDueDate', '2022-08-05', + 'submittedDate', '2022-08-05', 'comments','quarterly report comments ' || temp_row.id, 'projectId', (select form_data_record_id from cif.form_change