Commit 05b6e5eb authored by Rafael Dias's avatar Rafael Dias

Issue #66: Add unique index to aggr_net_usage_by_day

Signed-off-by: Rafael Dias's avatarrafaelcosc <rpd17@inf.ufpr.br>
parent 8e459609
Pipeline #22341 passed with stages
in 2 minutes and 31 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