diff --git a/migration/20220920131201_summary_to_jsonb.tx.up.sql b/migration/20220920131201_summary_to_jsonb.tx.up.sql index 32de426..4497bf0 100644 --- a/migration/20220920131201_summary_to_jsonb.tx.up.sql +++ b/migration/20220920131201_summary_to_jsonb.tx.up.sql @@ -18,7 +18,7 @@ set 'valleyFee', customer_consumption_valley_fee, 'proportion', null ), - publics = jsonb_build_object( + diluteds = jsonb_build_object( 'consumption', public_consumption, 'fee', public_consumption_fee, 'critical', public_consumption_critical, @@ -31,7 +31,7 @@ set 'valleyFee', public_consumption_valley_fee, 'proportion', public_consumption_proportion ), - diluteds = jsonb_build_object( + publics = jsonb_build_object( 'consumption', null, 'fee', null, 'critical', null,