Commit 95fa78c1 authored by Stephanie Briere Americo's avatar Stephanie Briere Americo

Merge branch 'issue/66' into 'develop'

Issue #66: Add unique index to aggr_net_usage_by_day

See merge request !883
parents 8e459609 05b6e5eb
Pipeline #22342 passed with stages
in 1 minute and 53 seconds
......@@ -181,3 +181,11 @@ GROUP BY
, day
, id_point
;
CREATE UNIQUE INDEX ON aggr_net_usage_by_day (
id_point
, day
, year
, month
);
\ No newline at end of file
......@@ -35,7 +35,7 @@ ORDER BY
<field name="last_contact" class="java.sql.Date"/>
<field name="days_last_contact" class="java.lang.Integer"/>
<field name="month_contacts" class="java.lang.Long"/>
<field name="telecenter" class="java.lang.String"/>
<field name="tech_vocational_center" class="java.lang.String"/>
<field name="green" class="java.lang.Boolean"/>
<field name="yellow" class="java.lang.Boolean"/>
<field name="red" class="java.lang.Boolean"/>
......@@ -160,7 +160,7 @@ ORDER BY
</groupHeader>
</group>
<group name="machine">
<groupExpression><![CDATA[$F{telecenter}]]></groupExpression>
<groupExpression><![CDATA[$F{tech_vocational_center}]]></groupExpression>
<groupHeader>
<band height="17">
<textField isBlankWhenNull="true">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment