fix_changeSet
This commit is contained in:
parent
293c3e10ca
commit
ce626709c3
1 changed files with 12 additions and 8 deletions
|
|
@ -647,8 +647,12 @@
|
|||
round(count_criminal::numeric * 100 / (count_administrative + count_criminal)) AS percent_criminal,
|
||||
round(count_administrative::numeric * 100 / (count_administrative + count_criminal)) AS percent_administrative
|
||||
FROM metrics.criminal_administrative_liability;
|
||||
|
||||
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0006" author="ilyin">
|
||||
<comment>add table incidents</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS metrics.incidents_change_data_from_gir_vu
|
||||
(
|
||||
incidents_change_data_from_gir_vu_id bigserial NOT NULL PRIMARY KEY,
|
||||
|
|
@ -738,11 +742,11 @@
|
|||
round(count_manual_closed::numeric * 100 / (count_refused_to_archive + count_accepted_to_archive + count_auto_closed + count_manual_closed + count_returned)) AS percent_manual_closed,
|
||||
round(count_returned::numeric * 100 / (count_refused_to_archive + count_accepted_to_archive + count_auto_closed + count_manual_closed + count_returned)) AS percent_returned
|
||||
FROM metrics.incidents_closed;
|
||||
</sql>
|
||||
</changeSet>
|
||||
<!-- </sql>-->
|
||||
<!-- </changeSet>-->
|
||||
|
||||
<changeSet id="0006" author="ilyin">
|
||||
<comment>add table </comment>
|
||||
<changeSet id="0007" author="ilyin">
|
||||
<comment>add table appeals</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS metrics.citizen_appeals
|
||||
(
|
||||
|
|
@ -865,7 +869,7 @@
|
|||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0007" author="ilyin">
|
||||
<changeSet id="0008" author="ilyin">
|
||||
<comment>create schema summonses_list_subsystem</comment>
|
||||
<sql>
|
||||
|
||||
|
|
@ -1022,7 +1026,7 @@
|
|||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<!-- <changeSet id="0008" author="ilyin">-->
|
||||
<!-- <changeSet id="0009" author="ilyin">-->
|
||||
<!-- <comment>add table </comment>-->
|
||||
<!-- <sql>-->
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue