Skip to content

Commit

Permalink
Deploying to gh-pages from @ 644ce13 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
github-merge-queue committed Sep 14, 2024
1 parent 78f4426 commit 0e78335
Show file tree
Hide file tree
Showing 120 changed files with 5,529 additions and 2,577 deletions.
4,834 changes: 2,613 additions & 2,221 deletions schemaspy/case_management/columns.html

Large diffs are not rendered by default.

38 changes: 37 additions & 1 deletion schemaspy/case_management/constraints.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h1>Constraints</h1>
<div class="box box-primary">
<div class="box-header with-border">
<i class="ion ion-key"></i>
<h3 class="box-title">31 Foreign Key Constraints</h3>
<h3 class="box-title">33 Foreign Key Constraints</h3>
<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
Expand Down Expand Up @@ -391,6 +391,42 @@ <h3 class="box-title">31 Foreign Key Constraints</h3>
</td>
<td><span title='Restrict delete:&#10;Parent cannot be deleted if children exist'>Restrict delete</span></td>
</tr>
<tr>
<td>fk_authorization_permit__case_file_guid</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/authorization_permit.html'>authorization_permit</a><span>.case_file_guid</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/case_file.html'>case_file</a><span>.case_file_guid</span></td>
</tr>
</table>
</td>
<td><span title='Restrict delete:&#10;Parent cannot be deleted if children exist'>Restrict delete</span></td>
</tr>
<tr>
<td>fk_site__case_file_guid</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/site.html'>site</a><span>.case_file_guid</span></td>
</tr>
</table>
</td>
<td>
<table border='0' cellspacing='0' cellpadding='0'>
<tr>
<td><a href='tables/case_file.html'>case_file</a><span>.case_file_guid</span></td>
</tr>
</table>
</td>
<td><span title='Restrict delete:&#10;Parent cannot be deleted if children exist'>Restrict delete</span></td>
</tr>
<tr>
<td>FK_action__case_guid</td>
<td>
Expand Down
58 changes: 58 additions & 0 deletions schemaspy/case_management/default.case_management.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,34 @@
<column ascending="true" name="agency_code"/>
</index>
</table>
<table name="authorization_permit" remarks="Contains the authroized site id for the Authroization Outcome" schema="case_management" type="TABLE">
<column autoUpdated="false" defaultValue="case_management.uuid_generate_v4()" digits="0" id="0" name="authorization_permit_guid" nullable="false" remarks="System generated unique key for an authorized_permit record" size="2147483647" type="uuid" typeCode="1111"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="case_file_guid" nullable="false" remarks="System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables." size="2147483647" type="uuid" typeCode="1111">
<parent column="case_file_guid" foreignKey="fk_authorization_permit__case_file_guid" implied="false" onDeleteCascade="false" schema="case_management" table="case_file"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="authorization_permit_id" nullable="false" remarks="The value used for an authorized site id" size="50" type="varchar" typeCode="12"/>
<column autoUpdated="false" defaultValue="true" digits="0" id="3" name="active_ind" nullable="true" remarks="A boolean indicator to determine if the has been soft deleted." size="1" type="bool" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="create_user_id" nullable="false" remarks="The id of the user that created the authroized site id." size="32" type="varchar" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="5" name="create_utc_timestamp" nullable="false" remarks="The timestamp when the authroized site id was created. The timestamp is stored in UTC with no Offset." size="29" type="timestamp" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="update_user_id" nullable="true" remarks="The id of the user that updated the authroized site id" size="32" type="varchar" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="7" name="update_utc_timestamp" nullable="true" remarks="The timestamp when the authroized site id was updated. The timestamp is stored in UTC with no Offset." size="29" type="timestamp" typeCode="93"/>
<primaryKey column="authorization_permit_guid" sequenceNumberInPK="1"/>
<index name="PK_authorization_permit_guid" unique="true">
<column ascending="true" name="authorization_permit_guid"/>
</index>
</table>
<table name="authorization_permit_h" remarks="History table for authorization_permit table" schema="case_management" type="TABLE">
<column autoUpdated="false" defaultValue="case_management.uuid_generate_v4()" digits="0" id="0" name="h_authorization_permit_guid" nullable="false" remarks="System generated unique key for authorization permit history. This key should never be exposed to users via any system utilizing the tables." size="2147483647" type="uuid" typeCode="1111"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="target_row_id" nullable="false" remarks="The unique key for the authorization permit that has been created or modified." size="2147483647" type="uuid" typeCode="1111"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="operation_type" nullable="false" remarks="The operation performed: I = Insert, U = Update, D = Delete" size="1" type="bpchar" typeCode="1"/>
<column autoUpdated="false" defaultValue="CURRENT_USER" digits="0" id="3" name="operation_user_id" nullable="false" remarks="The id of the user that created or modified the data in the authorization permit table. Defaults to the logged in user if not passed in by the application." size="32" type="varchar" typeCode="12"/>
<column autoUpdated="false" defaultValue="now()" digits="6" id="4" name="operation_executed_at" nullable="false" remarks="The timestamp when the data in the authorization permit table was created or modified. The timestamp is stored in UTC with no Offset." size="29" type="timestamp" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="data_after_executed_operation" nullable="true" remarks="A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table." size="2147483647" type="jsonb" typeCode="1111"/>
<primaryKey column="h_authorization_permit_guid" sequenceNumberInPK="1"/>
<index name="PK_h_authorization_permit" unique="true">
<column ascending="true" name="h_authorization_permit_guid"/>
</index>
</table>
<table name="case_code" remarks="Contains the list of case types supported by the system. For example HWCR = &quot;Human Wildlife Conflict&quot;" schema="case_management" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="case_code" nullable="false" remarks="A human readable code used to identify a case type." size="10" type="varchar" typeCode="12">
<child column="case_code" foreignKey="FK_case_file__case_code" implied="false" onDeleteCascade="false" schema="case_management" table="case_file"/>
Expand All @@ -154,8 +182,10 @@
<table name="case_file" remarks="The central entity of the case management system." schema="case_management" type="TABLE">
<column autoUpdated="false" defaultValue="case_management.uuid_generate_v4()" digits="0" id="0" name="case_file_guid" nullable="false" remarks="System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables." size="2147483647" type="uuid" typeCode="1111">
<child column="case_guid" foreignKey="FK_action__case_guid" implied="false" onDeleteCascade="false" schema="case_management" table="action"/>
<child column="case_file_guid" foreignKey="fk_authorization_permit__case_file_guid" implied="false" onDeleteCascade="false" schema="case_management" table="authorization_permit"/>
<child column="case_file_guid" foreignKey="fk_decision__case_file_guid" implied="false" onDeleteCascade="false" schema="case_management" table="decision"/>
<child column="case_identifier" foreignKey="FK_lead__case_identifier" implied="false" onDeleteCascade="false" schema="case_management" table="lead"/>
<child column="case_file_guid" foreignKey="fk_site__case_file_guid" implied="false" onDeleteCascade="false" schema="case_management" table="site"/>
<child column="case_file_guid" foreignKey="fk_wildlife__case_file_guid" implied="false" onDeleteCascade="false" schema="case_management" table="wildlife"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="case_code" nullable="false" remarks="A human readable code used to identify a case type." size="10" type="varchar" typeCode="12">
Expand Down Expand Up @@ -659,6 +689,34 @@
<column ascending="true" name="sex_code"/>
</index>
</table>
<table name="site" remarks="Contains the unauthorized site id for the Authroization Outcome" schema="case_management" type="TABLE">
<column autoUpdated="false" defaultValue="case_management.uuid_generate_v4()" digits="0" id="0" name="site_guid" nullable="false" remarks="System generated unique key for a site record" size="2147483647" type="uuid" typeCode="1111"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="case_file_guid" nullable="false" remarks="System generated unique key for a case. This key should never be exposed to users via any system utilizing the tables." size="2147483647" type="uuid" typeCode="1111">
<parent column="case_file_guid" foreignKey="fk_site__case_file_guid" implied="false" onDeleteCascade="false" schema="case_management" table="case_file"/>
</column>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="site_id" nullable="false" remarks="The value used for an unauthorized site id" size="50" type="varchar" typeCode="12"/>
<column autoUpdated="false" defaultValue="true" digits="0" id="3" name="active_ind" nullable="true" remarks="A boolean indicator to determine if the record has been soft deleted." size="1" type="bool" typeCode="-7"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="4" name="create_user_id" nullable="false" remarks="The id of the user that created the unauthroized site id." size="32" type="varchar" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="5" name="create_utc_timestamp" nullable="false" remarks="The timestamp when the unauthroized site id was created. The timestamp is stored in UTC with no Offset." size="29" type="timestamp" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="6" name="update_user_id" nullable="true" remarks="The id of the user that updated the unauthroized site id" size="32" type="varchar" typeCode="12"/>
<column autoUpdated="false" defaultValue="null" digits="6" id="7" name="update_utc_timestamp" nullable="true" remarks="The timestamp when the unauthroized site id was updated. The timestamp is stored in UTC with no Offset." size="29" type="timestamp" typeCode="93"/>
<primaryKey column="site_guid" sequenceNumberInPK="1"/>
<index name="PK_site_guid" unique="true">
<column ascending="true" name="site_guid"/>
</index>
</table>
<table name="site_h" remarks="History table for site table" schema="case_management" type="TABLE">
<column autoUpdated="false" defaultValue="case_management.uuid_generate_v4()" digits="0" id="0" name="h_site_guid" nullable="false" remarks="System generated unique key for site history. This key should never be exposed to users via any system utilizing the tables." size="2147483647" type="uuid" typeCode="1111"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="1" name="target_row_id" nullable="false" remarks="The unique key for the site that has been created or modified." size="2147483647" type="uuid" typeCode="1111"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="2" name="operation_type" nullable="false" remarks="The operation performed: I = Insert, U = Update, D = Delete" size="1" type="bpchar" typeCode="1"/>
<column autoUpdated="false" defaultValue="CURRENT_USER" digits="0" id="3" name="operation_user_id" nullable="false" remarks="The id of the user that created or modified the data in the site table. Defaults to the logged in user if not passed in by the application." size="32" type="varchar" typeCode="12"/>
<column autoUpdated="false" defaultValue="now()" digits="6" id="4" name="operation_executed_at" nullable="false" remarks="The timestamp when the data in the site table was created or modified. The timestamp is stored in UTC with no Offset." size="29" type="timestamp" typeCode="93"/>
<column autoUpdated="false" defaultValue="null" digits="0" id="5" name="data_after_executed_operation" nullable="true" remarks="A JSON representation of the row in the table after the operation was completed successfully. This implies that the latest row in the audit table will always match with the current row in the live table." size="2147483647" type="jsonb" typeCode="1111"/>
<primaryKey column="h_site_guid" sequenceNumberInPK="1"/>
<index name="PK_h_site" unique="true">
<column ascending="true" name="h_site_guid"/>
</index>
</table>
<table name="threat_level_code" remarks="A COS determination that indicates the threat level of the animal to humans. For example 1 = &quot;Category 1&quot;" schema="case_management" type="TABLE">
<column autoUpdated="false" defaultValue="null" digits="0" id="0" name="threat_level_code" nullable="false" remarks="A human readable code used to identify a threat level type." size="10" type="varchar" typeCode="12">
<child column="threat_level_code" foreignKey="fk_wildlife__threat_level_code" implied="false" onDeleteCascade="false" schema="case_management" table="wildlife"/>
Expand Down
4 changes: 4 additions & 0 deletions schemaspy/case_management/deletionOrder.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
wildlife_h
site_h
lead_h
flyway_schema_history
ear_tag_h
Expand All @@ -7,11 +8,14 @@ decision_h
configuration_h
configuration
case_file_h
authorization_permit_h
action_h
action
drug_administered
ear_tag
site
lead
authorization_permit
decision
action_type_action_xref
equipment
Expand Down
Loading

0 comments on commit 0e78335

Please sign in to comment.