diff --git a/docs/source/schema/20210811-augur-0.2.1-release.png b/docs/source/schema/20210811-augur-0.2.1-release.png
new file mode 100644
index 0000000000..7459c36a9a
Binary files /dev/null and b/docs/source/schema/20210811-augur-0.2.1-release.png differ
diff --git a/docs/source/schema/20210811-augur-0.2.1-release.svg b/docs/source/schema/20210811-augur-0.2.1-release.svg
new file mode 100644
index 0000000000..14e714627b
--- /dev/null
+++ b/docs/source/schema/20210811-augur-0.2.1-release.svg
@@ -0,0 +1,60200 @@
+
+
diff --git a/docs/source/schema/data-model.rst b/docs/source/schema/data-model.rst
index 58d5db61c3..98aef18619 100644
--- a/docs/source/schema/data-model.rst
+++ b/docs/source/schema/data-model.rst
@@ -1,14 +1,14 @@
Data Model
===========
-The latest version of Augur includes a schema_ that brings together data from :
+The latest version of Augur includes a schema_ that brings together data from :
1. git repositories, including GitHub
2. issue trackers
3. mailing lists
4. library dependency trees
5. the Linux Foundation's badging program
-6. code complexity and contribution counting ... and MUCH MUCH MORE.
+6. code complexity and contribution counting ... and MUCH MUCH MORE.
This document details how to create the schema as well as some information on its contents and design.
@@ -72,8 +72,16 @@ the DoSOCSv2 project: https://github.com/Nebrethar/DoSOCSv2
.. _schema:
--------------------
-Complete Data Model
+Complete Data Model, With Key Table Types Highlighted
--------------------
.. image:: schema.png
:width: 1200
- :alt: Augur Unified Schema
+ :alt: Augur Unified Schema
+
+
+--------------------
+Complete Data Model, For Current Release
+--------------------
+.. image:: 20210811-augur-0.2.1-release.png
+ :width: 1200
+ :alt: Augur Unified Schema
diff --git a/metadata.py b/metadata.py
index 74ded242ec..35614388ce 100644
--- a/metadata.py
+++ b/metadata.py
@@ -5,8 +5,8 @@
__short_description__ = "Python 3 package for free/libre and open-source software community metrics & data collection"
-__version__ = "0.2.0"
-__release__ = "v0.2.0"
+__version__ = "0.20.1"
+__release__ = "v0.20.1"
__license__ = "MIT"
__copyright__ = "CHAOSS & Augurlabs 2021"
diff --git a/schema/20200311-Release-0.15.1.sql b/schema/20200311-Release-0.15.1.sql
deleted file mode 100644
index d1cee16612..0000000000
--- a/schema/20200311-Release-0.15.1.sql
+++ /dev/null
@@ -1,4412 +0,0 @@
--- #SPDX-License-Identifier: MIT
--- ----------------------------
-
-CREATE SCHEMA IF NOT EXISTS augur_data;
-CREATE SCHEMA IF NOT EXISTS augur_operations;
-CREATE SCHEMA IF NOT EXISTS spdx;
--- create the schemas
--- -----------------------
-
--- ----------------------------
--- Sequence structure for annotation_types_annotation_type_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."annotation_types_annotation_type_id_seq";
-CREATE SEQUENCE "spdx"."annotation_types_annotation_type_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."annotation_types_annotation_type_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for annotations_annotation_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."annotations_annotation_id_seq";
-CREATE SEQUENCE "spdx"."annotations_annotation_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."annotations_annotation_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for augur_repo_map_map_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."augur_repo_map_map_id_seq";
-CREATE SEQUENCE "spdx"."augur_repo_map_map_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."augur_repo_map_map_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for creator_types_creator_type_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."creator_types_creator_type_id_seq";
-CREATE SEQUENCE "spdx"."creator_types_creator_type_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."creator_types_creator_type_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for creators_creator_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."creators_creator_id_seq";
-CREATE SEQUENCE "spdx"."creators_creator_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."creators_creator_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for document_namespaces_document_namespace_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."document_namespaces_document_namespace_id_seq";
-CREATE SEQUENCE "spdx"."document_namespaces_document_namespace_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."document_namespaces_document_namespace_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for documents_creators_document_creator_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."documents_creators_document_creator_id_seq";
-CREATE SEQUENCE "spdx"."documents_creators_document_creator_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."documents_creators_document_creator_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for documents_document_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."documents_document_id_seq";
-CREATE SEQUENCE "spdx"."documents_document_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."documents_document_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for external_refs_external_ref_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."external_refs_external_ref_id_seq";
-CREATE SEQUENCE "spdx"."external_refs_external_ref_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."external_refs_external_ref_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for file_contributors_file_contributor_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."file_contributors_file_contributor_id_seq";
-CREATE SEQUENCE "spdx"."file_contributors_file_contributor_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."file_contributors_file_contributor_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for files_file_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."files_file_id_seq";
-CREATE SEQUENCE "spdx"."files_file_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."files_file_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for files_licenses_file_license_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."files_licenses_file_license_id_seq";
-CREATE SEQUENCE "spdx"."files_licenses_file_license_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."files_licenses_file_license_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for files_scans_file_scan_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."files_scans_file_scan_id_seq";
-CREATE SEQUENCE "spdx"."files_scans_file_scan_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."files_scans_file_scan_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for identifiers_identifier_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."identifiers_identifier_id_seq";
-CREATE SEQUENCE "spdx"."identifiers_identifier_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."identifiers_identifier_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for licenses_license_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."licenses_license_id_seq";
-CREATE SEQUENCE "spdx"."licenses_license_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."licenses_license_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for packages_files_package_file_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."packages_files_package_file_id_seq";
-CREATE SEQUENCE "spdx"."packages_files_package_file_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."packages_files_package_file_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for packages_package_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."packages_package_id_seq";
-CREATE SEQUENCE "spdx"."packages_package_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."packages_package_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for packages_scans_package_scan_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."packages_scans_package_scan_id_seq";
-CREATE SEQUENCE "spdx"."packages_scans_package_scan_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."packages_scans_package_scan_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for projects_package_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."projects_package_id_seq";
-CREATE SEQUENCE "spdx"."projects_package_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."projects_package_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for relationship_types_relationship_type_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."relationship_types_relationship_type_id_seq";
-CREATE SEQUENCE "spdx"."relationship_types_relationship_type_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."relationship_types_relationship_type_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for relationships_relationship_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."relationships_relationship_id_seq";
-CREATE SEQUENCE "spdx"."relationships_relationship_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."relationships_relationship_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for scanners_scanner_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."scanners_scanner_id_seq";
-CREATE SEQUENCE "spdx"."scanners_scanner_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."scanners_scanner_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for augur_settings_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_operations"."augur_settings_id_seq";
-CREATE SEQUENCE "augur_operations"."augur_settings_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_operations"."augur_settings_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for gh_worker_history_history_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_operations"."gh_worker_history_history_id_seq";
-CREATE SEQUENCE "augur_operations"."gh_worker_history_history_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_operations"."gh_worker_history_history_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for worker_oauth_oauth_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_operations"."worker_oauth_oauth_id_seq";
-CREATE SEQUENCE "augur_operations"."worker_oauth_oauth_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1000
-CACHE 1;
-ALTER SEQUENCE "augur_operations"."worker_oauth_oauth_id_seq" OWNER TO "augur";
-
--- ----------------------------
-
--- ----------------------------
--- Sequence structure for augur_data.repo_insights_ri_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."augur_data.repo_insights_ri_id_seq";
-CREATE SEQUENCE "augur_data"."augur_data.repo_insights_ri_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."augur_data.repo_insights_ri_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for chaoss_metric_status_cms_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."chaoss_metric_status_cms_id_seq";
-CREATE SEQUENCE "augur_data"."chaoss_metric_status_cms_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."chaoss_metric_status_cms_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for commit_comment_ref_cmt_comment_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."commit_comment_ref_cmt_comment_id_seq";
-CREATE SEQUENCE "augur_data"."commit_comment_ref_cmt_comment_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."commit_comment_ref_cmt_comment_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for commit_parents_parent_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."commit_parents_parent_id_seq";
-CREATE SEQUENCE "augur_data"."commit_parents_parent_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."commit_parents_parent_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for commits_cmt_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."commits_cmt_id_seq";
-CREATE SEQUENCE "augur_data"."commits_cmt_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."commits_cmt_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for contributor_affiliations_ca_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."contributor_affiliations_ca_id_seq";
-CREATE SEQUENCE "augur_data"."contributor_affiliations_ca_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."contributor_affiliations_ca_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for contributors_aliases_cntrb_a_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."contributors_aliases_cntrb_a_id_seq";
-CREATE SEQUENCE "augur_data"."contributors_aliases_cntrb_a_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."contributors_aliases_cntrb_a_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for contributors_cntrb_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."contributors_cntrb_id_seq";
-CREATE SEQUENCE "augur_data"."contributors_cntrb_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."contributors_cntrb_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for contributors_history_cntrb_history_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."contributors_history_cntrb_history_id_seq";
-CREATE SEQUENCE "augur_data"."contributors_history_cntrb_history_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."contributors_history_cntrb_history_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for discourse_insights_msg_discourse_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."discourse_insights_msg_discourse_id_seq";
-CREATE SEQUENCE "augur_data"."discourse_insights_msg_discourse_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."discourse_insights_msg_discourse_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for issue_assignees_issue_assignee_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."issue_assignees_issue_assignee_id_seq";
-CREATE SEQUENCE "augur_data"."issue_assignees_issue_assignee_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."issue_assignees_issue_assignee_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for issue_events_event_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."issue_events_event_id_seq";
-CREATE SEQUENCE "augur_data"."issue_events_event_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."issue_events_event_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for issue_labels_issue_label_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."issue_labels_issue_label_id_seq";
-CREATE SEQUENCE "augur_data"."issue_labels_issue_label_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."issue_labels_issue_label_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for issue_message_ref_issue_msg_ref_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."issue_message_ref_issue_msg_ref_id_seq";
-CREATE SEQUENCE "augur_data"."issue_message_ref_issue_msg_ref_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."issue_message_ref_issue_msg_ref_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for issue_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."issue_seq";
-CREATE SEQUENCE "augur_data"."issue_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 31000
-CACHE 1;
-ALTER SEQUENCE "augur_data"."issue_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for libraries_library_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."libraries_library_id_seq";
-CREATE SEQUENCE "augur_data"."libraries_library_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."libraries_library_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for library_dependencies_lib_dependency_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."library_dependencies_lib_dependency_id_seq";
-CREATE SEQUENCE "augur_data"."library_dependencies_lib_dependency_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."library_dependencies_lib_dependency_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for library_version_library_version_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."library_version_library_version_id_seq";
-CREATE SEQUENCE "augur_data"."library_version_library_version_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."library_version_library_version_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for lstm_anomaly_models_model_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."lstm_anomaly_models_model_id_seq";
-CREATE SEQUENCE "augur_data"."lstm_anomaly_models_model_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."lstm_anomaly_models_model_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for lstm_anomaly_results_result_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."lstm_anomaly_results_result_id_seq";
-CREATE SEQUENCE "augur_data"."lstm_anomaly_results_result_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."lstm_anomaly_results_result_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for message_analysis_msg_analysis_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."message_analysis_msg_analysis_id_seq";
-CREATE SEQUENCE "augur_data"."message_analysis_msg_analysis_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."message_analysis_msg_analysis_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for message_analysis_summary_msg_summary_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."message_analysis_summary_msg_summary_id_seq";
-CREATE SEQUENCE "augur_data"."message_analysis_summary_msg_summary_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."message_analysis_summary_msg_summary_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for message_msg_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."message_msg_id_seq";
-CREATE SEQUENCE "augur_data"."message_msg_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."message_msg_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for message_sentiment_msg_analysis_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."message_sentiment_msg_analysis_id_seq";
-CREATE SEQUENCE "augur_data"."message_sentiment_msg_analysis_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."message_sentiment_msg_analysis_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for message_sentiment_summary_msg_summary_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."message_sentiment_summary_msg_summary_id_seq";
-CREATE SEQUENCE "augur_data"."message_sentiment_summary_msg_summary_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."message_sentiment_summary_msg_summary_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for platform_pltfrm_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."platform_pltfrm_id_seq";
-CREATE SEQUENCE "augur_data"."platform_pltfrm_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."platform_pltfrm_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_assignees_pr_assignee_map_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_assignees_pr_assignee_map_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_assignees_pr_assignee_map_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_assignees_pr_assignee_map_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_commits_pr_cmt_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_commits_pr_cmt_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_commits_pr_cmt_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_commits_pr_cmt_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_events_pr_event_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_events_pr_event_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_events_pr_event_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_events_pr_event_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_files_pr_file_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_files_pr_file_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_files_pr_file_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25150
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_files_pr_file_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_labels_pr_label_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_labels_pr_label_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_labels_pr_label_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_labels_pr_label_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_message_ref_pr_msg_ref_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_message_ref_pr_msg_ref_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_message_ref_pr_msg_ref_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_message_ref_pr_msg_ref_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_meta_pr_repo_meta_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_meta_pr_repo_meta_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_meta_pr_repo_meta_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_meta_pr_repo_meta_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_repo_pr_repo_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_repo_pr_repo_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_repo_pr_repo_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_repo_pr_repo_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_reviewers_pr_reviewer_map_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_reviewers_pr_reviewer_map_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_reviewers_pr_reviewer_map_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_reviewers_pr_reviewer_map_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_teams_pr_team_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_teams_pr_team_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_teams_pr_team_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_teams_pr_team_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_requests_pull_request_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_requests_pull_request_id_seq";
-CREATE SEQUENCE "augur_data"."pull_requests_pull_request_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_requests_pull_request_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for releases_release_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."releases_release_id_seq";
-CREATE SEQUENCE "augur_data"."releases_release_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."releases_release_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_badging_badge_collection_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_badging_badge_collection_id_seq";
-CREATE SEQUENCE "augur_data"."repo_badging_badge_collection_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25012
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_badging_badge_collection_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_cluster_messages_msg_cluster_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_cluster_messages_msg_cluster_id_seq";
-CREATE SEQUENCE "augur_data"."repo_cluster_messages_msg_cluster_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_cluster_messages_msg_cluster_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_group_insights_rgi_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_group_insights_rgi_id_seq";
-CREATE SEQUENCE "augur_data"."repo_group_insights_rgi_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_group_insights_rgi_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_groups_list_serve_rgls_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_groups_list_serve_rgls_id_seq";
-CREATE SEQUENCE "augur_data"."repo_groups_list_serve_rgls_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_groups_list_serve_rgls_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_groups_repo_group_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_groups_repo_group_id_seq";
-CREATE SEQUENCE "augur_data"."repo_groups_repo_group_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_groups_repo_group_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_info_repo_info_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_info_repo_info_id_seq";
-CREATE SEQUENCE "augur_data"."repo_info_repo_info_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_info_repo_info_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_insights_records_ri_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_insights_records_ri_id_seq";
-CREATE SEQUENCE "augur_data"."repo_insights_records_ri_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_insights_records_ri_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_insights_ri_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_insights_ri_id_seq";
-CREATE SEQUENCE "augur_data"."repo_insights_ri_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_insights_ri_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_labor_repo_labor_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_labor_repo_labor_id_seq";
-CREATE SEQUENCE "augur_data"."repo_labor_repo_labor_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_labor_repo_labor_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_meta_rmeta_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_meta_rmeta_id_seq";
-CREATE SEQUENCE "augur_data"."repo_meta_rmeta_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_meta_rmeta_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_repo_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_repo_id_seq";
-CREATE SEQUENCE "augur_data"."repo_repo_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_repo_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_sbom_scans_rsb_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_sbom_scans_rsb_id_seq";
-CREATE SEQUENCE "augur_data"."repo_sbom_scans_rsb_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_sbom_scans_rsb_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_stats_rstat_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_stats_rstat_id_seq";
-CREATE SEQUENCE "augur_data"."repo_stats_rstat_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_stats_rstat_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_test_coverage_repo_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_test_coverage_repo_id_seq";
-CREATE SEQUENCE "augur_data"."repo_test_coverage_repo_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_test_coverage_repo_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_topic_repo_topic_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_topic_repo_topic_id_seq";
-CREATE SEQUENCE "augur_data"."repo_topic_repo_topic_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_topic_repo_topic_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for topic_words_topic_words_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."topic_words_topic_words_id_seq";
-CREATE SEQUENCE "augur_data"."topic_words_topic_words_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."topic_words_topic_words_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for utility_log_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."utility_log_id_seq";
-CREATE SEQUENCE "augur_data"."utility_log_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."utility_log_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for utility_log_id_seq1
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."utility_log_id_seq1";
-CREATE SEQUENCE "augur_data"."utility_log_id_seq1"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."utility_log_id_seq1" OWNER TO "augur";
-
--- ----------------------------
-
-ALTER TABLE IF EXISTS "augur_data"."commit_comment_ref" DROP CONSTRAINT "fk_commit_comment_ref_commits_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commit_comment_ref" DROP CONSTRAINT "fk_commit_comment_ref_message_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commit_parents" DROP CONSTRAINT "fk_commit_parents_commits_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commit_parents" DROP CONSTRAINT "fk_commit_parents_commits_2" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commits" DROP CONSTRAINT "fk_commits_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commits" DROP CONSTRAINT "fk_commits_contributors_2" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commits" DROP CONSTRAINT "fk_commits_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."contributors_aliases" DROP CONSTRAINT "fk_contributors_aliases_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."contributors_history" DROP CONSTRAINT "fk_contributors_history_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."discourse_insights" DROP CONSTRAINT "fk_discourse_insights_message_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_assignees" DROP CONSTRAINT "fk_issue_assignees_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_assignees" DROP CONSTRAINT "fk_issue_assignees_issues_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_events" DROP CONSTRAINT "fk_issue_events_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_events" DROP CONSTRAINT "fk_issue_events_issues_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_labels" DROP CONSTRAINT "fk_issue_labels_issues_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_message_ref" DROP CONSTRAINT "fk_issue_message_ref_issues_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_message_ref" DROP CONSTRAINT "fk_issue_message_ref_message_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issues" DROP CONSTRAINT "fk_issues_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issues" DROP CONSTRAINT "fk_issues_contributors_2" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issues" DROP CONSTRAINT "fk_issues_repo" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."libraries" DROP CONSTRAINT "fk_libraries_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."library_dependencies" DROP CONSTRAINT "fk_library_dependencies_libraries_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."library_version" DROP CONSTRAINT "fk_library_version_libraries_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."lstm_anomaly_results" DROP CONSTRAINT "fk_lstm_anomaly_results_lstm_anomaly_models_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."lstm_anomaly_results" DROP CONSTRAINT "fk_lstm_anomaly_results_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message" DROP CONSTRAINT "fk_message_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message" DROP CONSTRAINT "fk_message_platform_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message" DROP CONSTRAINT "fk_message_repo_groups_list_serve_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message_analysis" DROP CONSTRAINT "fk_message_analysis_message_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message_analysis_summary" DROP CONSTRAINT "fk_message_analysis_summary_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message_sentiment" DROP CONSTRAINT "fk_message_sentiment_message_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message_sentiment_summary" DROP CONSTRAINT "fk_message_sentiment_summary_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_assignees" DROP CONSTRAINT "fk_pull_request_assignees_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_assignees" DROP CONSTRAINT "fk_pull_request_assignees_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_commits" DROP CONSTRAINT "fk_pull_request_commits_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_events" DROP CONSTRAINT "fk_pull_request_events_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_events" DROP CONSTRAINT "fk_pull_request_events_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_files" DROP CONSTRAINT "fk_pull_request_commits_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_labels" DROP CONSTRAINT "fk_pull_request_labels_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_message_ref" DROP CONSTRAINT "fk_pull_request_message_ref_message_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_message_ref" DROP CONSTRAINT "fk_pull_request_message_ref_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_meta" DROP CONSTRAINT "fk_pull_request_meta_contributors_2" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_meta" DROP CONSTRAINT "fk_pull_request_meta_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_repo" DROP CONSTRAINT "fk_pull_request_repo_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_repo" DROP CONSTRAINT "fk_pull_request_repo_pull_request_meta_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_reviewers" DROP CONSTRAINT "fk_pull_request_reviewers_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_reviewers" DROP CONSTRAINT "fk_pull_request_reviewers_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_teams" DROP CONSTRAINT "fk_pull_request_teams_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_requests" DROP CONSTRAINT "fk_pull_requests_pull_request_meta_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_requests" DROP CONSTRAINT "fk_pull_requests_pull_request_meta_2" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_requests" DROP CONSTRAINT "fk_pull_requests_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."releases" DROP CONSTRAINT "fk_releases_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo" DROP CONSTRAINT "fk_repo_repo_groups_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_badging" DROP CONSTRAINT "fk_repo_badging_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_cluster_messages" DROP CONSTRAINT "fk_repo_cluster_messages_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_group_insights" DROP CONSTRAINT "fk_repo_group_insights_repo_groups_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_groups_list_serve" DROP CONSTRAINT "fk_repo_groups_list_serve_repo_groups_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_info" DROP CONSTRAINT "fk_repo_info_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_insights" DROP CONSTRAINT "fk_repo_insights_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_insights_records" DROP CONSTRAINT "repo_id_ref" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_labor" DROP CONSTRAINT "fk_repo_labor_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_meta" DROP CONSTRAINT "fk_repo_meta_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_sbom_scans" DROP CONSTRAINT "repo_linker_sbom" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_stats" DROP CONSTRAINT "fk_repo_stats_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_test_coverage" DROP CONSTRAINT "fk_repo_test_coverage_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_topic" DROP CONSTRAINT "fk_repo_topic_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."topic_words" DROP CONSTRAINT "fk_topic_words_repo_topic_1" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."annotations" DROP CONSTRAINT "annotations_annotation_type_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."annotations" DROP CONSTRAINT "annotations_creator_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."annotations" DROP CONSTRAINT "annotations_document_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."annotations" DROP CONSTRAINT "annotations_identifier_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."creators" DROP CONSTRAINT "creators_creator_type_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."documents" DROP CONSTRAINT "documents_data_license_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."documents" DROP CONSTRAINT "documents_document_namespace_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."documents" DROP CONSTRAINT "documents_package_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."documents_creators" DROP CONSTRAINT "documents_creators_creator_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."documents_creators" DROP CONSTRAINT "documents_creators_document_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."external_refs" DROP CONSTRAINT "external_refs_document_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."external_refs" DROP CONSTRAINT "external_refs_document_namespace_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."file_contributors" DROP CONSTRAINT "file_contributors_file_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files_licenses" DROP CONSTRAINT "files_licenses_file_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files_licenses" DROP CONSTRAINT "files_licenses_license_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files_scans" DROP CONSTRAINT "files_scans_file_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files_scans" DROP CONSTRAINT "files_scans_scanner_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "identifiers_document_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "identifiers_document_namespace_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "identifiers_package_file_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "identifiers_package_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "fk_package_packages_files" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "packages_concluded_license_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "packages_declared_license_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "packages_originator_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "packages_supplier_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_files" DROP CONSTRAINT "fk_package_files_packages" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_files" DROP CONSTRAINT "packages_files_concluded_license_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_files" DROP CONSTRAINT "packages_files_file_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_scans" DROP CONSTRAINT "packages_scans_package_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_scans" DROP CONSTRAINT "packages_scans_scanner_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."relationships" DROP CONSTRAINT "relationships_left_identifier_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."relationships" DROP CONSTRAINT "relationships_relationship_type_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."relationships" DROP CONSTRAINT "relationships_right_identifier_id_fkey" CASCADE;
-
-DROP INDEX IF EXISTS "augur_data"."repos_id" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."comment_id" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commit_parents_ibfk_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commit_parents_ibfk_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."author_affiliation" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."author_cntrb_id" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."author_email,author_affiliation,author_date" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."author_raw_email" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cmt-author-date-idx2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cmt-committer-date-idx3" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cmt_author-name-idx5" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cmt_author_contrib_worker" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cmt_cmmter-name-idx4" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cmt_commiter_contrib_worker" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commited" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commits_idx_cmt_email_cmt_date_cmt_name" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commits_idx_cmt_email_cmt_date_cmt_name2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commits_idx_cmt_name_cmt_date2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commits_idx_cmt_name_cmt_date_cmt_date3" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat3" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."committer_affiliation" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."committer_cntrb_id" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."committer_email,committer_affiliation,committer_date" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."committer_raw_email" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,commit" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cnt-fullname" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cntrb-theemail" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cntrb_login_platform_index" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."contributor_delete_finder" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."contributor_worker_email_finder" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."contributor_worker_finder" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."contributor_worker_fullname_finder" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."contributors_idx_cntrb_email3" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."login" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."login-contributor-idx" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."alias,active" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."canonical,alias" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issue-alias-cntrb-idx1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issue-alias-cntrb-idx2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."contrb-history-dix1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."login_index_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,affiliation_copy_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,email_copy_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,affiliation_copy_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,email_copy_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,affiliation_copy_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,email_copy_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,year,affiliation_copy_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,year,email_copy_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,affiliation" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,email" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,year,affiliation" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,year,email" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,affiliation_copy_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,email_copy_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,year,affiliation_copy_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,year,email_copy_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,affiliation" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,email" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,year,affiliation" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,year,email" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issue-cntrb-assign-idx-1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issue-cntrb-idx2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issue_events_ibfk_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issue_events_ibfk_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issue-cntrb-dix2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issues_ibfk_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issues_ibfk_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issues_ibfk_4" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."REPO_DEP" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."messagegrouper" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."msg-cntrb-id-idx" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."platformgrouper" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."plat" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."pr_meta_cntrb-idx" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."pr_events_ibfk_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."pr_events_ibfk_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."pr_meta-cntrbid-idx" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."pr-cntrb-idx-repo" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."pr-reviewers-cntrb-idx1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."id_node" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."forked" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repogitindexrep" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."reponameindex" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."reponameindexbtree" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."rggrouponrepoindex" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."therepo" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."rgidm" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."rgnameindex" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."lister" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."dater" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repos_id,status" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repos_id,statusops" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."type,projects_id" CASCADE;
-DROP INDEX IF EXISTS "augur_operations"."repos_id,statusops" CASCADE;
-
-ALTER TABLE IF EXISTS "augur_data"."commit_comment_ref" DROP CONSTRAINT "commitcomment" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."contributor_affiliations" DROP CONSTRAINT "unique_domain" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message" DROP CONSTRAINT "REPOGROUPLISTER" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message" DROP CONSTRAINT "platformer" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_groups_list_serve" DROP CONSTRAINT "rglistserve" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."annotation_types" DROP CONSTRAINT "uc_annotation_type_name" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."document_namespaces" DROP CONSTRAINT "uc_document_namespace_uri" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."documents" DROP CONSTRAINT "uc_document_document_namespace_id" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."external_refs" DROP CONSTRAINT "uc_external_ref_document_id_string" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files" DROP CONSTRAINT "uc_file_sha256" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files_licenses" DROP CONSTRAINT "uc_file_license" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files_scans" DROP CONSTRAINT "uc_file_scanner_id" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "uc_identifier_document_namespace_id" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "uc_identifier_namespace_document_id" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "uc_identifier_namespace_package_id" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "uc_identifier_namespace_package_file_id" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."licenses" DROP CONSTRAINT "uc_license_short_name" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "uc_package_sha256" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "uc_dir_code_ver_code" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_files" DROP CONSTRAINT "uc_package_id_file_name" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_scans" DROP CONSTRAINT "uc_package_scanner_id" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."relationship_types" DROP CONSTRAINT "uc_relationship_type_name" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."relationships" DROP CONSTRAINT "uc_left_right_relationship_type" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."scanners" DROP CONSTRAINT "uc_scanner_name" CASCADE;
-
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "ck_identifier_exactly_one" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "uc_sha256_ds2_dir_code_exactly_one" CASCADE;
-
-ALTER TABLE IF EXISTS "augur_data"."chaoss_metric_status" DROP CONSTRAINT "chaoss_metric_status_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commit_comment_ref" DROP CONSTRAINT "commit_comment_ref_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commit_parents" DROP CONSTRAINT "commit_parents_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commits" DROP CONSTRAINT "commits_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."contributor_affiliations" DROP CONSTRAINT "contributor_affiliations_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."contributors" DROP CONSTRAINT "contributors_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."contributors_aliases" DROP CONSTRAINT "contributors_aliases_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."contributors_history" DROP CONSTRAINT "contributors_history_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."exclude" DROP CONSTRAINT "exclude_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_assignees" DROP CONSTRAINT "issue_assignees_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_events" DROP CONSTRAINT "issue_events_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_labels" DROP CONSTRAINT "issue_labels_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_message_ref" DROP CONSTRAINT "issue_message_ref_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issues" DROP CONSTRAINT "issues_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."libraries" DROP CONSTRAINT "libraries_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."library_dependencies" DROP CONSTRAINT "library_dependencies_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."library_version" DROP CONSTRAINT "library_version_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."lstm_anomaly_models" DROP CONSTRAINT "lstm_anomaly_models_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."lstm_anomaly_results" DROP CONSTRAINT "lstm_anomaly_results_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message" DROP CONSTRAINT "message_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message_analysis" DROP CONSTRAINT "message_analysis_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message_analysis_summary" DROP CONSTRAINT "message_analysis_summary_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message_sentiment" DROP CONSTRAINT "message_sentiment_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message_sentiment_summary" DROP CONSTRAINT "message_sentiment_summary_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."platform" DROP CONSTRAINT "theplat" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_assignees" DROP CONSTRAINT "pull_request_assignees_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_commits" DROP CONSTRAINT "pull_request_commits_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_events" DROP CONSTRAINT "pr_events_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_files" DROP CONSTRAINT "pull_request_files_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_labels" DROP CONSTRAINT "pull_request_labels_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_message_ref" DROP CONSTRAINT "pull_request_message_ref_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_meta" DROP CONSTRAINT "pull_request_meta_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_repo" DROP CONSTRAINT "pull_request_repo_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_reviewers" DROP CONSTRAINT "pull_request_reviewers_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_teams" DROP CONSTRAINT "pull_request_teams_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_requests" DROP CONSTRAINT "pull_requests_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."releases" DROP CONSTRAINT "releases_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo" DROP CONSTRAINT "repounique" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_badging" DROP CONSTRAINT "repo_badging_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_cluster_messages" DROP CONSTRAINT "repo_cluster_messages_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_group_insights" DROP CONSTRAINT "repo_group_insights_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_groups" DROP CONSTRAINT "rgid" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_groups_list_serve" DROP CONSTRAINT "repo_groups_list_serve_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_info" DROP CONSTRAINT "repo_info_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_insights" DROP CONSTRAINT "repo_insights_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_insights_records" DROP CONSTRAINT "repo_insights_records_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_labor" DROP CONSTRAINT "repo_labor_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_meta" DROP CONSTRAINT "repo_meta_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_sbom_scans" DROP CONSTRAINT "repo_sbom_scans_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_stats" DROP CONSTRAINT "repo_stats_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_test_coverage" DROP CONSTRAINT "repo_test_coverage_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_topic" DROP CONSTRAINT "repo_topic_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."settings" DROP CONSTRAINT "settings_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."topic_words" DROP CONSTRAINT "topic_words_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."utility_log" DROP CONSTRAINT "utility_log_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_operations"."augur_settings" DROP CONSTRAINT "augur_settings_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_operations"."worker_history" DROP CONSTRAINT "history_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_operations"."worker_job" DROP CONSTRAINT "job_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_operations"."worker_oauth" DROP CONSTRAINT "worker_oauth_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_operations"."worker_settings_facade" DROP CONSTRAINT "settings_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."annotation_types" DROP CONSTRAINT "annotation_types_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."annotations" DROP CONSTRAINT "annotations_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."augur_repo_map" DROP CONSTRAINT "augur_repo_map_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."creator_types" DROP CONSTRAINT "creator_types_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."creators" DROP CONSTRAINT "creators_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."document_namespaces" DROP CONSTRAINT "document_namespaces_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."documents" DROP CONSTRAINT "documents_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."documents_creators" DROP CONSTRAINT "documents_creators_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."external_refs" DROP CONSTRAINT "external_refs_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."file_contributors" DROP CONSTRAINT "file_contributors_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."file_types" DROP CONSTRAINT "uc_file_type_name" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files" DROP CONSTRAINT "files_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files_licenses" DROP CONSTRAINT "files_licenses_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files_scans" DROP CONSTRAINT "files_scans_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "identifiers_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."licenses" DROP CONSTRAINT "licenses_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "packages_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_files" DROP CONSTRAINT "packages_files_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_scans" DROP CONSTRAINT "packages_scans_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."projects" DROP CONSTRAINT "projects_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."relationship_types" DROP CONSTRAINT "relationship_types_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."relationships" DROP CONSTRAINT "relationships_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."scanners" DROP CONSTRAINT "scanners_pkey" CASCADE;
-
-DROP TABLE IF EXISTS "augur_data"."analysis_log" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."chaoss_metric_status" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."commit_comment_ref" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."commit_parents" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."commits" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."contributor_affiliations" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."contributors" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."contributors_aliases" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."contributors_history" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."discourse_insights" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."dm_repo_annual" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."dm_repo_group_annual" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."dm_repo_group_monthly" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."dm_repo_group_weekly" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."dm_repo_monthly" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."dm_repo_weekly" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."exclude" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."issue_assignees" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."issue_events" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."issue_labels" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."issue_message_ref" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."issues" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."libraries" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."library_dependencies" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."library_version" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."lstm_anomaly_models" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."lstm_anomaly_results" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."message" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."message_analysis" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."message_analysis_summary" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."message_sentiment" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."message_sentiment_summary" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."platform" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_assignees" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_commits" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_events" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_files" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_labels" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_message_ref" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_meta" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_repo" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_reviewers" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_teams" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_requests" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."releases" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_badging" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_cluster_messages" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_group_insights" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_groups" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_groups_list_serve" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_info" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_insights" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_insights_records" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_labor" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_meta" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_sbom_scans" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_stats" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_test_coverage" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_topic" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repos_fetch_log" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."settings" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."topic_words" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."unknown_cache" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."utility_log" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."working_commits" CASCADE;
-DROP TABLE IF EXISTS "augur_operations"."all" CASCADE;
-DROP TABLE IF EXISTS "augur_operations"."augur_settings" CASCADE;
-DROP TABLE IF EXISTS "augur_operations"."repos_fetch_log" CASCADE;
-DROP TABLE IF EXISTS "augur_operations"."worker_history" CASCADE;
-DROP TABLE IF EXISTS "augur_operations"."worker_job" CASCADE;
-DROP TABLE IF EXISTS "augur_operations"."worker_oauth" CASCADE;
-DROP TABLE IF EXISTS "augur_operations"."worker_settings_facade" CASCADE;
-DROP TABLE IF EXISTS "augur_operations"."working_commits" CASCADE;
-DROP TABLE IF EXISTS "spdx"."annotation_types" CASCADE;
-DROP TABLE IF EXISTS "spdx"."annotations" CASCADE;
-DROP TABLE IF EXISTS "spdx"."augur_repo_map" CASCADE;
-DROP TABLE IF EXISTS "spdx"."creator_types" CASCADE;
-DROP TABLE IF EXISTS "spdx"."creators" CASCADE;
-DROP TABLE IF EXISTS "spdx"."document_namespaces" CASCADE;
-DROP TABLE IF EXISTS "spdx"."documents" CASCADE;
-DROP TABLE IF EXISTS "spdx"."documents_creators" CASCADE;
-DROP TABLE IF EXISTS "spdx"."external_refs" CASCADE;
-DROP TABLE IF EXISTS "spdx"."file_contributors" CASCADE;
-DROP TABLE IF EXISTS "spdx"."file_types" CASCADE;
-DROP TABLE IF EXISTS "spdx"."files" CASCADE;
-DROP TABLE IF EXISTS "spdx"."files_licenses" CASCADE;
-DROP TABLE IF EXISTS "spdx"."files_scans" CASCADE;
-DROP TABLE IF EXISTS "spdx"."identifiers" CASCADE;
-DROP TABLE IF EXISTS "spdx"."licenses" CASCADE;
-DROP TABLE IF EXISTS "spdx"."packages" CASCADE;
-DROP TABLE IF EXISTS "spdx"."packages_files" CASCADE;
-DROP TABLE IF EXISTS "spdx"."packages_scans" CASCADE;
-DROP TABLE IF EXISTS "spdx"."projects" CASCADE;
-DROP TABLE IF EXISTS "spdx"."relationship_types" CASCADE;
-DROP TABLE IF EXISTS "spdx"."relationships" CASCADE;
-DROP TABLE IF EXISTS "spdx"."sbom_scans" CASCADE;
-DROP TABLE IF EXISTS "spdx"."scanners" CASCADE;
-
-CREATE TABLE IF NOT EXISTS "augur_data"."analysis_log" (
- "repos_id" int4 NOT NULL,
- "status" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "date_attempted" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."analysis_log" OWNER TO "augur";
-CREATE INDEX "repos_id" ON "augur_data"."analysis_log" USING btree (
- "repos_id" "pg_catalog"."int4_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."chaoss_metric_status" (
- "cms_id" int8 NOT NULL DEFAULT nextval('"augur_data".chaoss_metric_status_cms_id_seq'::regclass),
- "cm_group" varchar COLLATE "pg_catalog"."default",
- "cm_source" varchar COLLATE "pg_catalog"."default",
- "cm_type" varchar COLLATE "pg_catalog"."default",
- "cm_backend_status" varchar COLLATE "pg_catalog"."default",
- "cm_frontend_status" varchar COLLATE "pg_catalog"."default",
- "cm_defined" bool,
- "cm_api_endpoint_repo" varchar COLLATE "pg_catalog"."default",
- "cm_api_endpoint_rg" varchar COLLATE "pg_catalog"."default",
- "cm_name" varchar COLLATE "pg_catalog"."default",
- "cm_working_group" varchar COLLATE "pg_catalog"."default",
- "cm_info" json,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "cm_working_group_focus_area" varchar COLLATE "pg_catalog"."default",
- CONSTRAINT "chaoss_metric_status_pkey" PRIMARY KEY ("cms_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."chaoss_metric_status" OWNER TO "augur";
-COMMENT ON TABLE "augur_data"."chaoss_metric_status" IS 'This table used to track CHAOSS Metric implementations in Augur, but due to the constantly changing location of that information, it is for the moment not actively populated. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."commit_comment_ref" (
- "cmt_comment_id" int8 NOT NULL DEFAULT nextval('"augur_data".commit_comment_ref_cmt_comment_id_seq'::regclass),
- "cmt_id" int8 NOT NULL,
- "msg_id" int8 NOT NULL,
- "user_id" int8 NOT NULL,
- "body" text COLLATE "pg_catalog"."default",
- "line" int8,
- "position" int8,
- "created_at" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "cmt_comment_src_id" int8 NOT NULL,
- "commit_comment_src_node_id" varchar COLLATE "pg_catalog"."default",
- CONSTRAINT "commit_comment_ref_pkey" PRIMARY KEY ("cmt_comment_id"),
- CONSTRAINT "commitcomment" UNIQUE ("cmt_id", "msg_id", "cmt_comment_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."commit_comment_ref" OWNER TO "augur";
-CREATE INDEX "comment_id" ON "augur_data"."commit_comment_ref" USING btree (
- "cmt_comment_src_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "cmt_comment_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "msg_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."commit_comment_ref"."cmt_comment_src_id" IS 'For data provenance, we store the source ID if it exists. ';
-COMMENT ON COLUMN "augur_data"."commit_comment_ref"."commit_comment_src_node_id" IS 'For data provenance, we store the source node ID if it exists. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."commit_parents" (
- "cmt_id" int8 NOT NULL,
- "parent_id" int8 NOT NULL DEFAULT nextval('"augur_data".commit_parents_parent_id_seq'::regclass),
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "commit_parents_pkey" PRIMARY KEY ("cmt_id", "parent_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."commit_parents" OWNER TO "augur";
-CREATE INDEX "commit_parents_ibfk_1" ON "augur_data"."commit_parents" USING btree (
- "cmt_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "commit_parents_ibfk_2" ON "augur_data"."commit_parents" USING btree (
- "parent_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."commits" (
- "cmt_id" int8 NOT NULL DEFAULT nextval('"augur_data".commits_cmt_id_seq'::regclass),
- "repo_id" int8 NOT NULL,
- "cmt_commit_hash" varchar(80) COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_author_name" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_author_raw_email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_author_email" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_author_date" varchar(10) COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_author_affiliation" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "cmt_committer_name" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_committer_raw_email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_committer_email" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_committer_date" varchar(10) COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_committer_affiliation" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "cmt_added" int4 NOT NULL,
- "cmt_removed" int4 NOT NULL,
- "cmt_whitespace" int4 NOT NULL,
- "cmt_filename" varchar(4096) COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_date_attempted" timestamp(0) NOT NULL,
- "cmt_ght_author_id" int4,
- "cmt_ght_committer_id" int4,
- "cmt_ght_committed_at" timestamp(0),
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "cmt_author_timestamp" timestamptz(0),
- "cmt_committer_timestamp" timestamptz(0),
- CONSTRAINT "commits_pkey" PRIMARY KEY ("cmt_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."commits" OWNER TO "augur";
-CREATE INDEX CONCURRENTLY "author_affiliation" ON "augur_data"."commits" USING hash (
- "cmt_author_affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops"
-);
-CREATE INDEX CONCURRENTLY "author_cntrb_id" ON "augur_data"."commits" USING btree (
- "cmt_ght_author_id" "pg_catalog"."int4_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "author_email,author_affiliation,author_date" ON "augur_data"."commits" USING btree (
- "cmt_author_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "author_raw_email" ON "augur_data"."commits" USING btree (
- "cmt_author_raw_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "cmt-author-date-idx2" ON "augur_data"."commits" USING btree (
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "cmt-committer-date-idx3" ON "augur_data"."commits" USING btree (
- "cmt_committer_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "cmt_author-name-idx5" ON "augur_data"."commits" USING btree (
- "cmt_committer_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "cmt_author_contrib_worker" ON "augur_data"."commits" USING brin (
- "cmt_author_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops",
- "cmt_author_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops",
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops"
-);
-CREATE INDEX CONCURRENTLY "cmt_cmmter-name-idx4" ON "augur_data"."commits" USING btree (
- "cmt_author_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "cmt_commiter_contrib_worker" ON "augur_data"."commits" USING brin (
- "cmt_committer_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops",
- "cmt_committer_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops",
- "cmt_committer_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops"
-);
-CREATE INDEX CONCURRENTLY "commited" ON "augur_data"."commits" USING btree (
- "cmt_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "commits_idx_cmt_email_cmt_date_cmt_name" ON "augur_data"."commits" USING btree (
- "cmt_author_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "commits_idx_cmt_email_cmt_date_cmt_name2" ON "augur_data"."commits" USING btree (
- "cmt_committer_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_committer_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_committer_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "commits_idx_cmt_name_cmt_date2" ON "augur_data"."commits" USING btree (
- "cmt_author_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "commits_idx_cmt_name_cmt_date_cmt_date3" ON "augur_data"."commits" USING btree (
- "cmt_committer_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_committer_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam" ON "augur_data"."commits" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "cmt_author_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam2" ON "augur_data"."commits" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "cmt_committer_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_committer_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_committer_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat2" ON "augur_data"."commits" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "cmt_author_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat3" ON "augur_data"."commits" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "cmt_committer_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_committer_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "committer_affiliation" ON "augur_data"."commits" USING btree (
- "cmt_committer_affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "committer_cntrb_id" ON "augur_data"."commits" USING btree (
- "cmt_ght_committer_id" "pg_catalog"."int4_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "committer_email,committer_affiliation,committer_date" ON "augur_data"."commits" USING btree (
- "cmt_committer_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_committer_affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_committer_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "committer_raw_email" ON "augur_data"."commits" USING btree (
- "cmt_committer_raw_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "repo_id,commit" ON "augur_data"."commits" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "cmt_commit_hash" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-COMMENT ON TABLE "augur_data"."commits" IS 'Starts with augur.analysis_data table and incorporates GHTorrent commit table attributes if different.
-Cmt_id is from get
-The author and committer ID’s are at the bottom of the table and not required for now because we want to focus on the facade schema’s properties over the ghtorrent properties when they are in conflict. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."contributor_affiliations" (
- "ca_id" int8 NOT NULL DEFAULT nextval('"augur_data".contributor_affiliations_ca_id_seq'::regclass),
- "ca_domain" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
- "ca_start_date" date DEFAULT '1970-01-01'::date,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "ca_last_used" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- "ca_affiliation" varchar COLLATE "pg_catalog"."default",
- "ca_active" int2 DEFAULT 1,
- CONSTRAINT "contributor_affiliations_pkey" PRIMARY KEY ("ca_id"),
- CONSTRAINT "unique_domain" UNIQUE ("ca_domain")
-);
-ALTER TABLE IF EXISTS "augur_data"."contributor_affiliations" OWNER TO "augur";
-COMMENT ON CONSTRAINT "unique_domain" ON "augur_data"."contributor_affiliations" IS 'Only one row should exist for any given top level domain or subdomain. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."contributors" (
- "cntrb_id" int8 NOT NULL DEFAULT nextval('"augur_data".contributors_cntrb_id_seq'::regclass),
- "cntrb_login" varchar(255) COLLATE "pg_catalog"."default",
- "cntrb_email" varchar COLLATE "pg_catalog"."default",
- "cntrb_company" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "cntrb_created_at" timestamp(0),
- "cntrb_type" varchar(255) COLLATE "pg_catalog"."default",
- "cntrb_fake" int2 DEFAULT 0,
- "cntrb_deleted" int2 DEFAULT 0,
- "cntrb_long" numeric(11,8) DEFAULT NULL::numeric,
- "cntrb_lat" numeric(10,8) DEFAULT NULL::numeric,
- "cntrb_country_code" char(3) COLLATE "pg_catalog"."default" DEFAULT NULL::bpchar,
- "cntrb_state" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "cntrb_city" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "cntrb_location" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "cntrb_canonical" varchar COLLATE "pg_catalog"."default",
- "gh_user_id" int8,
- "gh_login" varchar(255) COLLATE "pg_catalog"."default",
- "gh_url" varchar(255) COLLATE "pg_catalog"."default",
- "gh_html_url" varchar(255) COLLATE "pg_catalog"."default",
- "gh_node_id" varchar(255) COLLATE "pg_catalog"."default",
- "gh_avatar_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_gravatar_id" varchar(255) COLLATE "pg_catalog"."default",
- "gh_followers_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_following_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_gists_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_starred_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_subscriptions_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_organizations_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_repos_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_events_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_received_events_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_type" varchar(255) COLLATE "pg_catalog"."default",
- "gh_site_admin" varchar(255) COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "cntrb_full_name" varchar COLLATE "pg_catalog"."default",
- "cntrb_last_used" timestamptz(0) DEFAULT NULL::timestamp with time zone,
- CONSTRAINT "contributors_pkey" PRIMARY KEY ("cntrb_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."contributors" OWNER TO "augur";
-CREATE INDEX "cnt-fullname" ON "augur_data"."contributors" USING hash (
- "cntrb_full_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops"
-);
-CREATE INDEX "cntrb-theemail" ON "augur_data"."contributors" USING hash (
- "cntrb_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops"
-);
-CREATE INDEX "cntrb_login_platform_index" ON "augur_data"."contributors" USING btree (
- "cntrb_login" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "contributor_delete_finder" ON "augur_data"."contributors" USING brin (
- "cntrb_id" "pg_catalog"."int8_minmax_ops",
- "cntrb_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops"
-);
-CREATE INDEX "contributor_worker_email_finder" ON "augur_data"."contributors" USING brin (
- "cntrb_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops"
-);
-CREATE INDEX "contributor_worker_finder" ON "augur_data"."contributors" USING brin (
- "cntrb_login" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops",
- "cntrb_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops",
- "cntrb_id" "pg_catalog"."int8_minmax_ops"
-);
-CREATE INDEX "contributor_worker_fullname_finder" ON "augur_data"."contributors" USING brin (
- "cntrb_full_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops"
-);
-CREATE INDEX "contributors_idx_cntrb_email3" ON "augur_data"."contributors" USING btree (
- "cntrb_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "login" ON "augur_data"."contributors" USING btree (
- "cntrb_login" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "login-contributor-idx" ON "augur_data"."contributors" USING btree (
- "cntrb_login" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."contributors"."cntrb_login" IS 'Will be a double population with the same value as gh_login for github, but the local value for other systems. ';
-COMMENT ON COLUMN "augur_data"."contributors"."cntrb_email" IS 'This needs to be here for matching contributor ids, which are augur, to the commit information. ';
-COMMENT ON COLUMN "augur_data"."contributors"."cntrb_type" IS 'Present in another models. It is not currently used in Augur. ';
-COMMENT ON COLUMN "augur_data"."contributors"."gh_login" IS 'populated with the github user name for github originated data. ';
-COMMENT ON TABLE "augur_data"."contributors" IS 'For GitHub, this should be repeated from gh_login. for other systems, it should be that systems login. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."contributors_aliases" (
- "cntrb_id" int8 NOT NULL,
- "cntrb_a_id" int8 NOT NULL DEFAULT nextval('"augur_data".contributors_aliases_cntrb_a_id_seq'::regclass),
- "canonical_email" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "alias_email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "cntrb_active" int2 NOT NULL DEFAULT 1,
- "cntrb_last_modified" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "contributors_aliases_pkey" PRIMARY KEY ("cntrb_id", "cntrb_a_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."contributors_aliases" OWNER TO "augur";
-CREATE INDEX "alias,active" ON "augur_data"."contributors_aliases" USING btree (
- "alias_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cntrb_active" "pg_catalog"."int2_ops" ASC NULLS LAST
-);
-CREATE UNIQUE INDEX "canonical,alias" ON "augur_data"."contributors_aliases" USING btree (
- "canonical_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "alias_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "issue-alias-cntrb-idx1" ON "augur_data"."contributors_aliases" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "issue-alias-cntrb-idx2" ON "augur_data"."contributors_aliases" USING btree (
- "cntrb_a_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON TABLE "augur_data"."contributors_aliases" IS 'An alias will need to be created for every contributor in this model, otherwise we will have to look in 2 places. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."contributors_history" (
- "cntrb_history_id" int8 NOT NULL DEFAULT nextval('"augur_data".contributors_history_cntrb_history_id_seq'::regclass),
- "cntrb_id" int8 NOT NULL,
- "cntrb_history_timestamp" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- "cntrb_history_current_bool" bool,
- "cntrb_organizations_list" json,
- "cntrb_gists_count" int8,
- "cntrb_starred_count" int8,
- "cntrb_following_count" int8,
- "cntrb_follower_count" int8,
- "cntrb_login" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "cntrb_email" varchar(255) COLLATE "pg_catalog"."default",
- "cntrb_company" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "cntrb_created_at" timestamp(0) NOT NULL,
- "cntrb_type" varchar(255) COLLATE "pg_catalog"."default",
- "cntrb_fake" int2 NOT NULL DEFAULT 0,
- "cntrb_deleted" int2 NOT NULL DEFAULT 0,
- "cntrb_long" numeric(11,8) DEFAULT NULL::numeric,
- "cntrb_lat" numeric(10,8) DEFAULT NULL::numeric,
- "cntrb_country_code" char(3) COLLATE "pg_catalog"."default" DEFAULT NULL::bpchar,
- "cntrb_state" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "cntrb_city" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "cntrb_location" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "cntrb_canonical" varchar(128) COLLATE "pg_catalog"."default",
- "gh_user_id" int8,
- "gh_login" varchar(255) COLLATE "pg_catalog"."default",
- "gh_url" varchar(255) COLLATE "pg_catalog"."default",
- "gh_html_url" varchar(255) COLLATE "pg_catalog"."default",
- "gh_node_id" varchar(255) COLLATE "pg_catalog"."default",
- "gh_avatar_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_gravatar_id" varchar(255) COLLATE "pg_catalog"."default",
- "gh_followers_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_following_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_gists_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_starred_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_subscriptions_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_organizations_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_repos_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_events_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_received_events_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_type" varchar(255) COLLATE "pg_catalog"."default",
- "gh_site_admin" varchar(255) COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "contributors_history_pkey" PRIMARY KEY ("cntrb_history_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."contributors_history" OWNER TO "augur";
-CREATE INDEX "contrb-history-dix1" ON "augur_data"."contributors_history" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "login_index_2" ON "augur_data"."contributors_history" USING btree (
- "cntrb_login" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."contributors_history"."cntrb_history_current_bool" IS 'At some point it would be great to have a boolean updated by a contributor worker that set the most recent contributor data to true. ';
-COMMENT ON COLUMN "augur_data"."contributors_history"."cntrb_login" IS 'Will be a double population with the same value as gh_login for github, but the local value for other systems. ';
-COMMENT ON COLUMN "augur_data"."contributors_history"."cntrb_email" IS 'This needs to be here for matching contributor ids, which are augur, to the commit information. ';
-COMMENT ON COLUMN "augur_data"."contributors_history"."cntrb_type" IS 'Present in another models. It is not currently used in Augur. ';
-COMMENT ON COLUMN "augur_data"."contributors_history"."gh_login" IS 'populated with the github user name for github originated data. ';
-COMMENT ON TABLE "augur_data"."contributors_history" IS 'For GitHub, this should be repeated from gh_login. for other systems, it should be that systems login.
-
-At this time the table is not populated. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."discourse_insights" (
- "msg_discourse_id" serial8,
- "msg_id" int8,
- "discourse_act" varchar,
- "tool_source" varchar,
- "tool_version" varchar,
- "data_source" varchar,
- "data_collection_date" timestamptz DEFAULT CURRENT_TIMESTAMP,
- PRIMARY KEY ("msg_discourse_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."discourse_insights" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."dm_repo_annual" (
- "repo_id" int8 NOT NULL,
- "email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "affiliation" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "year" int2 NOT NULL,
- "added" int8 NOT NULL,
- "removed" int8 NOT NULL,
- "whitespace" int8 NOT NULL,
- "files" int8 NOT NULL,
- "patches" int8 NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."dm_repo_annual" OWNER TO "augur";
-CREATE INDEX "repo_id,affiliation_copy_1" ON "augur_data"."dm_repo_annual" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repo_id,email_copy_1" ON "augur_data"."dm_repo_annual" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."dm_repo_group_annual" (
- "repo_group_id" int8 NOT NULL,
- "email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "affiliation" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "year" int2 NOT NULL,
- "added" int8 NOT NULL,
- "removed" int8 NOT NULL,
- "whitespace" int8 NOT NULL,
- "files" int8 NOT NULL,
- "patches" int8 NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."dm_repo_group_annual" OWNER TO "augur";
-CREATE INDEX "projects_id,affiliation_copy_1" ON "augur_data"."dm_repo_group_annual" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "projects_id,email_copy_1" ON "augur_data"."dm_repo_group_annual" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."dm_repo_group_monthly" (
- "repo_group_id" int8 NOT NULL,
- "email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "affiliation" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "month" int2 NOT NULL,
- "year" int2 NOT NULL,
- "added" int8 NOT NULL,
- "removed" int8 NOT NULL,
- "whitespace" int8 NOT NULL,
- "files" int8 NOT NULL,
- "patches" int8 NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."dm_repo_group_monthly" OWNER TO "augur";
-CREATE INDEX "projects_id,affiliation_copy_2" ON "augur_data"."dm_repo_group_monthly" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "projects_id,email_copy_2" ON "augur_data"."dm_repo_group_monthly" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "projects_id,year,affiliation_copy_1" ON "augur_data"."dm_repo_group_monthly" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "year" "pg_catalog"."int2_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "projects_id,year,email_copy_1" ON "augur_data"."dm_repo_group_monthly" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "year" "pg_catalog"."int2_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."dm_repo_group_weekly" (
- "repo_group_id" int8 NOT NULL,
- "email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "affiliation" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "week" int2 NOT NULL,
- "year" int2 NOT NULL,
- "added" int8 NOT NULL,
- "removed" int8 NOT NULL,
- "whitespace" int8 NOT NULL,
- "files" int8 NOT NULL,
- "patches" int8 NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."dm_repo_group_weekly" OWNER TO "augur";
-CREATE INDEX "projects_id,affiliation" ON "augur_data"."dm_repo_group_weekly" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "projects_id,email" ON "augur_data"."dm_repo_group_weekly" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "projects_id,year,affiliation" ON "augur_data"."dm_repo_group_weekly" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "year" "pg_catalog"."int2_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "projects_id,year,email" ON "augur_data"."dm_repo_group_weekly" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "year" "pg_catalog"."int2_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."dm_repo_monthly" (
- "repo_id" int8 NOT NULL,
- "email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "affiliation" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "month" int2 NOT NULL,
- "year" int2 NOT NULL,
- "added" int8 NOT NULL,
- "removed" int8 NOT NULL,
- "whitespace" int8 NOT NULL,
- "files" int8 NOT NULL,
- "patches" int8 NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."dm_repo_monthly" OWNER TO "augur";
-CREATE INDEX "repo_id,affiliation_copy_2" ON "augur_data"."dm_repo_monthly" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repo_id,email_copy_2" ON "augur_data"."dm_repo_monthly" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repo_id,year,affiliation_copy_1" ON "augur_data"."dm_repo_monthly" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "year" "pg_catalog"."int2_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repo_id,year,email_copy_1" ON "augur_data"."dm_repo_monthly" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "year" "pg_catalog"."int2_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."dm_repo_weekly" (
- "repo_id" int8 NOT NULL,
- "email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "affiliation" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "week" int2 NOT NULL,
- "year" int2 NOT NULL,
- "added" int8 NOT NULL,
- "removed" int8 NOT NULL,
- "whitespace" int8 NOT NULL,
- "files" int8 NOT NULL,
- "patches" int8 NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."dm_repo_weekly" OWNER TO "augur";
-CREATE INDEX "repo_id,affiliation" ON "augur_data"."dm_repo_weekly" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repo_id,email" ON "augur_data"."dm_repo_weekly" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repo_id,year,affiliation" ON "augur_data"."dm_repo_weekly" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "year" "pg_catalog"."int2_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repo_id,year,email" ON "augur_data"."dm_repo_weekly" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "year" "pg_catalog"."int2_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."exclude" (
- "id" int4 NOT NULL,
- "projects_id" int4 NOT NULL,
- "email" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "domain" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- CONSTRAINT "exclude_pkey" PRIMARY KEY ("id")
-);
-ALTER TABLE IF EXISTS "augur_data"."exclude" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."issue_assignees" (
- "issue_assignee_id" int8 NOT NULL DEFAULT nextval('"augur_data".issue_assignees_issue_assignee_id_seq'::regclass),
- "issue_id" int8,
- "cntrb_id" int8,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "issue_assignee_src_id" int8,
- "issue_assignee_src_node" varchar COLLATE "pg_catalog"."default",
- CONSTRAINT "issue_assignees_pkey" PRIMARY KEY ("issue_assignee_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."issue_assignees" OWNER TO "augur";
-CREATE INDEX "issue-cntrb-assign-idx-1" ON "augur_data"."issue_assignees" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."issue_assignees"."issue_assignee_src_id" IS 'This ID comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue events API in the issue_assignees embedded JSON object. We may discover it is an ID for the person themselves; but my hypothesis is that its not.';
-COMMENT ON COLUMN "augur_data"."issue_assignees"."issue_assignee_src_node" IS 'This character based identifier comes from the source. In the case of GitHub, it is the id that is the second field returned from the issue events API in the issue_assignees embedded JSON object. We may discover it is an ID for the person themselves; but my hypothesis is that its not.';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."issue_events" (
- "event_id" int8 NOT NULL DEFAULT nextval('"augur_data".issue_events_event_id_seq'::regclass),
- "issue_id" int8 NOT NULL,
- "cntrb_id" int8 NOT NULL,
- "action" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "action_commit_hash" varchar COLLATE "pg_catalog"."default",
- "created_at" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- "node_id" varchar COLLATE "pg_catalog"."default",
- "node_url" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "issue_event_src_id" int8,
- CONSTRAINT "issue_events_pkey" PRIMARY KEY ("event_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."issue_events" OWNER TO "augur";
-CREATE INDEX "issue-cntrb-idx2" ON "augur_data"."issue_events" USING btree (
- "issue_event_src_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "issue_events_ibfk_1" ON "augur_data"."issue_events" USING btree (
- "issue_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "issue_events_ibfk_2" ON "augur_data"."issue_events" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."issue_events"."node_id" IS 'This should be renamed to issue_event_src_node_id, as its the varchar identifier in GitHub and likely common in other sources as well. However, since it was created before we came to this naming standard and workers are built around it, we have it simply named as node_id. Anywhere you see node_id in the schema, it comes from GitHubs terminology.';
-COMMENT ON COLUMN "augur_data"."issue_events"."issue_event_src_id" IS 'This ID comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue events API';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."issue_labels" (
- "issue_label_id" int8 NOT NULL DEFAULT nextval('"augur_data".issue_labels_issue_label_id_seq'::regclass),
- "issue_id" int8,
- "label_text" varchar COLLATE "pg_catalog"."default",
- "label_description" varchar COLLATE "pg_catalog"."default",
- "label_color" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "label_src_id" int8,
- "label_src_node_id" varchar COLLATE "pg_catalog"."default",
- CONSTRAINT "issue_labels_pkey" PRIMARY KEY ("issue_label_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."issue_labels" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."issue_labels"."label_src_id" IS 'This character based identifier (node) comes from the source. In the case of GitHub, it is the id that is the second field returned from the issue events API JSON subsection for issues.';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."issue_message_ref" (
- "issue_msg_ref_id" int8 NOT NULL DEFAULT nextval('"augur_data".issue_message_ref_issue_msg_ref_id_seq'::regclass),
- "issue_id" int8,
- "msg_id" int8,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "issue_msg_ref_src_comment_id" int8,
- "issue_msg_ref_src_node_id" varchar COLLATE "pg_catalog"."default",
- CONSTRAINT "issue_message_ref_pkey" PRIMARY KEY ("issue_msg_ref_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."issue_message_ref" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."issue_message_ref"."issue_msg_ref_src_comment_id" IS 'This ID comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue comments API';
-COMMENT ON COLUMN "augur_data"."issue_message_ref"."issue_msg_ref_src_node_id" IS 'This character based identifier comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue comments API';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."issues" (
- "issue_id" int8 NOT NULL DEFAULT nextval('"augur_data".issue_seq'::regclass),
- "repo_id" int8,
- "reporter_id" int8,
- "pull_request" int8,
- "pull_request_id" int8,
- "created_at" timestamp(0),
- "issue_title" varchar(500) COLLATE "pg_catalog"."default",
- "issue_body" text COLLATE "pg_catalog"."default",
- "cntrb_id" int8,
- "comment_count" int8,
- "updated_at" timestamp(0),
- "closed_at" timestamp(0),
- "due_on" timestamp(0),
- "repository_url" varchar(4000) COLLATE "pg_catalog"."default",
- "issue_url" varchar(4000) COLLATE "pg_catalog"."default",
- "labels_url" varchar(4000) COLLATE "pg_catalog"."default",
- "comments_url" varchar(4000) COLLATE "pg_catalog"."default",
- "events_url" varchar(4000) COLLATE "pg_catalog"."default",
- "html_url" varchar(4000) COLLATE "pg_catalog"."default",
- "issue_state" varchar(255) COLLATE "pg_catalog"."default",
- "issue_node_id" varchar COLLATE "pg_catalog"."default",
- "gh_issue_id" int8,
- "gh_user_id" int8,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "gh_issue_number" int8,
- CONSTRAINT "issues_pkey" PRIMARY KEY ("issue_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."issues" OWNER TO "augur";
-CREATE INDEX "issue-cntrb-dix2" ON "augur_data"."issues" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "issues_ibfk_1" ON "augur_data"."issues" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "issues_ibfk_2" ON "augur_data"."issues" USING btree (
- "reporter_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "issues_ibfk_4" ON "augur_data"."issues" USING btree (
- "pull_request_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."issues"."reporter_id" IS 'The ID of the person who opened the issue. ';
-COMMENT ON COLUMN "augur_data"."issues"."cntrb_id" IS 'The ID of the person who closed the issue. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."libraries" (
- "library_id" int8 NOT NULL DEFAULT nextval('"augur_data".libraries_library_id_seq'::regclass),
- "repo_id" int8,
- "platform" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "name" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "created_timestamp" timestamp(0) DEFAULT NULL::timestamp without time zone,
- "updated_timestamp" timestamp(0) DEFAULT NULL::timestamp without time zone,
- "library_description" varchar(2000) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "keywords" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "library_homepage" varchar(1000) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "license" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "version_count" int4,
- "latest_release_timestamp" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "latest_release_number" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "package_manager_id" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "dependency_count" int4,
- "dependent_library_count" int4,
- "primary_language" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "libraries_pkey" PRIMARY KEY ("library_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."libraries" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."library_dependencies" (
- "lib_dependency_id" int8 NOT NULL DEFAULT nextval('"augur_data".library_dependencies_lib_dependency_id_seq'::regclass),
- "library_id" int8,
- "manifest_platform" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "manifest_filepath" varchar(1000) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "manifest_kind" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "repo_id_branch" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "library_dependencies_pkey" PRIMARY KEY ("lib_dependency_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."library_dependencies" OWNER TO "augur";
-CREATE INDEX "REPO_DEP" ON "augur_data"."library_dependencies" USING btree (
- "library_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."library_version" (
- "library_version_id" int8 NOT NULL DEFAULT nextval('"augur_data".library_version_library_version_id_seq'::regclass),
- "library_id" int8,
- "library_platform" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "version_number" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "version_release_date" timestamp(0) DEFAULT NULL::timestamp without time zone,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "library_version_pkey" PRIMARY KEY ("library_version_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."library_version" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."lstm_anomaly_models" (
- "model_id" int8 NOT NULL DEFAULT nextval('"augur_data".lstm_anomaly_models_model_id_seq'::regclass),
- "model_name" varchar COLLATE "pg_catalog"."default",
- "model_description" varchar COLLATE "pg_catalog"."default",
- "look_back_days" int8,
- "training_days" int8,
- "batch_size" int8,
- "metric" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(6) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "lstm_anomaly_models_pkey" PRIMARY KEY ("model_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."lstm_anomaly_models" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."lstm_anomaly_results" (
- "result_id" int8 NOT NULL DEFAULT nextval('"augur_data".lstm_anomaly_results_result_id_seq'::regclass),
- "repo_id" int8,
- "repo_category" varchar COLLATE "pg_catalog"."default",
- "model_id" int8,
- "metric" varchar COLLATE "pg_catalog"."default",
- "contamination_factor" float8,
- "mean_absolute_error" float8,
- "remarks" varchar COLLATE "pg_catalog"."default",
- "metric_field" varchar COLLATE "pg_catalog"."default",
- "mean_absolute_actual_value" float8,
- "mean_absolute_prediction_value" float8,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(6) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "lstm_anomaly_results_pkey" PRIMARY KEY ("result_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."lstm_anomaly_results" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."lstm_anomaly_results"."metric_field" IS 'This is a listing of all of the endpoint fields included in the generation of the metric. Sometimes there is one, sometimes there is more than one. This will list them all. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."message" (
- "msg_id" int8 NOT NULL DEFAULT nextval('"augur_data".message_msg_id_seq'::regclass),
- "rgls_id" int8,
- "msg_text" text COLLATE "pg_catalog"."default",
- "msg_timestamp" timestamp(0),
- "msg_sender_email" varchar(255) COLLATE "pg_catalog"."default",
- "msg_header" varchar(4000) COLLATE "pg_catalog"."default",
- "pltfrm_id" int8 NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- "cntrb_id" int8,
- CONSTRAINT "message_pkey" PRIMARY KEY ("msg_id"),
- CONSTRAINT "REPOGROUPLISTER" UNIQUE ("msg_id", "rgls_id"),
- CONSTRAINT "platformer" UNIQUE ("msg_id", "pltfrm_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."message" OWNER TO "augur";
-CREATE UNIQUE INDEX "messagegrouper" ON "augur_data"."message" USING btree (
- "msg_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "rgls_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "msg-cntrb-id-idx" ON "augur_data"."message" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "platformgrouper" ON "augur_data"."message" USING btree (
- "msg_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "pltfrm_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."message"."cntrb_id" IS 'Not populated for mailing lists. Populated for GitHub issues. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."message_analysis" (
- "msg_analysis_id" int8 NOT NULL DEFAULT nextval('"augur_data".message_analysis_msg_analysis_id_seq'::regclass),
- "msg_id" int8,
- "worker_run_id" int8,
- "sentiment_score" float8,
- "reconstruction_error" float8,
- "novelty_flag" bool,
- "feedback_flag" bool,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "message_analysis_pkey" PRIMARY KEY ("msg_analysis_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."message_analysis" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."message_analysis"."worker_run_id" IS 'This column is used to indicate analyses run by a worker during the same execution period, and is useful for grouping, and time series analysis. ';
-COMMENT ON COLUMN "augur_data"."message_analysis"."sentiment_score" IS 'A sentiment analysis score. Zero is neutral, negative numbers are negative sentiment, and positive numbers are positive sentiment. ';
-COMMENT ON COLUMN "augur_data"."message_analysis"."reconstruction_error" IS 'Each message is converted to a 250 dimensin doc2vec vector, so the reconstruction error is the difference between what the predicted vector and the actual vector.';
-COMMENT ON COLUMN "augur_data"."message_analysis"."novelty_flag" IS 'This is an analysis of the degree to which the message is novel when compared to other messages in a repository. For example when bots are producing numerous identical messages, the novelty score is low. It would also be a low novelty score when several people are making the same coment. ';
-COMMENT ON COLUMN "augur_data"."message_analysis"."feedback_flag" IS 'This exists to provide the user with an opportunity provide feedback on the resulting the sentiment scores. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."message_analysis_summary" (
- "msg_summary_id" int8 NOT NULL DEFAULT nextval('"augur_data".message_analysis_summary_msg_summary_id_seq'::regclass),
- "repo_id" int8,
- "worker_run_id" int8,
- "positive_ratio" float8,
- "negative_ratio" float8,
- "novel_count" int8,
- "period" timestamp(0),
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "message_analysis_summary_pkey" PRIMARY KEY ("msg_summary_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."message_analysis_summary" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."message_analysis_summary"."worker_run_id" IS 'This value should reflect the worker_run_id for the messages summarized in the table. There is not a relation between these two tables for that purpose because its not *really*, relationaly a concept unless we create a third table for "worker_run_id", which we determined was unnecessarily complex. ';
-COMMENT ON COLUMN "augur_data"."message_analysis_summary"."novel_count" IS 'The number of messages identified as novel during the analyzed period';
-COMMENT ON COLUMN "augur_data"."message_analysis_summary"."period" IS 'The whole timeline is divided into periods based on the definition of time period for analysis, which is user specified. Timestamp of the first period to look at, until the end of messages at the data of execution. ';
-COMMENT ON TABLE "augur_data"."message_analysis_summary" IS 'In a relationally perfect world, we would have a table called “message_analysis_run” the incremented the “worker_run_id” for both message_analysis and message_analysis_summary. For now, we decided this was overkill. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."message_sentiment" (
- "msg_analysis_id" int8 NOT NULL DEFAULT nextval('"augur_data".message_sentiment_msg_analysis_id_seq'::regclass),
- "msg_id" int8,
- "worker_run_id" int8,
- "sentiment_score" float8,
- "reconstruction_error" float8,
- "novelty_flag" bool,
- "feedback_flag" bool,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "message_sentiment_pkey" PRIMARY KEY ("msg_analysis_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."message_sentiment" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."message_sentiment"."worker_run_id" IS 'This column is used to indicate analyses run by a worker during the same execution period, and is useful for grouping, and time series analysis. ';
-COMMENT ON COLUMN "augur_data"."message_sentiment"."sentiment_score" IS 'A sentiment analysis score. Zero is neutral, negative numbers are negative sentiment, and positive numbers are positive sentiment. ';
-COMMENT ON COLUMN "augur_data"."message_sentiment"."reconstruction_error" IS 'Each message is converted to a 250 dimensin doc2vec vector, so the reconstruction error is the difference between what the predicted vector and the actual vector.';
-COMMENT ON COLUMN "augur_data"."message_sentiment"."novelty_flag" IS 'This is an analysis of the degree to which the message is novel when compared to other messages in a repository. For example when bots are producing numerous identical messages, the novelty score is low. It would also be a low novelty score when several people are making the same coment. ';
-COMMENT ON COLUMN "augur_data"."message_sentiment"."feedback_flag" IS 'This exists to provide the user with an opportunity provide feedback on the resulting the sentiment scores. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."message_sentiment_summary" (
- "msg_summary_id" int8 NOT NULL DEFAULT nextval('"augur_data".message_sentiment_summary_msg_summary_id_seq'::regclass),
- "repo_id" int8,
- "worker_run_id" int8,
- "positive_ratio" float8,
- "negative_ratio" float8,
- "novel_count" int8,
- "period" timestamp(0),
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "message_sentiment_summary_pkey" PRIMARY KEY ("msg_summary_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."message_sentiment_summary" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."message_sentiment_summary"."worker_run_id" IS 'This value should reflect the worker_run_id for the messages summarized in the table. There is not a relation between these two tables for that purpose because its not *really*, relationaly a concept unless we create a third table for "worker_run_id", which we determined was unnecessarily complex. ';
-COMMENT ON COLUMN "augur_data"."message_sentiment_summary"."novel_count" IS 'The number of messages identified as novel during the analyzed period';
-COMMENT ON COLUMN "augur_data"."message_sentiment_summary"."period" IS 'The whole timeline is divided into periods based on the definition of time period for analysis, which is user specified. Timestamp of the first period to look at, until the end of messages at the data of execution. ';
-COMMENT ON TABLE "augur_data"."message_sentiment_summary" IS 'In a relationally perfect world, we would have a table called “message_sentiment_run” the incremented the “worker_run_id” for both message_sentiment and message_sentiment_summary. For now, we decided this was overkill. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."platform" (
- "pltfrm_id" int8 NOT NULL DEFAULT nextval('"augur_data".platform_pltfrm_id_seq'::regclass),
- "pltfrm_name" varchar(255) COLLATE "pg_catalog"."default",
- "pltfrm_version" varchar(255) COLLATE "pg_catalog"."default",
- "pltfrm_release_date" date,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "theplat" PRIMARY KEY ("pltfrm_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."platform" OWNER TO "augur";
-CREATE UNIQUE INDEX "plat" ON "augur_data"."platform" USING btree (
- "pltfrm_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_assignees" (
- "pr_assignee_map_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_assignees_pr_assignee_map_id_seq'::regclass),
- "pull_request_id" int8,
- "contrib_id" int8,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_assignees_pkey" PRIMARY KEY ("pr_assignee_map_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_assignees" OWNER TO "augur";
-CREATE INDEX "pr_meta_cntrb-idx" ON "augur_data"."pull_request_assignees" USING btree (
- "contrib_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_commits" (
- "pr_cmt_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_commits_pr_cmt_id_seq'::regclass),
- "pull_request_id" int8,
- "pr_cmt_sha" varchar COLLATE "pg_catalog"."default",
- "pr_cmt_node_id" varchar COLLATE "pg_catalog"."default",
- "pr_cmt_message" varchar COLLATE "pg_catalog"."default",
- "pr_cmt_comments_url" varbit,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_commits_pkey" PRIMARY KEY ("pr_cmt_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_commits" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."pull_request_commits"."pr_cmt_sha" IS 'This is the commit SHA for a pull request commit. If the PR is not to the master branch of the main repository (or, in rare cases, from it), then you will NOT find a corresponding commit SHA in the commit table. (see table comment for further explanation). ';
-COMMENT ON TABLE "augur_data"."pull_request_commits" IS 'Pull request commits are an enumeration of each commit associated with a pull request.
-Not all pull requests are from a branch or fork into master.
-The commits table intends to count only commits that end up in the master branch (i.e., part of the deployed code base for a project).
-Therefore, there will be commit “SHA”’s in this table that are no associated with a commit SHA in the commits table.
-In cases where the PR is to the master branch of a project, you will find a match. In cases where the PR does not involve the master branch, you will not find a corresponding commit SHA in the commits table. This is expected. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_events" (
- "pr_event_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_events_pr_event_id_seq'::regclass),
- "pull_request_id" int8 NOT NULL,
- "cntrb_id" int8 NOT NULL,
- "action" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "action_commit_hash" varchar COLLATE "pg_catalog"."default",
- "created_at" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- "issue_event_src_id" int8,
- "node_id" varchar COLLATE "pg_catalog"."default",
- "node_url" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pr_events_pkey" PRIMARY KEY ("pr_event_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_events" OWNER TO "augur";
-CREATE INDEX "pr_events_ibfk_1" ON "augur_data"."pull_request_events" USING btree (
- "pull_request_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "pr_events_ibfk_2" ON "augur_data"."pull_request_events" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."pull_request_events"."issue_event_src_id" IS 'This ID comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue events API';
-COMMENT ON COLUMN "augur_data"."pull_request_events"."node_id" IS 'This should be renamed to issue_event_src_node_id, as its the varchar identifier in GitHub and likely common in other sources as well. However, since it was created before we came to this naming standard and workers are built around it, we have it simply named as node_id. Anywhere you see node_id in the schema, it comes from GitHubs terminology.';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_files" (
- "pull_request_id" int8,
- "pr_file_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_files_pr_file_id_seq'::regclass),
- "pr_file_additions" int8,
- "pr_file_deletions" int8,
- "pr_file_path" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_files_pkey" PRIMARY KEY ("pr_file_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_files" OWNER TO "augur";
-COMMENT ON TABLE "augur_data"."pull_request_files" IS 'Pull request commits are an enumeration of each commit associated with a pull request.
-Not all pull requests are from a branch or fork into master.
-The commits table intends to count only commits that end up in the master branch (i.e., part of the deployed code base for a project).
-Therefore, there will be commit “SHA”’s in this table that are no associated with a commit SHA in the commits table.
-In cases where the PR is to the master branch of a project, you will find a match. In cases where the PR does not involve the master branch, you will not find a corresponding commit SHA in the commits table. This is expected. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_labels" (
- "pr_label_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_labels_pr_label_id_seq'::regclass),
- "pull_request_id" int8,
- "pr_src_id" int8,
- "pr_src_node_id" varchar COLLATE "pg_catalog"."default",
- "pr_src_url" varchar COLLATE "pg_catalog"."default",
- "pr_src_description" varchar COLLATE "pg_catalog"."default",
- "pr_src_color" varchar COLLATE "pg_catalog"."default",
- "pr_src_default_bool" bool,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_labels_pkey" PRIMARY KEY ("pr_label_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_labels" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_message_ref" (
- "pr_msg_ref_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_message_ref_pr_msg_ref_id_seq'::regclass),
- "pull_request_id" int8,
- "msg_id" int8,
- "pr_message_ref_src_comment_id" int8,
- "pr_message_ref_src_node_id" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_message_ref_pkey" PRIMARY KEY ("pr_msg_ref_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_message_ref" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_meta" (
- "pr_repo_meta_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_meta_pr_repo_meta_id_seq'::regclass),
- "pull_request_id" int8,
- "pr_head_or_base" varchar COLLATE "pg_catalog"."default",
- "pr_src_meta_label" varchar COLLATE "pg_catalog"."default",
- "pr_src_meta_ref" varchar COLLATE "pg_catalog"."default",
- "pr_sha" varchar COLLATE "pg_catalog"."default",
- "cntrb_id" int8,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_meta_pkey" PRIMARY KEY ("pr_repo_meta_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_meta" OWNER TO "augur";
-CREATE INDEX "pr_meta-cntrbid-idx" ON "augur_data"."pull_request_meta" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."pull_request_meta"."pr_head_or_base" IS 'Each pull request should have one and only one head record; and one and only one base record. ';
-COMMENT ON COLUMN "augur_data"."pull_request_meta"."pr_src_meta_label" IS 'This is a representation of the repo:branch information in the pull request. Head is issueing the pull request and base is taking the pull request. For example: (We do not store all of this)
-
- "head": {
- "label": "chaoss:pull-request-worker",
- "ref": "pull-request-worker",
- "sha": "6b380c3d6d625616f79d702612ebab6d204614f2",
- "user": {
- "login": "chaoss",
- "id": 29740296,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2",
- "avatar_url": "https://avatars2.githubusercontent.com/u/29740296?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/chaoss",
- "html_url": "https://github.com/chaoss",
- "followers_url": "https://api.github.com/users/chaoss/followers",
- "following_url": "https://api.github.com/users/chaoss/following{/other_user}",
- "gists_url": "https://api.github.com/users/chaoss/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/chaoss/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/chaoss/subscriptions",
- "organizations_url": "https://api.github.com/users/chaoss/orgs",
- "repos_url": "https://api.github.com/users/chaoss/repos",
- "events_url": "https://api.github.com/users/chaoss/events{/privacy}",
- "received_events_url": "https://api.github.com/users/chaoss/received_events",
- "type": "Organization",
- "site_admin": false
- },
- "repo": {
- "id": 78134122,
- "node_id": "MDEwOlJlcG9zaXRvcnk3ODEzNDEyMg==",
- "name": "augur",
- "full_name": "chaoss/augur",
- "private": false,
- "owner": {
- "login": "chaoss",
- "id": 29740296,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2",
- "avatar_url": "https://avatars2.githubusercontent.com/u/29740296?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/chaoss",
- "html_url": "https://github.com/chaoss",
- "followers_url": "https://api.github.com/users/chaoss/followers",
- "following_url": "https://api.github.com/users/chaoss/following{/other_user}",
- "gists_url": "https://api.github.com/users/chaoss/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/chaoss/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/chaoss/subscriptions",
- "organizations_url": "https://api.github.com/users/chaoss/orgs",
- "repos_url": "https://api.github.com/users/chaoss/repos",
- "events_url": "https://api.github.com/users/chaoss/events{/privacy}",
- "received_events_url": "https://api.github.com/users/chaoss/received_events",
- "type": "Organization",
- "site_admin": false
- },
- "html_url": "https://github.com/chaoss/augur",
- "description": "Python library and web service for Open Source Software Health and Sustainability metrics & data collection.",
- "fork": false,
- "url": "https://api.github.com/repos/chaoss/augur",
- "forks_url": "https://api.github.com/repos/chaoss/augur/forks",
- "keys_url": "https://api.github.com/repos/chaoss/augur/keys{/key_id}",
- "collaborators_url": "https://api.github.com/repos/chaoss/augur/collaborators{/collaborator}",
- "teams_url": "https://api.github.com/repos/chaoss/augur/teams",
- "hooks_url": "https://api.github.com/repos/chaoss/augur/hooks",
- "issue_events_url": "https://api.github.com/repos/chaoss/augur/issues/events{/number}",
- "events_url": "https://api.github.com/repos/chaoss/augur/events",
- "assignees_url": "https://api.github.com/repos/chaoss/augur/assignees{/user}",
- "branches_url": "https://api.github.com/repos/chaoss/augur/branches{/branch}",
- "tags_url": "https://api.github.com/repos/chaoss/augur/tags",
- "blobs_url": "https://api.github.com/repos/chaoss/augur/git/blobs{/sha}",
- "git_tags_url": "https://api.github.com/repos/chaoss/augur/git/tags{/sha}",
- "git_refs_url": "https://api.github.com/repos/chaoss/augur/git/refs{/sha}",
- "trees_url": "https://api.github.com/repos/chaoss/augur/git/trees{/sha}",
- "statuses_url": "https://api.github.com/repos/chaoss/augur/statuses/{sha}",
- "languages_url": "https://api.github.com/repos/chaoss/augur/languages",
- "stargazers_url": "https://api.github.com/repos/chaoss/augur/stargazers",
- "contributors_url": "https://api.github.com/repos/chaoss/augur/contributors",
- "subscribers_url": "https://api.github.com/repos/chaoss/augur/subscribers",
- "subscription_url": "https://api.github.com/repos/chaoss/augur/subscription",
- "commits_url": "https://api.github.com/repos/chaoss/augur/commits{/sha}",
- "git_commits_url": "https://api.github.com/repos/chaoss/augur/git/commits{/sha}",
- "comments_url": "https://api.github.com/repos/chaoss/augur/comments{/number}",
- "issue_comment_url": "https://api.github.com/repos/chaoss/augur/issues/comments{/number}",
- "contents_url": "https://api.github.com/repos/chaoss/augur/contents/{+path}",
- "compare_url": "https://api.github.com/repos/chaoss/augur/compare/{base}...{head}",
- "merges_url": "https://api.github.com/repos/chaoss/augur/merges",
- "archive_url": "https://api.github.com/repos/chaoss/augur/{archive_format}{/ref}",
- "downloads_url": "https://api.github.com/repos/chaoss/augur/downloads",
- "issues_url": "https://api.github.com/repos/chaoss/augur/issues{/number}",
- "pulls_url": "https://api.github.com/repos/chaoss/augur/pulls{/number}",
- "milestones_url": "https://api.github.com/repos/chaoss/augur/milestones{/number}",
- "notifications_url": "https://api.github.com/repos/chaoss/augur/notifications{?since,all,participating}",
- "labels_url": "https://api.github.com/repos/chaoss/augur/labels{/name}",
- "releases_url": "https://api.github.com/repos/chaoss/augur/releases{/id}",
- "deployments_url": "https://api.github.com/repos/chaoss/augur/deployments",
- "created_at": "2017-01-05T17:34:54Z",
- "updated_at": "2019-11-15T00:56:12Z",
- "pushed_at": "2019-12-02T06:27:26Z",
- "git_url": "git://github.com/chaoss/augur.git",
- "ssh_url": "git@github.com:chaoss/augur.git",
- "clone_url": "https://github.com/chaoss/augur.git",
- "svn_url": "https://github.com/chaoss/augur",
- "homepage": "http://augur.osshealth.io/",
- "size": 82004,
- "stargazers_count": 153,
- "watchers_count": 153,
- "language": "Python",
- "has_issues": true,
- "has_projects": false,
- "has_downloads": true,
- "has_wiki": false,
- "has_pages": true,
- "forks_count": 205,
- "mirror_url": null,
- "archived": false,
- "disabled": false,
- "open_issues_count": 14,
- "license": {
- "key": "mit",
- "name": "MIT License",
- "spdx_id": "MIT",
- "url": "https://api.github.com/licenses/mit",
- "node_id": "MDc6TGljZW5zZTEz"
- },
- "forks": 205,
- "open_issues": 14,
- "watchers": 153,
- "default_branch": "master"
- }
- },
- "base": {
- "label": "chaoss:dev",
- "ref": "dev",
- "sha": "bfd2d34b51659613dd842cf83c3873f7699c2a0e",
- "user": {
- "login": "chaoss",
- "id": 29740296,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2",
- "avatar_url": "https://avatars2.githubusercontent.com/u/29740296?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/chaoss",
- "html_url": "https://github.com/chaoss",
- "followers_url": "https://api.github.com/users/chaoss/followers",
- "following_url": "https://api.github.com/users/chaoss/following{/other_user}",
- "gists_url": "https://api.github.com/users/chaoss/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/chaoss/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/chaoss/subscriptions",
- "organizations_url": "https://api.github.com/users/chaoss/orgs",
- "repos_url": "https://api.github.com/users/chaoss/repos",
- "events_url": "https://api.github.com/users/chaoss/events{/privacy}",
- "received_events_url": "https://api.github.com/users/chaoss/received_events",
- "type": "Organization",
- "site_admin": false
- },
- "repo": {
- "id": 78134122,
- "node_id": "MDEwOlJlcG9zaXRvcnk3ODEzNDEyMg==",
- "name": "augur",
- "full_name": "chaoss/augur",
- "private": false,
- "owner": {
- "login": "chaoss",
- "id": 29740296,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2",
- "avatar_url": "https://avatars2.githubusercontent.com/u/29740296?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/chaoss",
- "html_url": "https://github.com/chaoss",
- "followers_url": "https://api.github.com/users/chaoss/followers",
- "following_url": "https://api.github.com/users/chaoss/following{/other_user}",
- "gists_url": "https://api.github.com/users/chaoss/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/chaoss/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/chaoss/subscriptions",
- "organizations_url": "https://api.github.com/users/chaoss/orgs",
- "repos_url": "https://api.github.com/users/chaoss/repos",
- "events_url": "https://api.github.com/users/chaoss/events{/privacy}",
- "received_events_url": "https://api.github.com/users/chaoss/received_events",
- "type": "Organization",
- "site_admin": false
- },
-';
-COMMENT ON TABLE "augur_data"."pull_request_meta" IS 'Pull requests contain referencing metadata. There are a few columns that are discrete. There are also head and base designations for the repo on each side of the pull request. Similar functions exist in GitLab, though the language here is based on GitHub. The JSON Being adapted to as of the development of this schema is here: "base": { "label": "chaoss:dev", "ref": "dev", "sha": "dc6c6f3947f7dc84ecba3d8bda641ef786e7027d", "user": { "login": "chaoss", "id": 29740296, "node_id": "MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2", "avatar_url": "https://avatars2.githubusercontent.com/u/29740296?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chaoss", "html_url": "https://github.com/chaoss", "followers_url": "https://api.github.com/users/chaoss/followers", "following_url": "https://api.github.com/users/chaoss/following{/other_user}", "gists_url": "https://api.github.com/users/chaoss/gists{/gist_id}", "starred_url": "https://api.github.com/users/chaoss/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chaoss/subscriptions", "organizations_url": "https://api.github.com/users/chaoss/orgs", "repos_url": "https://api.github.com/users/chaoss/repos", "events_url": "https://api.github.com/users/chaoss/events{/privacy}", "received_events_url": "https://api.github.com/users/chaoss/received_events", "type": "Organization", "site_admin": false }, "repo": { "id": 78134122, "node_id": "MDEwOlJlcG9zaXRvcnk3ODEzNDEyMg==", "name": "augur", "full_name": "chaoss/augur", "private": false, "owner": { "login": "chaoss", "id": 29740296, "node_id": "MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2", "avatar_url": "https://avatars2.githubusercontent.com/u/29740296?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chaoss", "html_url": "https://github.com/chaoss", "followers_url": "https://api.github.com/users/chaoss/followers", "following_url": "https://api.github.com/users/chaoss/following{/other_user}", "gists_url": "https://api.github.com/users/chaoss/gists{/gist_id}", "starred_url": "https://api.github.com/users/chaoss/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chaoss/subscriptions", "organizations_url": "https://api.github.com/users/chaoss/orgs", "repos_url": "https://api.github.com/users/chaoss/repos", "events_url": "https://api.github.com/users/chaoss/events{/privacy}", "received_events_url": "https://api.github.com/users/chaoss/received_events", "type": "Organization", "site_admin": false }, ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_repo" (
- "pr_repo_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_repo_pr_repo_id_seq'::regclass),
- "pr_repo_meta_id" int8,
- "pr_repo_head_or_base" varchar COLLATE "pg_catalog"."default",
- "pr_src_repo_id" int8,
- "pr_src_node_id" varchar COLLATE "pg_catalog"."default",
- "pr_repo_name" varchar COLLATE "pg_catalog"."default",
- "pr_repo_full_name" varchar COLLATE "pg_catalog"."default",
- "pr_repo_private_bool" bool,
- "pr_cntrb_id" int8,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_repo_pkey" PRIMARY KEY ("pr_repo_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_repo" OWNER TO "augur";
-CREATE INDEX "pr-cntrb-idx-repo" ON "augur_data"."pull_request_repo" USING btree (
- "pr_cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."pull_request_repo"."pr_repo_head_or_base" IS 'For ease of validation checking, we should determine if the repository referenced is the head or base of the pull request. Each pull request should have one and only one of these, which is not enforcable easily in the database.';
-COMMENT ON TABLE "augur_data"."pull_request_repo" IS 'This table is for storing information about forks that exist as part of a pull request. Generally we do not want to track these like ordinary repositories. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_reviewers" (
- "pr_reviewer_map_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_reviewers_pr_reviewer_map_id_seq'::regclass),
- "pull_request_id" int8,
- "cntrb_id" int8,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_reviewers_pkey" PRIMARY KEY ("pr_reviewer_map_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_reviewers" OWNER TO "augur";
-CREATE INDEX "pr-reviewers-cntrb-idx1" ON "augur_data"."pull_request_reviewers" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_teams" (
- "pr_team_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_teams_pr_team_id_seq'::regclass),
- "pull_request_id" int8,
- "pr_src_team_id" int8,
- "pr_src_team_node" varchar COLLATE "pg_catalog"."default",
- "pr_src_team_url" varchar COLLATE "pg_catalog"."default",
- "pr_team_name" varchar COLLATE "pg_catalog"."default",
- "pr_team_slug" varchar COLLATE "pg_catalog"."default",
- "pr_team_description" varchar COLLATE "pg_catalog"."default",
- "pr_team_privacy" varchar COLLATE "pg_catalog"."default",
- "pr_team_permission" varchar COLLATE "pg_catalog"."default",
- "pr_team_src_members_url" varchar COLLATE "pg_catalog"."default",
- "pr_team_src_repositories_url" varchar COLLATE "pg_catalog"."default",
- "pr_team_parent_id" int8,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_teams_pkey" PRIMARY KEY ("pr_team_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_teams" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_requests" (
- "pull_request_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_requests_pull_request_id_seq'::regclass),
- "pr_url" varchar COLLATE "pg_catalog"."default",
- "pr_src_id" int8,
- "pr_src_node_id" varchar COLLATE "pg_catalog"."default",
- "pr_html_url" varchar COLLATE "pg_catalog"."default",
- "pr_diff_url" varchar COLLATE "pg_catalog"."default",
- "pr_patch_url" varchar COLLATE "pg_catalog"."default",
- "pr_issue_url" varchar COLLATE "pg_catalog"."default",
- "pr_augur_issue_id" int8,
- "pr_src_number" int8,
- "pr_src_state" varchar COLLATE "pg_catalog"."default",
- "pr_src_locked" bool,
- "pr_src_title" varchar COLLATE "pg_catalog"."default",
- "pr_augur_contributor_id" int8,
- "pr_body" text COLLATE "pg_catalog"."default",
- "pr_created_at" timestamp(0),
- "pr_updated_at" timestamp(0),
- "pr_closed_at" timestamp(0),
- "pr_merged_at" timestamp(0),
- "pr_merge_commit_sha" varchar COLLATE "pg_catalog"."default",
- "pr_teams" int8,
- "pr_milestone" varchar COLLATE "pg_catalog"."default",
- "pr_commits_url" varchar COLLATE "pg_catalog"."default",
- "pr_review_comments_url" varchar COLLATE "pg_catalog"."default",
- "pr_review_comment_url" varchar COLLATE "pg_catalog"."default",
- "pr_comments_url" varchar COLLATE "pg_catalog"."default",
- "pr_statuses_url" varchar COLLATE "pg_catalog"."default",
- "pr_meta_head_id" int8,
- "pr_meta_base_id" int8,
- "pr_src_issue_url" varchar COLLATE "pg_catalog"."default",
- "pr_src_comments_url" varchar COLLATE "pg_catalog"."default",
- "pr_src_review_comments_url" varchar COLLATE "pg_catalog"."default",
- "pr_src_commits_url" varchar COLLATE "pg_catalog"."default",
- "pr_src_statuses_url" varchar COLLATE "pg_catalog"."default",
- "pr_src_author_association" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "repo_id" int8,
- CONSTRAINT "pull_requests_pkey" PRIMARY KEY ("pull_request_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_requests" OWNER TO "augur";
-CREATE INDEX "id_node" ON "augur_data"."pull_requests" USING btree (
- "pr_src_id" "pg_catalog"."int8_ops" DESC NULLS FIRST,
- "pr_src_node_id" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" DESC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."pull_requests"."pr_src_id" IS 'The pr_src_id is unique across all of github.';
-COMMENT ON COLUMN "augur_data"."pull_requests"."pr_augur_issue_id" IS 'This is to link to the augur stored related issue';
-COMMENT ON COLUMN "augur_data"."pull_requests"."pr_src_number" IS 'The pr_src_number is unique within a repository.';
-COMMENT ON COLUMN "augur_data"."pull_requests"."pr_augur_contributor_id" IS 'This is to link to the augur contributor record. ';
-COMMENT ON COLUMN "augur_data"."pull_requests"."pr_teams" IS 'One to many with pull request teams. ';
-COMMENT ON COLUMN "augur_data"."pull_requests"."pr_review_comment_url" IS 'This is a field with limited utility. It does expose how to access a specific comment if needed with parameters. If the source changes URL structure, it may be useful';
-COMMENT ON COLUMN "augur_data"."pull_requests"."pr_meta_head_id" IS 'The metadata for the head repo that links to the pull_request_meta table. ';
-COMMENT ON COLUMN "augur_data"."pull_requests"."pr_meta_base_id" IS 'The metadata for the base repo that links to the pull_request_meta table. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."releases" (
- "release_id" char(64) COLLATE "pg_catalog"."default" NOT NULL DEFAULT nextval('"augur_data".releases_release_id_seq'::regclass),
- "repo_id" int8 NOT NULL,
- "release_name" varchar(255) COLLATE "pg_catalog"."default",
- "release_description" varchar COLLATE "pg_catalog"."default",
- "release_author" varchar(255) COLLATE "pg_catalog"."default",
- "release_created_at" timestamp(6),
- "release_published_at" timestamp(6),
- "release_updated_at" timestamp(6),
- "release_is_draft" bool,
- "release_is_prerelease" bool,
- "release_tag_name" varchar(255) COLLATE "pg_catalog"."default",
- "release_url" varchar(255) COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(6) DEFAULT CURRENT_TIMESTAMP,
- "tag_only" bool,
- CONSTRAINT "releases_pkey" PRIMARY KEY ("release_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."releases" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo" (
- "repo_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_repo_id_seq'::regclass),
- "repo_group_id" int8 NOT NULL,
- "repo_git" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "repo_path" varchar(256) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "repo_name" varchar COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "repo_added" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- "repo_status" varchar(32) COLLATE "pg_catalog"."default" NOT NULL DEFAULT 'New'::character varying,
- "repo_type" varchar COLLATE "pg_catalog"."default" DEFAULT ''::character varying,
- "url" varchar(255) COLLATE "pg_catalog"."default",
- "owner_id" int4,
- "description" varchar COLLATE "pg_catalog"."default",
- "primary_language" varchar(255) COLLATE "pg_catalog"."default",
- "created_at" varchar(255) COLLATE "pg_catalog"."default",
- "forked_from" varchar COLLATE "pg_catalog"."default",
- "updated_at" timestamp(0),
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- "repo_archived" int4,
- "repo_archived_date_collected" timestamptz(0),
- CONSTRAINT "repounique" PRIMARY KEY ("repo_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo" OWNER TO "augur";
-CREATE INDEX "forked" ON "augur_data"."repo" USING btree (
- "forked_from" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repogitindexrep" ON "augur_data"."repo" USING btree (
- "repo_git" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "reponameindex" ON "augur_data"."repo" USING hash (
- "repo_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops"
-);
-CREATE INDEX "reponameindexbtree" ON "augur_data"."repo" USING btree (
- "repo_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "rggrouponrepoindex" ON "augur_data"."repo" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE UNIQUE INDEX "therepo" ON "augur_data"."repo" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."repo"."repo_type" IS 'This field is intended to indicate if the repository is the "main instance" of a repository in cases where implementations choose to add the same repository to more than one repository group. In cases where the repository group is of rg_type Github Organization then this repo_type should be "primary". In other cases the repo_type should probably be "user created". We made this a varchar in order to hold open the possibility that there are additional repo_types we have not thought about. ';
-COMMENT ON TABLE "augur_data"."repo" IS 'This table is a combination of the columns in Facade’s repo table and GHTorrent’s projects table. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_badging" (
- "badge_collection_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_badging_badge_collection_id_seq'::regclass),
- "repo_id" int8,
- "created_at" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "data" jsonb,
- CONSTRAINT "repo_badging_pkey" PRIMARY KEY ("badge_collection_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_badging" OWNER TO "augur";
-COMMENT ON TABLE "augur_data"."repo_badging" IS 'This will be collected from the LF’s Badging API
-https://bestpractices.coreinfrastructure.org/projects.json?pq=https%3A%2F%2Fgithub.com%2Fchaoss%2Faugur
-';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_cluster_messages" (
- "msg_cluster_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_cluster_messages_msg_cluster_id_seq'::regclass),
- "repo_id" int8,
- "cluster_content" int4,
- "cluster_mechanism" int4,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "repo_cluster_messages_pkey" PRIMARY KEY ("msg_cluster_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_cluster_messages" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_group_insights" (
- "rgi_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_group_insights_rgi_id_seq'::regclass),
- "repo_group_id" int8,
- "rgi_metric" varchar COLLATE "pg_catalog"."default",
- "rgi_value" varchar COLLATE "pg_catalog"."default",
- "cms_id" int8,
- "rgi_fresh" bool,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "repo_group_insights_pkey" PRIMARY KEY ("rgi_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_group_insights" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."repo_group_insights"."rgi_fresh" IS 'false if the date is before the statistic that triggered the insight, true if after. This allows us to automatically display only "fresh insights" and avoid displaying "stale insights". The insight worker will populate this table. ';
-COMMENT ON TABLE "augur_data"."repo_group_insights" IS 'This table is output from an analytical worker inside of Augur. It runs through the different metrics on a REPOSITORY_GROUP and identifies the five to ten most “interesting” metrics as defined by some kind of delta or other factor. The algorithm is going to evolve.
-
-Worker Design Notes: The idea is that the "insight worker" will scan through a bunch of active metrics or "synthetic metrics" to list the most important insights. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_groups" (
- "repo_group_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_groups_repo_group_id_seq'::regclass),
- "rg_name" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "rg_description" varchar COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "rg_website" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "rg_recache" int2 DEFAULT 1,
- "rg_last_modified" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- "rg_type" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "rgid" PRIMARY KEY ("repo_group_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_groups" OWNER TO "augur";
-CREATE UNIQUE INDEX "rgidm" ON "augur_data"."repo_groups" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "rgnameindex" ON "augur_data"."repo_groups" USING btree (
- "rg_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-COMMENT ON TABLE "augur_data"."repo_groups" IS 'rg_type is intended to be either a GitHub Organization or a User Created Repo Group. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_groups_list_serve" (
- "rgls_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_groups_list_serve_rgls_id_seq'::regclass),
- "repo_group_id" int8 NOT NULL,
- "rgls_name" varchar(255) COLLATE "pg_catalog"."default",
- "rgls_description" varchar(3000) COLLATE "pg_catalog"."default",
- "rgls_sponsor" varchar(255) COLLATE "pg_catalog"."default",
- "rgls_email" varchar(255) COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "repo_groups_list_serve_pkey" PRIMARY KEY ("rgls_id"),
- CONSTRAINT "rglistserve" UNIQUE ("rgls_id", "repo_group_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_groups_list_serve" OWNER TO "augur";
-CREATE UNIQUE INDEX "lister" ON "augur_data"."repo_groups_list_serve" USING btree (
- "rgls_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_info" (
- "repo_info_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_info_repo_info_id_seq'::regclass),
- "repo_id" int8 NOT NULL,
- "last_updated" timestamp(0) DEFAULT NULL::timestamp without time zone,
- "issues_enabled" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "open_issues" int4,
- "pull_requests_enabled" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "wiki_enabled" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "pages_enabled" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "fork_count" int4,
- "default_branch" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "watchers_count" int4,
- "UUID" int4,
- "license" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "stars_count" int4,
- "committers_count" int4,
- "issue_contributors_count" varchar(255) COLLATE "pg_catalog"."default",
- "changelog_file" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "contributing_file" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "license_file" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "code_of_conduct_file" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "security_issue_file" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "security_audit_file" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "status" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "keywords" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "commit_count" int8,
- "issues_count" int8,
- "issues_closed" int8,
- "pull_request_count" int8,
- "pull_requests_open" int8,
- "pull_requests_closed" int8,
- "pull_requests_merged" int8,
- CONSTRAINT "repo_info_pkey" PRIMARY KEY ("repo_info_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_info" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_insights" (
- "ri_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_insights_ri_id_seq'::regclass),
- "repo_id" int8,
- "ri_metric" varchar COLLATE "pg_catalog"."default",
- "ri_value" varchar(255) COLLATE "pg_catalog"."default",
- "ri_date" timestamp(0),
- "ri_fresh" bool,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "ri_score" numeric,
- "ri_field" varchar(255) COLLATE "pg_catalog"."default",
- "ri_detection_method" varchar(255) COLLATE "pg_catalog"."default",
- CONSTRAINT "repo_insights_pkey" PRIMARY KEY ("ri_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_insights" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."repo_insights"."ri_fresh" IS 'false if the date is before the statistic that triggered the insight, true if after. This allows us to automatically display only "fresh insights" and avoid displaying "stale insights". The insight worker will populate this table. ';
-COMMENT ON TABLE "augur_data"."repo_insights" IS 'This table is output from an analytical worker inside of Augur. It runs through the different metrics on a repository and identifies the five to ten most “interesting” metrics as defined by some kind of delta or other factor. The algorithm is going to evolve.
-
-Worker Design Notes: The idea is that the "insight worker" will scan through a bunch of active metrics or "synthetic metrics" to list the most important insights. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_insights_records" (
- "ri_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_insights_records_ri_id_seq'::regclass),
- "repo_id" int8,
- "ri_metric" varchar COLLATE "pg_catalog"."default",
- "ri_field" varchar COLLATE "pg_catalog"."default",
- "ri_value" varchar COLLATE "pg_catalog"."default",
- "ri_date" timestamp(6),
- "ri_score" float8,
- "ri_detection_method" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(6) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "repo_insights_records_pkey" PRIMARY KEY ("ri_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_insights_records" OWNER TO "augur";
-CREATE INDEX "dater" ON "augur_data"."repo_insights_records" USING btree (
- "ri_date" "pg_catalog"."timestamp_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."ri_id" IS 'Primary key. ';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."repo_id" IS 'Refers to repo table primary key. Will have a foreign key';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."ri_metric" IS 'The metric endpoint';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."ri_field" IS 'The field in the metric endpoint';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."ri_value" IS 'The value of the endpoint in ri_field';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."ri_date" IS 'The date the insight is for; in other words, some anomaly occurred on this date. ';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."ri_score" IS 'A Score, derived from the algorithm used. ';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."ri_detection_method" IS 'A confidence interval or other expression of the type of threshold and the value of a threshold met in order for it to be "an insight". Example. "95% confidence interval". ';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."tool_source" IS 'Standard Augur Metadata';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."tool_version" IS 'Standard Augur Metadata';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."data_source" IS 'Standard Augur Metadata';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."data_collection_date" IS 'Standard Augur Metadata';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_labor" (
- "repo_labor_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_labor_repo_labor_id_seq'::regclass),
- "repo_id" int8,
- "repo_clone_date" timestamp(0),
- "rl_analysis_date" timestamp(0),
- "programming_language" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "file_path" varchar(500) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "file_name" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "total_lines" int4,
- "code_lines" int4,
- "comment_lines" int4,
- "blank_lines" int4,
- "code_complexity" int4,
- "repo_url" varchar(500) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "repo_labor_pkey" PRIMARY KEY ("repo_labor_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_labor" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."repo_labor"."repo_url" IS 'This is a convenience column to simplify analysis against external datasets';
-COMMENT ON TABLE "augur_data"."repo_labor" IS 'repo_labor is a derivative of tables used to store scc code and complexity counting statistics that are inputs to labor analysis, which are components of CHAOSS value metric calculations. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_meta" (
- "repo_id" int8 NOT NULL,
- "rmeta_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_meta_rmeta_id_seq'::regclass),
- "rmeta_name" varchar(255) COLLATE "pg_catalog"."default",
- "rmeta_value" varchar(255) COLLATE "pg_catalog"."default" DEFAULT 0,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "repo_meta_pkey" PRIMARY KEY ("rmeta_id", "repo_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_meta" OWNER TO "augur";
-COMMENT ON TABLE "augur_data"."repo_meta" IS 'Project Languages';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_sbom_scans" (
- "rsb_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_sbom_scans_rsb_id_seq'::regclass),
- "repo_id" int4,
- "sbom_scan" json,
- CONSTRAINT "repo_sbom_scans_pkey" PRIMARY KEY ("rsb_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_sbom_scans" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_stats" (
- "repo_id" int8 NOT NULL,
- "rstat_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_stats_rstat_id_seq'::regclass),
- "rstat_name" varchar(400) COLLATE "pg_catalog"."default",
- "rstat_value" int8,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "repo_stats_pkey" PRIMARY KEY ("rstat_id", "repo_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_stats" OWNER TO "augur";
-COMMENT ON TABLE "augur_data"."repo_stats" IS 'Project Watchers';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_test_coverage" (
- "repo_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_test_coverage_repo_id_seq'::regclass),
- "repo_clone_date" timestamp(0),
- "rtc_analysis_date" timestamp(0),
- "programming_language" varchar COLLATE "pg_catalog"."default",
- "file_path" varchar COLLATE "pg_catalog"."default",
- "file_name" varchar COLLATE "pg_catalog"."default",
- "testing_tool" varchar COLLATE "pg_catalog"."default",
- "file_statement_count" int8,
- "file_subroutine_count" int8,
- "file_statements_tested" int8,
- "file_subroutines_tested" int8,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "repo_test_coverage_pkey" PRIMARY KEY ("repo_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_test_coverage" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_topic" (
- "repo_topic_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_topic_repo_topic_id_seq'::regclass),
- "repo_id" int4,
- "topic_id" int4,
- "topic_prob" float8,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "repo_topic_pkey" PRIMARY KEY ("repo_topic_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_topic" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repos_fetch_log" (
- "repos_id" int4 NOT NULL,
- "status" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "date" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."repos_fetch_log" OWNER TO "augur";
-CREATE INDEX "repos_id,status" ON "augur_data"."repos_fetch_log" USING btree (
- "repos_id" "pg_catalog"."int4_ops" ASC NULLS LAST,
- "status" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repos_id,statusops" ON "augur_data"."repos_fetch_log" USING btree (
- "repos_id" "pg_catalog"."int4_ops" ASC NULLS LAST,
- "status" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."settings" (
- "id" int4 NOT NULL,
- "setting" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
- "value" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "last_modified" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "settings_pkey" PRIMARY KEY ("id")
-);
-ALTER TABLE IF EXISTS "augur_data"."settings" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."topic_words" (
- "topic_words_id" int8 NOT NULL DEFAULT nextval('"augur_data".topic_words_topic_words_id_seq'::regclass),
- "topic_id" int8,
- "word" varchar COLLATE "pg_catalog"."default",
- "word_prob" float8,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "topic_words_pkey" PRIMARY KEY ("topic_words_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."topic_words" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."unknown_cache" (
- "type" varchar(10) COLLATE "pg_catalog"."default" NOT NULL,
- "repo_group_id" int4 NOT NULL,
- "email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "domain" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "added" int8 NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."unknown_cache" OWNER TO "augur";
-CREATE INDEX "type,projects_id" ON "augur_data"."unknown_cache" USING btree (
- "type" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "repo_group_id" "pg_catalog"."int4_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."utility_log" (
- "id" int8 NOT NULL DEFAULT nextval('"augur_data".utility_log_id_seq1'::regclass),
- "level" varchar(8) COLLATE "pg_catalog"."default" NOT NULL,
- "status" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "attempted" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "utility_log_pkey" PRIMARY KEY ("id")
-);
-ALTER TABLE IF EXISTS "augur_data"."utility_log" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."working_commits" (
- "repos_id" int4 NOT NULL,
- "working_commit" varchar(40) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying
-);
-ALTER TABLE IF EXISTS "augur_data"."working_commits" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_operations"."all" (
- "Name" varchar COLLATE "pg_catalog"."default",
- "Bytes" varchar COLLATE "pg_catalog"."default",
- "Lines" varchar COLLATE "pg_catalog"."default",
- "Code" varchar COLLATE "pg_catalog"."default",
- "Comment" varchar COLLATE "pg_catalog"."default",
- "Blank" varchar COLLATE "pg_catalog"."default",
- "Complexity" varchar COLLATE "pg_catalog"."default",
- "Count" varchar COLLATE "pg_catalog"."default",
- "WeightedComplexity" varchar COLLATE "pg_catalog"."default",
- "Files" varchar COLLATE "pg_catalog"."default"
-);
-ALTER TABLE IF EXISTS "augur_operations"."all" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_operations"."augur_settings" (
- "id" int8 NOT NULL DEFAULT nextval('"augur_operations".augur_settings_id_seq'::regclass),
- "setting" varchar COLLATE "pg_catalog"."default",
- "value" varchar COLLATE "pg_catalog"."default",
- "last_modified" timestamp(0) DEFAULT CURRENT_DATE,
- CONSTRAINT "augur_settings_pkey" PRIMARY KEY ("id")
-);
-ALTER TABLE IF EXISTS "augur_operations"."augur_settings" OWNER TO "augur";
-COMMENT ON TABLE "augur_operations"."augur_settings" IS 'Augur settings include the schema version, and the Augur API Key as of 10/25/2020. Future augur settings may be stored in this table, which has the basic structure of a name-value pair. ';
-
-CREATE TABLE IF NOT EXISTS "augur_operations"."repos_fetch_log" (
- "repos_id" int4 NOT NULL,
- "status" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "date" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_operations"."repos_fetch_log" OWNER TO "augur";
-CREATE INDEX "repos_id,statusops" ON "augur_operations"."repos_fetch_log" USING btree (
- "repos_id" "pg_catalog"."int4_ops" ASC NULLS LAST,
- "status" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-COMMENT ON TABLE "augur_operations"."repos_fetch_log" IS 'For future use when we move all working tables to the augur_operations schema. ';
-
-CREATE TABLE IF NOT EXISTS "augur_operations"."worker_history" (
- "history_id" int8 NOT NULL DEFAULT nextval('"augur_operations".gh_worker_history_history_id_seq'::regclass),
- "repo_id" int8,
- "worker" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "job_model" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "oauth_id" int4 NOT NULL,
- "timestamp" timestamp(0) NOT NULL,
- "status" varchar(7) COLLATE "pg_catalog"."default" NOT NULL,
- "total_results" int4,
- CONSTRAINT "history_pkey" PRIMARY KEY ("history_id")
-);
-ALTER TABLE IF EXISTS "augur_operations"."worker_history" OWNER TO "augur";
-COMMENT ON TABLE "augur_operations"."worker_history" IS 'This table stores the complete history of job execution, including success and failure. It is useful for troubleshooting. ';
-
-CREATE TABLE IF NOT EXISTS "augur_operations"."worker_job" (
- "job_model" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "state" int4 NOT NULL DEFAULT 0,
- "zombie_head" int4,
- "since_id_str" varchar(255) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '0'::character varying,
- "description" varchar(255) COLLATE "pg_catalog"."default" DEFAULT 'None'::character varying,
- "last_count" int4,
- "last_run" timestamp(0) DEFAULT NULL::timestamp without time zone,
- "analysis_state" int4 DEFAULT 0,
- "oauth_id" int4 NOT NULL,
- CONSTRAINT "job_pkey" PRIMARY KEY ("job_model")
-);
-ALTER TABLE IF EXISTS "augur_operations"."worker_job" OWNER TO "augur";
-COMMENT ON TABLE "augur_operations"."worker_job" IS 'This table stores the jobs workers collect data for. A job is found in the code, and in the augur.config.json under the construct of a “model”. ';
-
-CREATE TABLE IF NOT EXISTS "augur_operations"."worker_oauth" (
- "oauth_id" int8 NOT NULL DEFAULT nextval('"augur_operations".worker_oauth_oauth_id_seq'::regclass),
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "consumer_key" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "consumer_secret" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "access_token" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "access_token_secret" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "repo_directory" varchar COLLATE "pg_catalog"."default",
- "platform" varchar COLLATE "pg_catalog"."default" DEFAULT 'github'::character varying,
- CONSTRAINT "worker_oauth_pkey" PRIMARY KEY ("oauth_id")
-);
-ALTER TABLE IF EXISTS "augur_operations"."worker_oauth" OWNER TO "augur";
-COMMENT ON TABLE "augur_operations"."worker_oauth" IS 'This table stores credentials for retrieving data from platform API’s. Entries in this table must comply with the terms of service for each platform. ';
-
-CREATE TABLE IF NOT EXISTS "augur_operations"."worker_settings_facade" (
- "id" int4 NOT NULL,
- "setting" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
- "value" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "last_modified" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "settings_pkey" PRIMARY KEY ("id")
-);
-ALTER TABLE IF EXISTS "augur_operations"."worker_settings_facade" OWNER TO "augur";
-COMMENT ON TABLE "augur_operations"."worker_settings_facade" IS 'For future use when we move all working tables to the augur_operations schema. ';
-
-CREATE TABLE IF NOT EXISTS "augur_operations"."working_commits" (
- "repos_id" int4 NOT NULL,
- "working_commit" varchar(40) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying
-);
-ALTER TABLE IF EXISTS "augur_operations"."working_commits" OWNER TO "augur";
-COMMENT ON TABLE "augur_operations"."working_commits" IS 'For future use when we move all working tables to the augur_operations schema. ';
-
-CREATE TABLE IF NOT EXISTS "spdx"."annotation_types" (
- "annotation_type_id" int4 NOT NULL DEFAULT nextval('"spdx".annotation_types_annotation_type_id_seq'::regclass),
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "annotation_types_pkey" PRIMARY KEY ("annotation_type_id"),
- CONSTRAINT "uc_annotation_type_name" UNIQUE ("name")
-);
-ALTER TABLE IF EXISTS "spdx"."annotation_types" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."annotations" (
- "annotation_id" int4 NOT NULL DEFAULT nextval('"spdx".annotations_annotation_id_seq'::regclass),
- "document_id" int4 NOT NULL,
- "annotation_type_id" int4 NOT NULL,
- "identifier_id" int4 NOT NULL,
- "creator_id" int4 NOT NULL,
- "created_ts" timestamptz(6),
- "comment" text COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "annotations_pkey" PRIMARY KEY ("annotation_id")
-);
-ALTER TABLE IF EXISTS "spdx"."annotations" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."augur_repo_map" (
- "map_id" int4 NOT NULL DEFAULT nextval('"spdx".augur_repo_map_map_id_seq'::regclass),
- "dosocs_pkg_id" int4,
- "dosocs_pkg_name" text COLLATE "pg_catalog"."default",
- "repo_id" int4,
- "repo_path" text COLLATE "pg_catalog"."default",
- CONSTRAINT "augur_repo_map_pkey" PRIMARY KEY ("map_id")
-);
-ALTER TABLE IF EXISTS "spdx"."augur_repo_map" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."creator_types" (
- "creator_type_id" int4 NOT NULL DEFAULT nextval('"spdx".creator_types_creator_type_id_seq'::regclass),
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "creator_types_pkey" PRIMARY KEY ("creator_type_id")
-);
-ALTER TABLE IF EXISTS "spdx"."creator_types" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."creators" (
- "creator_id" int4 NOT NULL DEFAULT nextval('"spdx".creators_creator_id_seq'::regclass),
- "creator_type_id" int4 NOT NULL,
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "email" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "creators_pkey" PRIMARY KEY ("creator_id")
-);
-ALTER TABLE IF EXISTS "spdx"."creators" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."document_namespaces" (
- "document_namespace_id" int4 NOT NULL DEFAULT nextval('"spdx".document_namespaces_document_namespace_id_seq'::regclass),
- "uri" varchar(500) COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "document_namespaces_pkey" PRIMARY KEY ("document_namespace_id"),
- CONSTRAINT "uc_document_namespace_uri" UNIQUE ("uri")
-);
-ALTER TABLE IF EXISTS "spdx"."document_namespaces" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."documents" (
- "document_id" int4 NOT NULL DEFAULT nextval('"spdx".documents_document_id_seq'::regclass),
- "document_namespace_id" int4 NOT NULL,
- "data_license_id" int4 NOT NULL,
- "spdx_version" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "license_list_version" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "created_ts" timestamptz(6) NOT NULL,
- "creator_comment" text COLLATE "pg_catalog"."default" NOT NULL,
- "document_comment" text COLLATE "pg_catalog"."default" NOT NULL,
- "package_id" int4 NOT NULL,
- CONSTRAINT "documents_pkey" PRIMARY KEY ("document_id"),
- CONSTRAINT "uc_document_document_namespace_id" UNIQUE ("document_namespace_id")
-);
-ALTER TABLE IF EXISTS "spdx"."documents" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."documents_creators" (
- "document_creator_id" int4 NOT NULL DEFAULT nextval('"spdx".documents_creators_document_creator_id_seq'::regclass),
- "document_id" int4 NOT NULL,
- "creator_id" int4 NOT NULL,
- CONSTRAINT "documents_creators_pkey" PRIMARY KEY ("document_creator_id")
-);
-ALTER TABLE IF EXISTS "spdx"."documents_creators" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."external_refs" (
- "external_ref_id" int4 NOT NULL DEFAULT nextval('"spdx".external_refs_external_ref_id_seq'::regclass),
- "document_id" int4 NOT NULL,
- "document_namespace_id" int4 NOT NULL,
- "id_string" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "sha256" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "external_refs_pkey" PRIMARY KEY ("external_ref_id"),
- CONSTRAINT "uc_external_ref_document_id_string" UNIQUE ("document_id", "id_string")
-);
-ALTER TABLE IF EXISTS "spdx"."external_refs" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."file_contributors" (
- "file_contributor_id" int4 NOT NULL DEFAULT nextval('"spdx".file_contributors_file_contributor_id_seq'::regclass),
- "file_id" int4 NOT NULL,
- "contributor" text COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "file_contributors_pkey" PRIMARY KEY ("file_contributor_id")
-);
-ALTER TABLE IF EXISTS "spdx"."file_contributors" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."file_types" (
- "file_type_id" int4,
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "uc_file_type_name" PRIMARY KEY ("name")
-);
-ALTER TABLE IF EXISTS "spdx"."file_types" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."files" (
- "file_id" int4 NOT NULL DEFAULT nextval('"spdx".files_file_id_seq'::regclass),
- "file_type_id" int4,
- "sha256" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
- "copyright_text" text COLLATE "pg_catalog"."default",
- "package_id" int4,
- "comment" text COLLATE "pg_catalog"."default" NOT NULL,
- "notice" text COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "files_pkey" PRIMARY KEY ("file_id"),
- CONSTRAINT "uc_file_sha256" UNIQUE ("sha256")
-);
-ALTER TABLE IF EXISTS "spdx"."files" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."files_licenses" (
- "file_license_id" int4 NOT NULL DEFAULT nextval('"spdx".files_licenses_file_license_id_seq'::regclass),
- "file_id" int4 NOT NULL,
- "license_id" int4 NOT NULL,
- "extracted_text" text COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "files_licenses_pkey" PRIMARY KEY ("file_license_id"),
- CONSTRAINT "uc_file_license" UNIQUE ("file_id", "license_id")
-);
-ALTER TABLE IF EXISTS "spdx"."files_licenses" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."files_scans" (
- "file_scan_id" int4 NOT NULL DEFAULT nextval('"spdx".files_scans_file_scan_id_seq'::regclass),
- "file_id" int4 NOT NULL,
- "scanner_id" int4 NOT NULL,
- CONSTRAINT "files_scans_pkey" PRIMARY KEY ("file_scan_id"),
- CONSTRAINT "uc_file_scanner_id" UNIQUE ("file_id", "scanner_id")
-);
-ALTER TABLE IF EXISTS "spdx"."files_scans" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."identifiers" (
- "identifier_id" int4 NOT NULL DEFAULT nextval('"spdx".identifiers_identifier_id_seq'::regclass),
- "document_namespace_id" int4 NOT NULL,
- "id_string" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "document_id" int4,
- "package_id" int4,
- "package_file_id" int4,
- CONSTRAINT "identifiers_pkey" PRIMARY KEY ("identifier_id"),
- CONSTRAINT "uc_identifier_document_namespace_id" UNIQUE ("document_namespace_id", "id_string"),
- CONSTRAINT "uc_identifier_namespace_document_id" UNIQUE ("document_namespace_id", "document_id"),
- CONSTRAINT "uc_identifier_namespace_package_id" UNIQUE ("document_namespace_id", "package_id"),
- CONSTRAINT "uc_identifier_namespace_package_file_id" UNIQUE ("document_namespace_id", "package_file_id"),
- CONSTRAINT "ck_identifier_exactly_one" CHECK (((document_id IS NOT NULL)::integer + (package_id IS NOT NULL)::integer + (package_file_id IS NOT NULL)::integer) = 1)
-);
-ALTER TABLE IF EXISTS "spdx"."identifiers" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."licenses" (
- "license_id" int4 NOT NULL DEFAULT nextval('"spdx".licenses_license_id_seq'::regclass),
- "name" varchar(255) COLLATE "pg_catalog"."default",
- "short_name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "cross_reference" text COLLATE "pg_catalog"."default" NOT NULL,
- "comment" text COLLATE "pg_catalog"."default" NOT NULL,
- "is_spdx_official" bool NOT NULL,
- CONSTRAINT "licenses_pkey" PRIMARY KEY ("license_id"),
- CONSTRAINT "uc_license_short_name" UNIQUE ("short_name")
-);
-ALTER TABLE IF EXISTS "spdx"."licenses" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."packages" (
- "package_id" int4 NOT NULL DEFAULT nextval('"spdx".packages_package_id_seq'::regclass),
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "version" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "file_name" text COLLATE "pg_catalog"."default" NOT NULL,
- "supplier_id" int4,
- "originator_id" int4,
- "download_location" text COLLATE "pg_catalog"."default",
- "verification_code" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
- "ver_code_excluded_file_id" int4,
- "sha256" varchar(64) COLLATE "pg_catalog"."default",
- "home_page" text COLLATE "pg_catalog"."default",
- "source_info" text COLLATE "pg_catalog"."default" NOT NULL,
- "concluded_license_id" int4,
- "declared_license_id" int4,
- "license_comment" text COLLATE "pg_catalog"."default" NOT NULL,
- "copyright_text" text COLLATE "pg_catalog"."default",
- "summary" text COLLATE "pg_catalog"."default" NOT NULL,
- "description" text COLLATE "pg_catalog"."default" NOT NULL,
- "comment" text COLLATE "pg_catalog"."default" NOT NULL,
- "dosocs2_dir_code" varchar(64) COLLATE "pg_catalog"."default",
- CONSTRAINT "packages_pkey" PRIMARY KEY ("package_id"),
- CONSTRAINT "uc_package_sha256" UNIQUE ("sha256"),
- CONSTRAINT "uc_dir_code_ver_code" UNIQUE ("verification_code", "dosocs2_dir_code"),
- CONSTRAINT "uc_sha256_ds2_dir_code_exactly_one" CHECK (((sha256 IS NOT NULL)::integer + (dosocs2_dir_code IS NOT NULL)::integer) = 1)
-);
-ALTER TABLE IF EXISTS "spdx"."packages" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."packages_files" (
- "package_file_id" int4 NOT NULL DEFAULT nextval('"spdx".packages_files_package_file_id_seq'::regclass),
- "package_id" int4 NOT NULL,
- "file_id" int4 NOT NULL,
- "concluded_license_id" int4,
- "license_comment" text COLLATE "pg_catalog"."default" NOT NULL,
- "file_name" text COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "packages_files_pkey" PRIMARY KEY ("package_file_id"),
- CONSTRAINT "uc_package_id_file_name" UNIQUE ("package_id", "file_name")
-);
-ALTER TABLE IF EXISTS "spdx"."packages_files" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."packages_scans" (
- "package_scan_id" int4 NOT NULL DEFAULT nextval('"spdx".packages_scans_package_scan_id_seq'::regclass),
- "package_id" int4 NOT NULL,
- "scanner_id" int4 NOT NULL,
- CONSTRAINT "packages_scans_pkey" PRIMARY KEY ("package_scan_id"),
- CONSTRAINT "uc_package_scanner_id" UNIQUE ("package_id", "scanner_id")
-);
-ALTER TABLE IF EXISTS "spdx"."packages_scans" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."projects" (
- "package_id" int4 NOT NULL DEFAULT nextval('"spdx".projects_package_id_seq'::regclass),
- "name" text COLLATE "pg_catalog"."default" NOT NULL,
- "homepage" text COLLATE "pg_catalog"."default" NOT NULL,
- "uri" text COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "projects_pkey" PRIMARY KEY ("package_id")
-);
-ALTER TABLE IF EXISTS "spdx"."projects" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."relationship_types" (
- "relationship_type_id" int4 NOT NULL DEFAULT nextval('"spdx".relationship_types_relationship_type_id_seq'::regclass),
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "relationship_types_pkey" PRIMARY KEY ("relationship_type_id"),
- CONSTRAINT "uc_relationship_type_name" UNIQUE ("name")
-);
-ALTER TABLE IF EXISTS "spdx"."relationship_types" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."relationships" (
- "relationship_id" int4 NOT NULL DEFAULT nextval('"spdx".relationships_relationship_id_seq'::regclass),
- "left_identifier_id" int4 NOT NULL,
- "right_identifier_id" int4 NOT NULL,
- "relationship_type_id" int4 NOT NULL,
- "relationship_comment" text COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "relationships_pkey" PRIMARY KEY ("relationship_id"),
- CONSTRAINT "uc_left_right_relationship_type" UNIQUE ("left_identifier_id", "right_identifier_id", "relationship_type_id")
-);
-ALTER TABLE IF EXISTS "spdx"."relationships" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."sbom_scans" (
- "repo_id" int4,
- "sbom_scan" json
-);
-ALTER TABLE IF EXISTS "spdx"."sbom_scans" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."scanners" (
- "scanner_id" int4 NOT NULL DEFAULT nextval('"spdx".scanners_scanner_id_seq'::regclass),
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "scanners_pkey" PRIMARY KEY ("scanner_id"),
- CONSTRAINT "uc_scanner_name" UNIQUE ("name")
-);
-ALTER TABLE IF EXISTS "spdx"."scanners" OWNER TO "augur";
-
-ALTER TABLE IF EXISTS "augur_data"."commit_comment_ref" ADD CONSTRAINT "fk_commit_comment_ref_commits_1" FOREIGN KEY ("cmt_id") REFERENCES "augur_data"."commits" ("cmt_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."commit_comment_ref" ADD CONSTRAINT "fk_commit_comment_ref_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."commit_parents" ADD CONSTRAINT "fk_commit_parents_commits_1" FOREIGN KEY ("cmt_id") REFERENCES "augur_data"."commits" ("cmt_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."commit_parents" ADD CONSTRAINT "fk_commit_parents_commits_2" FOREIGN KEY ("parent_id") REFERENCES "augur_data"."commits" ("cmt_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."commits" ADD CONSTRAINT "fk_commits_contributors_1" FOREIGN KEY ("cmt_ght_author_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."commits" ADD CONSTRAINT "fk_commits_contributors_2" FOREIGN KEY ("cmt_ght_committer_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."commits" ADD CONSTRAINT "fk_commits_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."contributors_aliases" ADD CONSTRAINT "fk_contributors_aliases_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."contributors_history" ADD CONSTRAINT "fk_contributors_history_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."discourse_insights" ADD CONSTRAINT "fk_discourse_insights_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id");
-ALTER TABLE IF EXISTS "augur_data"."issue_assignees" ADD CONSTRAINT "fk_issue_assignees_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issue_assignees" ADD CONSTRAINT "fk_issue_assignees_issues_1" FOREIGN KEY ("issue_id") REFERENCES "augur_data"."issues" ("issue_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issue_events" ADD CONSTRAINT "fk_issue_events_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issue_events" ADD CONSTRAINT "fk_issue_events_issues_1" FOREIGN KEY ("issue_id") REFERENCES "augur_data"."issues" ("issue_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issue_labels" ADD CONSTRAINT "fk_issue_labels_issues_1" FOREIGN KEY ("issue_id") REFERENCES "augur_data"."issues" ("issue_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issue_message_ref" ADD CONSTRAINT "fk_issue_message_ref_issues_1" FOREIGN KEY ("issue_id") REFERENCES "augur_data"."issues" ("issue_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issue_message_ref" ADD CONSTRAINT "fk_issue_message_ref_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issues" ADD CONSTRAINT "fk_issues_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issues" ADD CONSTRAINT "fk_issues_contributors_2" FOREIGN KEY ("reporter_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issues" ADD CONSTRAINT "fk_issues_repo" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE CASCADE ON UPDATE CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."libraries" ADD CONSTRAINT "fk_libraries_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."library_dependencies" ADD CONSTRAINT "fk_library_dependencies_libraries_1" FOREIGN KEY ("library_id") REFERENCES "augur_data"."libraries" ("library_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."library_version" ADD CONSTRAINT "fk_library_version_libraries_1" FOREIGN KEY ("library_id") REFERENCES "augur_data"."libraries" ("library_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."lstm_anomaly_results" ADD CONSTRAINT "fk_lstm_anomaly_results_lstm_anomaly_models_1" FOREIGN KEY ("model_id") REFERENCES "augur_data"."lstm_anomaly_models" ("model_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."lstm_anomaly_results" ADD CONSTRAINT "fk_lstm_anomaly_results_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."message" ADD CONSTRAINT "fk_message_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."message" ADD CONSTRAINT "fk_message_platform_1" FOREIGN KEY ("pltfrm_id") REFERENCES "augur_data"."platform" ("pltfrm_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."message" ADD CONSTRAINT "fk_message_repo_groups_list_serve_1" FOREIGN KEY ("rgls_id") REFERENCES "augur_data"."repo_groups_list_serve" ("rgls_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."message_analysis" ADD CONSTRAINT "fk_message_analysis_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id");
-ALTER TABLE IF EXISTS "augur_data"."message_analysis_summary" ADD CONSTRAINT "fk_message_analysis_summary_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id");
-ALTER TABLE IF EXISTS "augur_data"."message_sentiment" ADD CONSTRAINT "fk_message_sentiment_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id");
-ALTER TABLE IF EXISTS "augur_data"."message_sentiment_summary" ADD CONSTRAINT "fk_message_sentiment_summary_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id");
-ALTER TABLE IF EXISTS "augur_data"."pull_request_assignees" ADD CONSTRAINT "fk_pull_request_assignees_contributors_1" FOREIGN KEY ("contrib_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_assignees" ADD CONSTRAINT "fk_pull_request_assignees_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_commits" ADD CONSTRAINT "fk_pull_request_commits_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_events" ADD CONSTRAINT "fk_pull_request_events_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_events" ADD CONSTRAINT "fk_pull_request_events_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_files" ADD CONSTRAINT "fk_pull_request_commits_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_labels" ADD CONSTRAINT "fk_pull_request_labels_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_message_ref" ADD CONSTRAINT "fk_pull_request_message_ref_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_message_ref" ADD CONSTRAINT "fk_pull_request_message_ref_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_meta" ADD CONSTRAINT "fk_pull_request_meta_contributors_2" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_meta" ADD CONSTRAINT "fk_pull_request_meta_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_repo" ADD CONSTRAINT "fk_pull_request_repo_contributors_1" FOREIGN KEY ("pr_cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_repo" ADD CONSTRAINT "fk_pull_request_repo_pull_request_meta_1" FOREIGN KEY ("pr_repo_meta_id") REFERENCES "augur_data"."pull_request_meta" ("pr_repo_meta_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_reviewers" ADD CONSTRAINT "fk_pull_request_reviewers_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_reviewers" ADD CONSTRAINT "fk_pull_request_reviewers_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_teams" ADD CONSTRAINT "fk_pull_request_teams_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_requests" ADD CONSTRAINT "fk_pull_requests_pull_request_meta_1" FOREIGN KEY ("pr_meta_head_id") REFERENCES "augur_data"."pull_request_meta" ("pr_repo_meta_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_requests" ADD CONSTRAINT "fk_pull_requests_pull_request_meta_2" FOREIGN KEY ("pr_meta_base_id") REFERENCES "augur_data"."pull_request_meta" ("pr_repo_meta_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_requests" ADD CONSTRAINT "fk_pull_requests_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."releases" ADD CONSTRAINT "fk_releases_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo" ADD CONSTRAINT "fk_repo_repo_groups_1" FOREIGN KEY ("repo_group_id") REFERENCES "augur_data"."repo_groups" ("repo_group_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-COMMENT ON CONSTRAINT "fk_repo_repo_groups_1" ON "augur_data"."repo" IS 'Repo_groups cardinality set to one and only one because, although in theory there could be more than one repo group for a repo, this might create dependecies in hosted situation that we do not want to live with. ';
-ALTER TABLE IF EXISTS "augur_data"."repo_badging" ADD CONSTRAINT "fk_repo_badging_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_cluster_messages" ADD CONSTRAINT "fk_repo_cluster_messages_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id");
-ALTER TABLE IF EXISTS "augur_data"."repo_group_insights" ADD CONSTRAINT "fk_repo_group_insights_repo_groups_1" FOREIGN KEY ("repo_group_id") REFERENCES "augur_data"."repo_groups" ("repo_group_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_groups_list_serve" ADD CONSTRAINT "fk_repo_groups_list_serve_repo_groups_1" FOREIGN KEY ("repo_group_id") REFERENCES "augur_data"."repo_groups" ("repo_group_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_info" ADD CONSTRAINT "fk_repo_info_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_insights" ADD CONSTRAINT "fk_repo_insights_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_insights_records" ADD CONSTRAINT "repo_id_ref" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE SET NULL ON UPDATE CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_labor" ADD CONSTRAINT "fk_repo_labor_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_meta" ADD CONSTRAINT "fk_repo_meta_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_sbom_scans" ADD CONSTRAINT "repo_linker_sbom" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE CASCADE ON UPDATE CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_stats" ADD CONSTRAINT "fk_repo_stats_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_test_coverage" ADD CONSTRAINT "fk_repo_test_coverage_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_topic" ADD CONSTRAINT "fk_repo_topic_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id");
-ALTER TABLE IF EXISTS "augur_data"."topic_words" ADD CONSTRAINT "fk_topic_words_repo_topic_1" FOREIGN KEY ("topic_id") REFERENCES "augur_data"."repo_topic" ("repo_topic_id");
-ALTER TABLE IF EXISTS "spdx"."annotations" ADD CONSTRAINT "annotations_annotation_type_id_fkey" FOREIGN KEY ("annotation_type_id") REFERENCES "spdx"."annotation_types" ("annotation_type_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."annotations" ADD CONSTRAINT "annotations_creator_id_fkey" FOREIGN KEY ("creator_id") REFERENCES "spdx"."creators" ("creator_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."annotations" ADD CONSTRAINT "annotations_document_id_fkey" FOREIGN KEY ("document_id") REFERENCES "spdx"."documents" ("document_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."annotations" ADD CONSTRAINT "annotations_identifier_id_fkey" FOREIGN KEY ("identifier_id") REFERENCES "spdx"."identifiers" ("identifier_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."creators" ADD CONSTRAINT "creators_creator_type_id_fkey" FOREIGN KEY ("creator_type_id") REFERENCES "spdx"."creator_types" ("creator_type_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."documents" ADD CONSTRAINT "documents_data_license_id_fkey" FOREIGN KEY ("data_license_id") REFERENCES "spdx"."licenses" ("license_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."documents" ADD CONSTRAINT "documents_document_namespace_id_fkey" FOREIGN KEY ("document_namespace_id") REFERENCES "spdx"."document_namespaces" ("document_namespace_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."documents" ADD CONSTRAINT "documents_package_id_fkey" FOREIGN KEY ("package_id") REFERENCES "spdx"."packages" ("package_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."documents_creators" ADD CONSTRAINT "documents_creators_creator_id_fkey" FOREIGN KEY ("creator_id") REFERENCES "spdx"."creators" ("creator_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."documents_creators" ADD CONSTRAINT "documents_creators_document_id_fkey" FOREIGN KEY ("document_id") REFERENCES "spdx"."documents" ("document_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."external_refs" ADD CONSTRAINT "external_refs_document_id_fkey" FOREIGN KEY ("document_id") REFERENCES "spdx"."documents" ("document_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."external_refs" ADD CONSTRAINT "external_refs_document_namespace_id_fkey" FOREIGN KEY ("document_namespace_id") REFERENCES "spdx"."document_namespaces" ("document_namespace_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."file_contributors" ADD CONSTRAINT "file_contributors_file_id_fkey" FOREIGN KEY ("file_id") REFERENCES "spdx"."files" ("file_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."files_licenses" ADD CONSTRAINT "files_licenses_file_id_fkey" FOREIGN KEY ("file_id") REFERENCES "spdx"."files" ("file_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."files_licenses" ADD CONSTRAINT "files_licenses_license_id_fkey" FOREIGN KEY ("license_id") REFERENCES "spdx"."licenses" ("license_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."files_scans" ADD CONSTRAINT "files_scans_file_id_fkey" FOREIGN KEY ("file_id") REFERENCES "spdx"."files" ("file_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."files_scans" ADD CONSTRAINT "files_scans_scanner_id_fkey" FOREIGN KEY ("scanner_id") REFERENCES "spdx"."scanners" ("scanner_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."identifiers" ADD CONSTRAINT "identifiers_document_id_fkey" FOREIGN KEY ("document_id") REFERENCES "spdx"."documents" ("document_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."identifiers" ADD CONSTRAINT "identifiers_document_namespace_id_fkey" FOREIGN KEY ("document_namespace_id") REFERENCES "spdx"."document_namespaces" ("document_namespace_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."identifiers" ADD CONSTRAINT "identifiers_package_file_id_fkey" FOREIGN KEY ("package_file_id") REFERENCES "spdx"."packages_files" ("package_file_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."identifiers" ADD CONSTRAINT "identifiers_package_id_fkey" FOREIGN KEY ("package_id") REFERENCES "spdx"."packages" ("package_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages" ADD CONSTRAINT "fk_package_packages_files" FOREIGN KEY ("ver_code_excluded_file_id") REFERENCES "spdx"."packages_files" ("package_file_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages" ADD CONSTRAINT "packages_concluded_license_id_fkey" FOREIGN KEY ("concluded_license_id") REFERENCES "spdx"."licenses" ("license_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages" ADD CONSTRAINT "packages_declared_license_id_fkey" FOREIGN KEY ("declared_license_id") REFERENCES "spdx"."licenses" ("license_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages" ADD CONSTRAINT "packages_originator_id_fkey" FOREIGN KEY ("originator_id") REFERENCES "spdx"."creators" ("creator_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages" ADD CONSTRAINT "packages_supplier_id_fkey" FOREIGN KEY ("supplier_id") REFERENCES "spdx"."creators" ("creator_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages_files" ADD CONSTRAINT "fk_package_files_packages" FOREIGN KEY ("package_id") REFERENCES "spdx"."packages" ("package_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages_files" ADD CONSTRAINT "packages_files_concluded_license_id_fkey" FOREIGN KEY ("concluded_license_id") REFERENCES "spdx"."licenses" ("license_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages_files" ADD CONSTRAINT "packages_files_file_id_fkey" FOREIGN KEY ("file_id") REFERENCES "spdx"."files" ("file_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages_scans" ADD CONSTRAINT "packages_scans_package_id_fkey" FOREIGN KEY ("package_id") REFERENCES "spdx"."packages" ("package_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages_scans" ADD CONSTRAINT "packages_scans_scanner_id_fkey" FOREIGN KEY ("scanner_id") REFERENCES "spdx"."scanners" ("scanner_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."relationships" ADD CONSTRAINT "relationships_left_identifier_id_fkey" FOREIGN KEY ("left_identifier_id") REFERENCES "spdx"."identifiers" ("identifier_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."relationships" ADD CONSTRAINT "relationships_relationship_type_id_fkey" FOREIGN KEY ("relationship_type_id") REFERENCES "spdx"."relationship_types" ("relationship_type_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."relationships" ADD CONSTRAINT "relationships_right_identifier_id_fkey" FOREIGN KEY ("right_identifier_id") REFERENCES "spdx"."identifiers" ("identifier_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-
-INSERT INTO "augur_operations"."augur_settings" set value = 31 where setting = 'augur_data_version';
-
-CREATE TABLE "augur_data"."pull_request_analysis" (
- "pull_request_analysis_id" serial8,
- "pull_request_id" int8,
- "merge_probability" float8,
- "mechanism" varchar,
- "tool_source" varchar,
- "tool_version" varchar,
- "data_source" varchar,
- "data_collection_date" timestamptz NOT NULL DEFAULT CURRENT_TIMESTAMP,
- PRIMARY KEY ("pull_request_analysis_id")
-)
-;
-
-ALTER TABLE "augur_data"."pull_request_analysis" OWNER TO "augur";
-
-COMMENT ON COLUMN "augur_data"."pull_request_analysis"."pull_request_id" IS 'It would be better if the pull request worker is run first to fetch the latest PRs before analyzing';
-
-COMMENT ON COLUMN "augur_data"."pull_request_analysis"."merge_probability" IS 'Indicates the probability of the PR being merged';
-
-COMMENT ON COLUMN "augur_data"."pull_request_analysis"."mechanism" IS 'the ML model used for prediction (It is XGBoost Classifier at present)';
-
-ALTER TABLE "augur_data"."pull_request_analysis" ADD CONSTRAINT "fk_pull_request_analysis_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-CREATE INDEX CONCURRENTLY "probability_idx" ON "augur_data"."pull_request_analysis" USING btree (
- "merge_probability" DESC NULLS LAST
-);
-
-CREATE INDEX CONCURRENTLY "pr_anal_idx" ON "augur_data"."pull_request_analysis" USING btree (
- "pull_request_id"
-);
-
-update "augur_operations"."augur_settings" set value = 32 where setting = 'augur_data_version';
-
-
--- # Pull request commit updates
-ALTER TABLE "augur_data"."pull_request_commits" ADD COLUMN "pr_cmt_author_cntrb_id" int8;
-ALTER TABLE "augur_data"."pull_request_commits" ADD COLUMN "pr_cmt_timestamp" timestamp(0);
-ALTER TABLE "augur_data"."pull_request_commits" ADD COLUMN "pr_cmt_author_email" varchar COLLATE "pg_catalog"."default";
-
-update "augur_operations"."augur_settings" set value = 33 where setting = 'augur_data_version';
-
-
--- # Pull request commit updates
-update "augur_operations"."augur_settings" set value = 34 where setting = 'augur_data_version';
-
-
--- Adding GitLab Platform
-INSERT INTO "augur_data"."platform" ("pltfrm_id", "pltfrm_name", "pltfrm_version", "pltfrm_release_date", "tool_source", "tool_version", "data_source", "data_collection_date") VALUES (25151, 'GitLab', '3', '2020-12-27', 'Manual Entry', 'Sean Goggins', 'GitLab', '2020-12-27 16:07:20');
--- # Pull request commit updates
-update "augur_operations"."augur_settings" set value = 35 where setting = 'augur_data_version';
-
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_author_association" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_state" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_body" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_node_id" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_html_url" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_pull_request_url" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_commit_id" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "tool_source" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "tool_version" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "data_source" TYPE varchar COLLATE "pg_catalog"."default";
-
-
-
-update "augur_operations"."augur_settings" set value = 38 where setting = 'augur_data_version';
-
-
-ALTER TABLE "augur_data"."pull_request_commits" DROP CONSTRAINT "fk_pull_request_commits_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_request_events" DROP CONSTRAINT "fk_pull_request_events_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_request_files" DROP CONSTRAINT "fk_pull_request_commits_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_request_labels" DROP CONSTRAINT "fk_pull_request_labels_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_request_message_ref" DROP CONSTRAINT "fk_pull_request_message_ref_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_request_message_ref" DROP CONSTRAINT "fk_pull_request_message_ref_message_1";
-
-ALTER TABLE "augur_data"."pull_request_meta" DROP CONSTRAINT "fk_pull_request_meta_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_request_repo" DROP CONSTRAINT "fk_pull_request_repo_pull_request_meta_1";
-
-ALTER TABLE "augur_data"."pull_request_review_message_ref" DROP CONSTRAINT "fk_pull_request_review_message_ref_pull_request_reviews_1";
-
-ALTER TABLE "augur_data"."pull_request_reviewers" DROP CONSTRAINT "fk_pull_request_reviewers_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_request_reviews" DROP CONSTRAINT "fk_pull_request_reviews_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_author_association" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_state" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_body" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_node_id" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_html_url" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_pull_request_url" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_commit_id" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "tool_source" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "tool_version" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "data_source" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_teams" DROP CONSTRAINT "fk_pull_request_teams_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_requests" DROP CONSTRAINT "fk_pull_requests_pull_request_meta_2";
-
-ALTER TABLE "augur_data"."pull_requests" DROP CONSTRAINT "fk_pull_requests_pull_request_meta_1";
-
-ALTER TABLE "augur_data"."pull_request_commits" ADD CONSTRAINT "fk_pull_request_commits_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_events" ADD CONSTRAINT "fk_pull_request_events_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_files" ADD CONSTRAINT "fk_pull_request_commits_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_labels" ADD CONSTRAINT "fk_pull_request_labels_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_message_ref" ADD CONSTRAINT "fk_pull_request_message_ref_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_message_ref" ADD CONSTRAINT "fk_pull_request_message_ref_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_meta" ADD CONSTRAINT "fk_pull_request_meta_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_repo" ADD CONSTRAINT "fk_pull_request_repo_pull_request_meta_1" FOREIGN KEY ("pr_repo_meta_id") REFERENCES "augur_data"."pull_request_meta" ("pr_repo_meta_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_review_message_ref" ADD CONSTRAINT "fk_pull_request_review_message_ref_pull_request_reviews_1" FOREIGN KEY ("pr_review_id") REFERENCES "augur_data"."pull_request_reviews" ("pr_review_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_reviewers" ADD CONSTRAINT "fk_pull_request_reviewers_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_reviews" ADD CONSTRAINT "fk_pull_request_reviews_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_teams" ADD CONSTRAINT "fk_pull_request_teams_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_requests" ADD CONSTRAINT "fk_pull_requests_pull_request_meta_1" FOREIGN KEY ("pr_meta_head_id") REFERENCES "augur_data"."pull_request_meta" ("pr_repo_meta_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_requests" ADD CONSTRAINT "fk_pull_requests_pull_request_meta_2" FOREIGN KEY ("pr_meta_base_id") REFERENCES "augur_data"."pull_request_meta" ("pr_repo_meta_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-
-
-update "augur_operations"."augur_settings" set value = 39 where setting = 'augur_data_version';
-
-
-COMMENT ON TABLE "augur_data"."contributor_repo" IS 'Developed in Partnership with Andrew Brain';
-
-ALTER TABLE "augur_data"."contributor_repo" ADD COLUMN IF NOT EXISTS "repo_id" int8 NOT NULL;
-
-ALTER TABLE "augur_data"."contributor_repo" ADD COLUMN IF NOT EXISTS "repo_name" varchar COLLATE "pg_catalog"."default" NOT NULL;
-
-ALTER TABLE "augur_data"."contributor_repo" ADD COLUMN IF NOT EXISTS "event_id" int8 NOT NULL;
-
-ALTER TABLE "augur_data"."contributor_repo" ADD COLUMN IF NOT EXISTS "created_at" timestamp(0) NOT NULL;
-
-ALTER TABLE "augur_data"."contributors_aliases" DROP CONSTRAINT IF EXISTS "fk_contributors_aliases_contributors_1";
-
-ALTER TABLE "augur_data"."message" DROP CONSTRAINT IF EXISTS "fk_message_repo_groups_list_serve_1";
-
-ALTER TABLE "augur_data"."message" DROP CONSTRAINT IF EXISTS "fk_message_platform_1";
-
-ALTER TABLE "augur_data"."message" DROP CONSTRAINT IF EXISTS "fk_message_contributors_1";
-
-ALTER TABLE "augur_data"."pull_request_reviewers" DROP CONSTRAINT IF EXISTS "fk_pull_request_reviewers_contributors_1";
-
-ALTER TABLE "augur_data"."pull_request_reviews" DROP CONSTRAINT IF EXISTS "fk_pull_request_reviews_contributors_1";
-
-ALTER TABLE "augur_data"."pull_requests" DROP CONSTRAINT IF EXISTS "fk_pull_requests_repo_1";
-
-ALTER TABLE "augur_data"."contributors_aliases" DROP CONSTRAINT IF EXISTS "fk_alias_id";
-
-ALTER TABLE "augur_data"."pull_request_commits" DROP CONSTRAINT IF EXISTS "fk_pr_commit_cntrb_id";
-
-ALTER TABLE "augur_data"."contributors_aliases" ADD CONSTRAINT "fk_alias_id" FOREIGN KEY ("cntrb_a_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."contributors_aliases" ADD CONSTRAINT "fk_contributors_aliases_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."message" ADD CONSTRAINT "fk_message_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."message" ADD CONSTRAINT "fk_message_platform_1" FOREIGN KEY ("pltfrm_id") REFERENCES "augur_data"."platform" ("pltfrm_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."message" ADD CONSTRAINT "fk_message_repo_groups_list_serve_1" FOREIGN KEY ("rgls_id") REFERENCES "augur_data"."repo_groups_list_serve" ("rgls_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."pull_request_commits" ADD CONSTRAINT "fk_pr_commit_cntrb_id" FOREIGN KEY ("pr_cmt_author_cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."pull_request_reviewers" ADD CONSTRAINT "fk_pull_request_reviewers_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."pull_request_reviews" ADD CONSTRAINT "fk_pull_request_reviews_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."pull_requests" ADD CONSTRAINT "fk_pr_contribs" FOREIGN KEY ("pr_augur_contributor_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."pull_requests" ADD CONSTRAINT "fk_pull_requests_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-update "augur_operations"."augur_settings" set value = 40 where setting = 'augur_data_version';
-
-
-CREATE INDEX pull_requests_idx_repo_id_data_datex ON "augur_data"."pull_requests" (repo_id,data_collection_date);
-CREATE INDEX repo_idx_repo_id_repo_namex ON "augur_data"."repo" (repo_id,repo_name);
-CREATE INDEX repo_info_idx_repo_id_data_datex ON "augur_data"."repo_info" (repo_id,data_collection_date);
-CREATE INDEX repo_info_idx_repo_id_data_date_1x ON "augur_data"."repo_info" (repo_id,data_collection_date);
-
-update "augur_operations"."augur_settings" set value = 41 where setting = 'augur_data_version';
-
--- Update Repo Foreign Key
-ALTER TABLE "augur_data"."repo" DROP CONSTRAINT "fk_repo_repo_groups_1";
-
-ALTER TABLE "augur_data"."repo" ADD CONSTRAINT "fk_repo_repo_groups_1" FOREIGN KEY ("repo_group_id") REFERENCES "augur_data"."repo_groups" ("repo_group_id") ON DELETE NO ACTION ON UPDATE NO ACTION NOT VALID;
-
-COMMENT ON CONSTRAINT "fk_repo_repo_groups_1" ON "augur_data"."repo" IS 'Repo_groups cardinality set to one and only one because, although in theory there could be more than one repo group for a repo, this might create dependencies in hosted situation that we do not want to live with. ';
-
-ALTER TABLE "augur_data"."message"
- ALTER COLUMN "data_collection_date" SET DEFAULT CURRENT_TIMESTAMP;
-
-update "augur_operations"."augur_settings" set value = 42 where setting = 'augur_data_version';
-
--- Adding new contributors to the database
-
--- Adding new contributors to the database
--- Adding new contributors to the database
-
--- Adding new contributors to the database
-
-BEGIN;
-select setval('augur_data.contributor_affiliations_ca_id_seq', 34000, true);
-
-select nextval('augur_data.contributor_affiliations_ca_id_seq'::regclass);
-
-
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25222, 'venuvardhanreddytekula8@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:14:35', '2021-02-06 15:14:35', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25221, 'nichols.keanu9@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:14:11', '2021-02-06 15:14:11', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25220, 'ubuntu@ip-172-31-2-14.us-west-2.compute.internal', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:13:50', '2021-02-06 15:13:50', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25219, 'kmlumbard@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:13:21', '2021-02-06 15:13:21', 'University of Nebraska-Omaha', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25218, 'jonah.zukosky@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:12:50', '2021-02-06 15:12:50', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25217, 'pogayo17@alustudent.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:12:14', '2021-02-06 15:12:14', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25216, 'mishrapratik356@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:11:23', '2021-02-06 15:11:23', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25215, 'andrewbrain2019@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:10:42', '2021-02-06 15:10:42', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25214, 'root@bing0ne.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:10:15', '2021-02-06 15:10:15', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25213, 'gordonli@me.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:09:46', '2021-02-06 15:09:46', 'CHAOSS Community', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25212, 'ac.be', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:09:20', '2021-02-06 15:09:20', 'CHAOSS Community', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25211, 'shohanduttaroy99@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:08:56', '2021-02-06 15:08:56', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25210, 'missouri.edu', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:08:27', '2021-02-06 15:08:27', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25209, 'akarajgi0@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:07:11', '2021-02-06 15:07:11', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25208, 'jacobeharding@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:06:45', '2021-02-06 15:06:45', 'CHAOSS Community', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25207, 'hacksmath@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:06:19', '2021-02-06 15:06:19', 'CHAOSS Community', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25206, 'benjaminparish628@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:05:48', '2021-02-06 15:05:48', 'CHAOSS Community', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25205, 'msnell@unomaha.edu', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:04:05', '2021-02-06 15:04:05', 'University of Nebraska-Omaha', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25204, 'aksharap.181it132@nitk.edu.in', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:10:03', '2021-02-06 14:10:03', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25203, 'iyovcheva@vmware.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:09:36', '2021-02-06 14:09:36', 'VMWare', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25202, 'maximumbalk@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:09:15', '2021-02-06 14:09:15', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25201, '43684300+pratikmishra356@users.noreply.github.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:08:34', '2021-02-06 14:08:34', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25200, 'abhinavbajpai2012@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:08:01', '2021-02-06 14:08:01', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25188, 'ortonpaul18@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:05:58', '2021-02-06 14:05:58', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25187, 'linkgeorg@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:05:29', '2021-02-06 14:05:29', 'University of Nebraska-Omaha', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25186, 'parth261297@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:05:02', '2021-02-06 14:05:02', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25185, 'users.noreply.github.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:04:39', '2021-02-06 14:04:39', 'CHAOSS Community', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25184, 'foundjem@users.noreply.github.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:04:12', '2021-02-06 14:04:12', 'CHAOSS Community', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25183, 'gsyc.es', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:03:39', '2021-02-06 14:03:39', 'Bitergia', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25182, 'harshalmittal4@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:03:21', '2021-02-06 14:03:21', 'Bitergia', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25181, '31676518+tretrue@users.noreply.github.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:02:57', '2021-02-06 14:02:57', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25180, 'klumbard@unomaha.edu', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:02:28', '2021-02-06 14:02:28', 'University of Nebraska-Omaha', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25179, 'gabe.heim@yahoo.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:01:55', '2021-02-06 14:01:55', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25178, 'ccarterlandis@pm.me', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:01:34', '2021-02-06 14:01:34', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25177, 'ccarterlandis@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:01:13', '2021-02-06 14:01:13', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25176, 'abuhman@users.noreply.github.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:00:32', '2021-02-06 14:00:32', 'University of Nebraska-Omaha', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25175, 'gogginss@missouri.edu', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:00:06', '2021-02-06 14:00:06', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25174, 'spencerrrobinson@unomaha.edu', '1970-01-01', NULL, NULL, NULL, '2021-02-06 13:59:19', '2021-02-06 13:59:19', 'University of Nebraska-Omaha', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25173, 'germonprez@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 13:58:48', '2021-02-06 13:58:48', 'University of Nebraska-Omaha', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25172, 'derek@howderek.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 13:57:56', '2021-02-06 13:57:56', 'Lawrence Livermore National Lab', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25171, 'doombreakr@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 13:57:20', '2021-02-06 13:57:20', 'Lawrence Livermore National Lab', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25170, 'cmehil.warn@gmail.com', '2016-05-06', 'load', '1.0', 'load', '2021-02-06 13:55:16', '2021-02-06 13:56:46', 'University of Nebraska-Omaha', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24189, 'jschnake@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24190, 'schnake.john@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24191, 'bmcerlean@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24192, 'bridget@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24193, 'ashish.amarnath@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24194, 'ashisham@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24195, 'gus@inodes.org', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24196, 'felipe.alfaro@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24197, 'sameer@damagehead.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24198, 'sameer@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24199, 'sameersbn@Sameers-MacBook-Pro.local', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24200, 'adnan@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24201, 'adnan@prydoni.us', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24202, 'adnan@adnan-bitnami.local', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24203, 'apulido@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24204, 'ara@ubuntu.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24205, 'bridgetmcerlean@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24206, 'migmartri@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24207, 'miguel@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24208, 'dbarranco@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24209, 'jbianquetti@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24210, 'jbianquetti-nami@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24211, 'andres.mgotor@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24212, 'andres@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24213, 'juanjosec@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24214, 'containers@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24215, 'bors\[bot\]@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24216, 'matt.goodall@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24217, 'j-fuentes@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24218, 'jfuentes@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24219, 'mnelson@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24220, 'mkm@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24221, 'mmikulicic@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24222, 'james@jameswestby.net', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24223, 'stephen.stewart@carisenda.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24224, 'daniel.lopez@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24225, 'nomisbeme@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24226, 'marcos@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24227, 'marcosbc@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24228, 'juan@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24229, 'juan_ariza_cordoba@hotmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24230, 'jota@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24231, 'jotamartos@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24232, 'alejandro@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24233, 'alexrwave@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24234, 'jotadrilo@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24235, 'jsalmeron@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24236, 'tomas@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24237, 'vikram@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24238, 'vikram-bitnami@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24239, 'crhernandez@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24240, 'carrodher1179@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24241, 'juanjo@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24242, 'juanjo@bitrock.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24243, 'beltran@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24244, 'angel@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24245, 'Angelmmiguel@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24246, 'rcampuzano82@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24247, 'andy@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24248, 'andy.goldstein@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24249, 'goldsteina@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24250, 'nolan@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (27291, 'brubakern@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24252, 'nolan@nbrubaker.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24253, 'stevek@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24254, 'steve@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24255, 'stephen.kriss@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24256, 'krisss@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24257, 'carlisia@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24258, 'carlisia@grokkingtech.io', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24259, 'carlisiac@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24260, 'carlisia@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24261, 'wayne@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24262, 'wayne@riotousliving.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24263, 'wwitzel3@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24264, 'jennifer@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24265, 'jrondeau@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24266, 'Bradamant3@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24267, 'aadnan@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24268, 'dave@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24269, 'dave@cheney.net', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24270, 'steves@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24271, 'steve@stevesloka.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24272, 'slokas@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24273, 'ynick@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24274, 'inocuo@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24275, 'ynick@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24276, 'jpeach@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24277, 'ross@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24278, 'ross@kukulinski.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24279, 'ralph@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24280, 'ralph.l.bankston@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24281, 'alex_brand@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24282, 'alexbrand09@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24283, 'joe@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24284, 'joe.github@bedafamily.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24285, 'vince@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24286, 'vince@vincepri.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24287, 'chuck@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24288, 'ha.chuck@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24289, 'jason@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24290, 'detiber@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24291, 'detiberusj@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24292, 'liz@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24293, '.*liztio@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24294, 'naadir@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24295, 'naadir@randomvariable.co.uk', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24296, 'randomvariable@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24297, 'ruben@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24298, 'rubenoz@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24299, 'rdodev@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25300, 'tstclair@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25301, 'timothysc@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25302, 'craigtracey@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25303, 'luohui925@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25304, 'davanum@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25305, 'amy@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25306, 'bryanliles@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25307, 'bryan@Bryans-MacBook-Pro.local', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25308, 'lilesb@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25309, 'sfoohei@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25310, 'foos@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25311, 'mlandaverde@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25312, 'mdaverde@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25313, 'shomron@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25314, 'derek@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25315, 'jderekwilson@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25316, 'eric@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25317, 'kate.kuchin@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25318, 'suraci.alex@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25319, 'asuraci@pivotal.io', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25320, 'alex@localhost.localdomain', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25321, 'julian.zucker@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25322, 'sahil.muthoo@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25323, 'fali@pivotal.io', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25324, 'fai28683@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25325, 'dgarnier@pivotal.io', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25326, 'git@garnier.wf', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25327, 'matthew.heidemann@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25328, 'me@lurraca.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25329, 'lurraca@pivotal.io', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-
-update "augur_operations"."augur_settings" set value = 43 where setting = 'augur_data_version';
-
-
-COMMIT;
-
-
-
-
-
-
-ALTER TABLE "augur_data"."pull_request_analysis" ALTER COLUMN "merge_probability" TYPE numeric(256,250) USING "merge_probability"::numeric(256,250);
-
-ALTER TABLE "augur_data"."pull_requests" ALTER COLUMN "repo_id" SET DEFAULT 0;
-
-COMMENT ON CONSTRAINT "fk_repo_repo_groups_1" ON "augur_data"."repo" IS 'Repo_groups cardinality set to one and only one because, although in theory there could be more than one repo group for a repo, this might create dependencies in hosted situation that we do not want to live with. ';
-
-CREATE INDEX IF NOT EXISTS "probability_idx" ON "augur_data"."pull_request_analysis" USING btree (
- "merge_probability" "pg_catalog"."numeric_ops" DESC NULLS LAST
-);
-
-
-update "augur_operations"."augur_settings" set value = 44 where setting = 'augur_data_version';
-COMMIT;
-
-
-
-
-
-
-CREATE SEQUENCE IF "augur_operations"."affiliations_corp_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 620000
-CACHE 1;
-
-CREATE SEQUENCE "augur_operations"."worker_oauth_oauth_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 620000
-CACHE 1;
-
-COMMENT ON TABLE "augur_operations"."augur_settings" IS 'Augur settings include the schema version, and the Augur API Key as of 10/25/2020. Future augur settings may be stored in this table, which has the basic structure of a name-value pair. ';
-
-COMMENT ON TABLE "augur_operations"."repos_fetch_log" IS 'For future use when we move all working tables to the augur_operations schema. ';
-
-COMMENT ON TABLE "augur_operations"."worker_history" IS 'This table stores the complete history of job execution, including success and failure. It is useful for troubleshooting. ';
-
-COMMENT ON TABLE "augur_operations"."worker_job" IS 'This table stores the jobs workers collect data for. A job is found in the code, and in the augur.config.json under the construct of a “model”. ';
-
-ALTER TABLE "augur_operations"."worker_job" ALTER COLUMN "description" SET DEFAULT 'None'::character varying;
-
-COMMENT ON TABLE "augur_operations"."worker_oauth" IS 'This table stores credentials for retrieving data from platform API’s. Entries in this table must comply with the terms of service for each platform. ';
-
-ALTER TABLE "augur_operations"."worker_oauth" ALTER COLUMN "oauth_id" TYPE int8 USING "oauth_id"::int8;
-
-ALTER TABLE "augur_operations"."worker_oauth" ALTER COLUMN "oauth_id" SET DEFAULT nextval('"augur_operations".worker_oauth_oauth_id_seq'::regclass);
-
-ALTER TABLE "augur_operations"."worker_oauth" ADD CONSTRAINT "worker_oauth_pkey" PRIMARY KEY ("oauth_id");
-
-COMMENT ON TABLE "augur_operations"."worker_settings_facade" IS 'For future use when we move all working tables to the augur_operations schema. ';
-
-COMMENT ON TABLE "augur_operations"."working_commits" IS 'For future use when we move all working tables to the augur_operations schema. ';
-
-SELECT setval('"augur_operations"."affiliations_corp_id_seq"', 1, false);
-
-ALTER SEQUENCE "augur_operations"."affiliations_corp_id_seq" OWNER TO "augur";
-
-SELECT setval('"augur_operations"."gh_worker_history_history_id_seq"', 6300000, true);
-
-SELECT setval('"augur_operations"."worker_oauth_oauth_id_seq"', 6300000, true);
-
-ALTER SEQUENCE "augur_operations"."worker_oauth_oauth_id_seq" OWNER TO "augur";
-
-CREATE INDEX "repos_id,statusops" ON "augur_operations"."repos_fetch_log" USING btree (
- "repos_id" "pg_catalog"."int4_ops" ASC NULLS LAST,
- "status" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-
-
-
-update "augur_operations"."augur_settings" set value = 45 where setting = 'augur_data_version';
-
-
-
-
-
--- ----------------------------
--- Table structure for contributor_repo
--- ----------------------------
-
-BEGIN;
-
-DROP TABLE IF EXISTS "augur_data"."contributor_repo";
-
-
-CREATE TABLE IF NOT EXISTS "augur_data"."contributor_repo" (
- "cntrb_repo_id" SERIAL8,
- "cntrb_id" int8 NOT NULL,
- "repo_git" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "repo_name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "gh_repo_id" int8 NOT NULL,
- "cntrb_category" varchar(255) COLLATE "pg_catalog"."default",
- "event_id" int8
-)
-;
-ALTER TABLE "augur_data"."contributor_repo" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."contributor_repo"."cntrb_id" IS 'This is not null because what is the point without the contributor in this table? ';
-COMMENT ON COLUMN "augur_data"."contributor_repo"."repo_git" IS 'Similar to cntrb_id, we need this data for the table to have meaningful data. ';
-COMMENT ON TABLE "augur_data"."contributor_repo" IS 'Developed in Partnership with Andrew Brain.
-
From:
[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
';
-
--- ----------------------------
--- Primary Key structure for table contributor_repo
--- ----------------------------
-ALTER TABLE "augur_data"."contributor_repo" DROP CONSTRAINT "cntrb_repo_id_key";
-
-ALTER TABLE "augur_data"."contributor_repo" ADD CONSTRAINT "cntrb_repo_id_key" PRIMARY KEY ("cntrb_repo_id");
-
--- ----------------------------
--- Foreign Keys structure for table contributor_repo
--- ----------------------------
-ALTER TABLE "augur_data"."contributor_repo" DROP CONSTRAINT "fk_contributor_repo_contributors_1";
-
-ALTER TABLE "augur_data"."contributor_repo" ADD CONSTRAINT "fk_contributor_repo_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE RESTRICT ON UPDATE CASCADE;
-
-update "augur_operations"."augur_settings" set value = 46 where setting = 'augur_data_version';
-
-
-COMMIT;
-
-
---------47--------------
-
-BEGIN;
-
--- ----------------------------
--- Table structure for contributor_repo
--- ----------------------------
-
-BEGIN;
-
-DROP TABLE IF EXISTS "augur_data"."contributor_repo";
-
-
-CREATE TABLE IF NOT EXISTS "augur_data"."contributor_repo" (
- "cntrb_repo_id" SERIAL8,
- "cntrb_id" int8 NOT NULL,
- "repo_git" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "repo_name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "gh_repo_id" int8 NOT NULL,
- "cntrb_category" varchar(255) COLLATE "pg_catalog"."default",
- "event_id" int8
-)
-;
-ALTER TABLE "augur_data"."contributor_repo" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."contributor_repo"."cntrb_id" IS 'This is not null because what is the point without the contributor in this table? ';
-COMMENT ON COLUMN "augur_data"."contributor_repo"."repo_git" IS 'Similar to cntrb_id, we need this data for the table to have meaningful data. ';
-COMMENT ON TABLE "augur_data"."contributor_repo" IS 'Developed in Partnership with Andrew Brain.
-
From:
[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
';
-
--- ----------------------------
--- Primary Key structure for table contributor_repo
--- ----------------------------
-ALTER TABLE "augur_data"."contributor_repo" DROP CONSTRAINT "cntrb_repo_id_key";
-
-ALTER TABLE "augur_data"."contributor_repo" ADD CONSTRAINT "cntrb_repo_id_key" PRIMARY KEY ("cntrb_repo_id");
-
--- ----------------------------
--- Foreign Keys structure for table contributor_repo
--- ----------------------------
-ALTER TABLE "augur_data"."contributor_repo" DROP CONSTRAINT "fk_contributor_repo_contributors_1";
-
-ALTER TABLE "augur_data"."contributor_repo" ADD CONSTRAINT "fk_contributor_repo_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE RESTRICT ON UPDATE CASCADE;
-
-update "augur_operations"."augur_settings" set value = 46 where setting = 'augur_data_version';
-
-
-COMMIT;
-
-
---------47--------------
-
-BEGIN;
-
--- ----------------------------
--- Table structure for contributor_repo
--- ----------------------------
-DROP TABLE IF EXISTS "augur_data"."contributor_repo";
-CREATE TABLE "augur_data"."contributor_repo" (
- "cntrb_repo_id" int4 NOT NULL DEFAULT nextval('"augur_data".contributor_repo_cntrb_repo_id_seq'::regclass),
- "cntrb_id" int8 NOT NULL,
- "repo_git" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "repo_name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "gh_repo_id" int8 NOT NULL,
- "cntrb_category" varchar(255) COLLATE "pg_catalog"."default",
- "event_id" int8,
- "created_at" timestamp(0)
-)
-;
-ALTER TABLE "augur_data"."contributor_repo" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."contributor_repo"."cntrb_id" IS 'This is not null because what is the point without the contributor in this table? ';
-COMMENT ON COLUMN "augur_data"."contributor_repo"."repo_git" IS 'Similar to cntrb_id, we need this data for the table to have meaningful data. ';
-COMMENT ON TABLE "augur_data"."contributor_repo" IS 'Developed in Partnership with Andrew Brain.
-
From:
[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
';
-
-
--- ----------------------------
--- Primary Key structure for table contributor_repo
--- ----------------------------
-ALTER TABLE "augur_data"."contributor_repo" DROP CONSTRAINT IF EXISTS "cntrb_repo_id_key";
-
-ALTER TABLE "augur_data"."contributor_repo" ADD CONSTRAINT "cntrb_repo_id_key" PRIMARY KEY ("cntrb_repo_id");
-
--- ----------------------------
--- Foreign Keys structure for table contributor_repo
--- ----------------------------
-ALTER TABLE "augur_data"."contributor_repo" DROP CONSTRAINT IF EXISTS "fk_contributor_repo_contributors_1";
-
-ALTER TABLE "augur_data"."contributor_repo" ADD CONSTRAINT "fk_contributor_repo_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE RESTRICT ON UPDATE CASCADE;
-
-update "augur_operations"."augur_settings" set value = 47 where setting = 'augur_data_version';
-
-
-COMMIT;
-
-
-BEGIN;
-
-ALTER TABLE "augur_data"."topic_words"
- DROP CONSTRAINT IF EXISTS "fk_topic_words_repo_topic_1";
-
-update "augur_operations"."augur_settings" set value = 48 where setting = 'augur_data_version';
-
-
-COMMIT;
-
-
-
-
diff --git a/schema/20201025-Release-0.14.0.sql b/schema/20201025-Release-0.14.0.sql
deleted file mode 100644
index 851ed4d7f0..0000000000
--- a/schema/20201025-Release-0.14.0.sql
+++ /dev/null
@@ -1,4412 +0,0 @@
--- #SPDX-License-Identifier: MIT
--- ----------------------------
-
-CREATE SCHEMA IF NOT EXISTS augur_data;
-CREATE SCHEMA IF NOT EXISTS augur_operations;
-CREATE SCHEMA IF NOT EXISTS spdx;
--- create the schemas
--- -----------------------
-
--- ----------------------------
--- Sequence structure for annotation_types_annotation_type_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."annotation_types_annotation_type_id_seq";
-CREATE SEQUENCE "spdx"."annotation_types_annotation_type_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."annotation_types_annotation_type_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for annotations_annotation_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."annotations_annotation_id_seq";
-CREATE SEQUENCE "spdx"."annotations_annotation_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."annotations_annotation_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for augur_repo_map_map_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."augur_repo_map_map_id_seq";
-CREATE SEQUENCE "spdx"."augur_repo_map_map_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."augur_repo_map_map_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for creator_types_creator_type_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."creator_types_creator_type_id_seq";
-CREATE SEQUENCE "spdx"."creator_types_creator_type_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."creator_types_creator_type_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for creators_creator_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."creators_creator_id_seq";
-CREATE SEQUENCE "spdx"."creators_creator_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."creators_creator_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for document_namespaces_document_namespace_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."document_namespaces_document_namespace_id_seq";
-CREATE SEQUENCE "spdx"."document_namespaces_document_namespace_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."document_namespaces_document_namespace_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for documents_creators_document_creator_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."documents_creators_document_creator_id_seq";
-CREATE SEQUENCE "spdx"."documents_creators_document_creator_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."documents_creators_document_creator_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for documents_document_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."documents_document_id_seq";
-CREATE SEQUENCE "spdx"."documents_document_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."documents_document_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for external_refs_external_ref_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."external_refs_external_ref_id_seq";
-CREATE SEQUENCE "spdx"."external_refs_external_ref_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."external_refs_external_ref_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for file_contributors_file_contributor_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."file_contributors_file_contributor_id_seq";
-CREATE SEQUENCE "spdx"."file_contributors_file_contributor_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."file_contributors_file_contributor_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for files_file_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."files_file_id_seq";
-CREATE SEQUENCE "spdx"."files_file_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."files_file_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for files_licenses_file_license_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."files_licenses_file_license_id_seq";
-CREATE SEQUENCE "spdx"."files_licenses_file_license_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."files_licenses_file_license_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for files_scans_file_scan_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."files_scans_file_scan_id_seq";
-CREATE SEQUENCE "spdx"."files_scans_file_scan_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."files_scans_file_scan_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for identifiers_identifier_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."identifiers_identifier_id_seq";
-CREATE SEQUENCE "spdx"."identifiers_identifier_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."identifiers_identifier_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for licenses_license_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."licenses_license_id_seq";
-CREATE SEQUENCE "spdx"."licenses_license_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."licenses_license_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for packages_files_package_file_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."packages_files_package_file_id_seq";
-CREATE SEQUENCE "spdx"."packages_files_package_file_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."packages_files_package_file_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for packages_package_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."packages_package_id_seq";
-CREATE SEQUENCE "spdx"."packages_package_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."packages_package_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for packages_scans_package_scan_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."packages_scans_package_scan_id_seq";
-CREATE SEQUENCE "spdx"."packages_scans_package_scan_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."packages_scans_package_scan_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for projects_package_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."projects_package_id_seq";
-CREATE SEQUENCE "spdx"."projects_package_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."projects_package_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for relationship_types_relationship_type_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."relationship_types_relationship_type_id_seq";
-CREATE SEQUENCE "spdx"."relationship_types_relationship_type_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."relationship_types_relationship_type_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for relationships_relationship_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."relationships_relationship_id_seq";
-CREATE SEQUENCE "spdx"."relationships_relationship_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."relationships_relationship_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for scanners_scanner_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "spdx"."scanners_scanner_id_seq";
-CREATE SEQUENCE "spdx"."scanners_scanner_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 2147483647
-START 1
-CACHE 1;
-ALTER SEQUENCE "spdx"."scanners_scanner_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for augur_settings_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_operations"."augur_settings_id_seq";
-CREATE SEQUENCE "augur_operations"."augur_settings_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_operations"."augur_settings_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for gh_worker_history_history_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_operations"."gh_worker_history_history_id_seq";
-CREATE SEQUENCE "augur_operations"."gh_worker_history_history_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_operations"."gh_worker_history_history_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for worker_oauth_oauth_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_operations"."worker_oauth_oauth_id_seq";
-CREATE SEQUENCE "augur_operations"."worker_oauth_oauth_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1000
-CACHE 1;
-ALTER SEQUENCE "augur_operations"."worker_oauth_oauth_id_seq" OWNER TO "augur";
-
--- ----------------------------
-
--- ----------------------------
--- Sequence structure for augur_data.repo_insights_ri_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."augur_data.repo_insights_ri_id_seq";
-CREATE SEQUENCE "augur_data"."augur_data.repo_insights_ri_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."augur_data.repo_insights_ri_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for chaoss_metric_status_cms_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."chaoss_metric_status_cms_id_seq";
-CREATE SEQUENCE "augur_data"."chaoss_metric_status_cms_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."chaoss_metric_status_cms_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for commit_comment_ref_cmt_comment_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."commit_comment_ref_cmt_comment_id_seq";
-CREATE SEQUENCE "augur_data"."commit_comment_ref_cmt_comment_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."commit_comment_ref_cmt_comment_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for commit_parents_parent_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."commit_parents_parent_id_seq";
-CREATE SEQUENCE "augur_data"."commit_parents_parent_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."commit_parents_parent_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for commits_cmt_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."commits_cmt_id_seq";
-CREATE SEQUENCE "augur_data"."commits_cmt_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."commits_cmt_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for contributor_affiliations_ca_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."contributor_affiliations_ca_id_seq";
-CREATE SEQUENCE "augur_data"."contributor_affiliations_ca_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."contributor_affiliations_ca_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for contributors_aliases_cntrb_a_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."contributors_aliases_cntrb_a_id_seq";
-CREATE SEQUENCE "augur_data"."contributors_aliases_cntrb_a_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."contributors_aliases_cntrb_a_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for contributors_cntrb_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."contributors_cntrb_id_seq";
-CREATE SEQUENCE "augur_data"."contributors_cntrb_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."contributors_cntrb_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for contributors_history_cntrb_history_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."contributors_history_cntrb_history_id_seq";
-CREATE SEQUENCE "augur_data"."contributors_history_cntrb_history_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."contributors_history_cntrb_history_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for discourse_insights_msg_discourse_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."discourse_insights_msg_discourse_id_seq";
-CREATE SEQUENCE "augur_data"."discourse_insights_msg_discourse_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."discourse_insights_msg_discourse_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for issue_assignees_issue_assignee_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."issue_assignees_issue_assignee_id_seq";
-CREATE SEQUENCE "augur_data"."issue_assignees_issue_assignee_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."issue_assignees_issue_assignee_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for issue_events_event_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."issue_events_event_id_seq";
-CREATE SEQUENCE "augur_data"."issue_events_event_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."issue_events_event_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for issue_labels_issue_label_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."issue_labels_issue_label_id_seq";
-CREATE SEQUENCE "augur_data"."issue_labels_issue_label_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."issue_labels_issue_label_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for issue_message_ref_issue_msg_ref_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."issue_message_ref_issue_msg_ref_id_seq";
-CREATE SEQUENCE "augur_data"."issue_message_ref_issue_msg_ref_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."issue_message_ref_issue_msg_ref_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for issue_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."issue_seq";
-CREATE SEQUENCE "augur_data"."issue_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 31000
-CACHE 1;
-ALTER SEQUENCE "augur_data"."issue_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for libraries_library_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."libraries_library_id_seq";
-CREATE SEQUENCE "augur_data"."libraries_library_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."libraries_library_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for library_dependencies_lib_dependency_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."library_dependencies_lib_dependency_id_seq";
-CREATE SEQUENCE "augur_data"."library_dependencies_lib_dependency_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."library_dependencies_lib_dependency_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for library_version_library_version_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."library_version_library_version_id_seq";
-CREATE SEQUENCE "augur_data"."library_version_library_version_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."library_version_library_version_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for lstm_anomaly_models_model_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."lstm_anomaly_models_model_id_seq";
-CREATE SEQUENCE "augur_data"."lstm_anomaly_models_model_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."lstm_anomaly_models_model_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for lstm_anomaly_results_result_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."lstm_anomaly_results_result_id_seq";
-CREATE SEQUENCE "augur_data"."lstm_anomaly_results_result_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."lstm_anomaly_results_result_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for message_analysis_msg_analysis_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."message_analysis_msg_analysis_id_seq";
-CREATE SEQUENCE "augur_data"."message_analysis_msg_analysis_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."message_analysis_msg_analysis_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for message_analysis_summary_msg_summary_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."message_analysis_summary_msg_summary_id_seq";
-CREATE SEQUENCE "augur_data"."message_analysis_summary_msg_summary_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."message_analysis_summary_msg_summary_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for message_msg_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."message_msg_id_seq";
-CREATE SEQUENCE "augur_data"."message_msg_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."message_msg_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for message_sentiment_msg_analysis_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."message_sentiment_msg_analysis_id_seq";
-CREATE SEQUENCE "augur_data"."message_sentiment_msg_analysis_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."message_sentiment_msg_analysis_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for message_sentiment_summary_msg_summary_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."message_sentiment_summary_msg_summary_id_seq";
-CREATE SEQUENCE "augur_data"."message_sentiment_summary_msg_summary_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."message_sentiment_summary_msg_summary_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for platform_pltfrm_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."platform_pltfrm_id_seq";
-CREATE SEQUENCE "augur_data"."platform_pltfrm_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."platform_pltfrm_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_assignees_pr_assignee_map_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_assignees_pr_assignee_map_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_assignees_pr_assignee_map_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_assignees_pr_assignee_map_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_commits_pr_cmt_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_commits_pr_cmt_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_commits_pr_cmt_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_commits_pr_cmt_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_events_pr_event_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_events_pr_event_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_events_pr_event_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_events_pr_event_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_files_pr_file_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_files_pr_file_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_files_pr_file_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25150
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_files_pr_file_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_labels_pr_label_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_labels_pr_label_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_labels_pr_label_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_labels_pr_label_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_message_ref_pr_msg_ref_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_message_ref_pr_msg_ref_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_message_ref_pr_msg_ref_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_message_ref_pr_msg_ref_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_meta_pr_repo_meta_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_meta_pr_repo_meta_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_meta_pr_repo_meta_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_meta_pr_repo_meta_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_repo_pr_repo_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_repo_pr_repo_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_repo_pr_repo_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_repo_pr_repo_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_reviewers_pr_reviewer_map_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_reviewers_pr_reviewer_map_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_reviewers_pr_reviewer_map_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_reviewers_pr_reviewer_map_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_request_teams_pr_team_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_request_teams_pr_team_id_seq";
-CREATE SEQUENCE "augur_data"."pull_request_teams_pr_team_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_request_teams_pr_team_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for pull_requests_pull_request_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."pull_requests_pull_request_id_seq";
-CREATE SEQUENCE "augur_data"."pull_requests_pull_request_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."pull_requests_pull_request_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for releases_release_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."releases_release_id_seq";
-CREATE SEQUENCE "augur_data"."releases_release_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."releases_release_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_badging_badge_collection_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_badging_badge_collection_id_seq";
-CREATE SEQUENCE "augur_data"."repo_badging_badge_collection_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25012
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_badging_badge_collection_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_cluster_messages_msg_cluster_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_cluster_messages_msg_cluster_id_seq";
-CREATE SEQUENCE "augur_data"."repo_cluster_messages_msg_cluster_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_cluster_messages_msg_cluster_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_group_insights_rgi_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_group_insights_rgi_id_seq";
-CREATE SEQUENCE "augur_data"."repo_group_insights_rgi_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_group_insights_rgi_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_groups_list_serve_rgls_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_groups_list_serve_rgls_id_seq";
-CREATE SEQUENCE "augur_data"."repo_groups_list_serve_rgls_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_groups_list_serve_rgls_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_groups_repo_group_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_groups_repo_group_id_seq";
-CREATE SEQUENCE "augur_data"."repo_groups_repo_group_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_groups_repo_group_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_info_repo_info_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_info_repo_info_id_seq";
-CREATE SEQUENCE "augur_data"."repo_info_repo_info_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_info_repo_info_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_insights_records_ri_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_insights_records_ri_id_seq";
-CREATE SEQUENCE "augur_data"."repo_insights_records_ri_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_insights_records_ri_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_insights_ri_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_insights_ri_id_seq";
-CREATE SEQUENCE "augur_data"."repo_insights_ri_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_insights_ri_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_labor_repo_labor_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_labor_repo_labor_id_seq";
-CREATE SEQUENCE "augur_data"."repo_labor_repo_labor_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_labor_repo_labor_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_meta_rmeta_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_meta_rmeta_id_seq";
-CREATE SEQUENCE "augur_data"."repo_meta_rmeta_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_meta_rmeta_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_repo_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_repo_id_seq";
-CREATE SEQUENCE "augur_data"."repo_repo_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_repo_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_sbom_scans_rsb_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_sbom_scans_rsb_id_seq";
-CREATE SEQUENCE "augur_data"."repo_sbom_scans_rsb_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_sbom_scans_rsb_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_stats_rstat_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_stats_rstat_id_seq";
-CREATE SEQUENCE "augur_data"."repo_stats_rstat_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 25430
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_stats_rstat_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_test_coverage_repo_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_test_coverage_repo_id_seq";
-CREATE SEQUENCE "augur_data"."repo_test_coverage_repo_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_test_coverage_repo_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for repo_topic_repo_topic_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."repo_topic_repo_topic_id_seq";
-CREATE SEQUENCE "augur_data"."repo_topic_repo_topic_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."repo_topic_repo_topic_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for topic_words_topic_words_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."topic_words_topic_words_id_seq";
-CREATE SEQUENCE "augur_data"."topic_words_topic_words_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."topic_words_topic_words_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for utility_log_id_seq
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."utility_log_id_seq";
-CREATE SEQUENCE "augur_data"."utility_log_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."utility_log_id_seq" OWNER TO "augur";
-
--- ----------------------------
--- Sequence structure for utility_log_id_seq1
--- ----------------------------
-DROP SEQUENCE IF EXISTS "augur_data"."utility_log_id_seq1";
-CREATE SEQUENCE "augur_data"."utility_log_id_seq1"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 1
-CACHE 1;
-ALTER SEQUENCE "augur_data"."utility_log_id_seq1" OWNER TO "augur";
-
--- ----------------------------
-
-ALTER TABLE IF EXISTS "augur_data"."commit_comment_ref" DROP CONSTRAINT "fk_commit_comment_ref_commits_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commit_comment_ref" DROP CONSTRAINT "fk_commit_comment_ref_message_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commit_parents" DROP CONSTRAINT "fk_commit_parents_commits_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commit_parents" DROP CONSTRAINT "fk_commit_parents_commits_2" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commits" DROP CONSTRAINT "fk_commits_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commits" DROP CONSTRAINT "fk_commits_contributors_2" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commits" DROP CONSTRAINT "fk_commits_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."contributors_aliases" DROP CONSTRAINT "fk_contributors_aliases_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."contributors_history" DROP CONSTRAINT "fk_contributors_history_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."discourse_insights" DROP CONSTRAINT "fk_discourse_insights_message_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_assignees" DROP CONSTRAINT "fk_issue_assignees_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_assignees" DROP CONSTRAINT "fk_issue_assignees_issues_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_events" DROP CONSTRAINT "fk_issue_events_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_events" DROP CONSTRAINT "fk_issue_events_issues_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_labels" DROP CONSTRAINT "fk_issue_labels_issues_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_message_ref" DROP CONSTRAINT "fk_issue_message_ref_issues_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_message_ref" DROP CONSTRAINT "fk_issue_message_ref_message_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issues" DROP CONSTRAINT "fk_issues_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issues" DROP CONSTRAINT "fk_issues_contributors_2" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issues" DROP CONSTRAINT "fk_issues_repo" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."libraries" DROP CONSTRAINT "fk_libraries_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."library_dependencies" DROP CONSTRAINT "fk_library_dependencies_libraries_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."library_version" DROP CONSTRAINT "fk_library_version_libraries_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."lstm_anomaly_results" DROP CONSTRAINT "fk_lstm_anomaly_results_lstm_anomaly_models_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."lstm_anomaly_results" DROP CONSTRAINT "fk_lstm_anomaly_results_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message" DROP CONSTRAINT "fk_message_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message" DROP CONSTRAINT "fk_message_platform_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message" DROP CONSTRAINT "fk_message_repo_groups_list_serve_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message_analysis" DROP CONSTRAINT "fk_message_analysis_message_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message_analysis_summary" DROP CONSTRAINT "fk_message_analysis_summary_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message_sentiment" DROP CONSTRAINT "fk_message_sentiment_message_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message_sentiment_summary" DROP CONSTRAINT "fk_message_sentiment_summary_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_assignees" DROP CONSTRAINT "fk_pull_request_assignees_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_assignees" DROP CONSTRAINT "fk_pull_request_assignees_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_commits" DROP CONSTRAINT "fk_pull_request_commits_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_events" DROP CONSTRAINT "fk_pull_request_events_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_events" DROP CONSTRAINT "fk_pull_request_events_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_files" DROP CONSTRAINT "fk_pull_request_commits_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_labels" DROP CONSTRAINT "fk_pull_request_labels_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_message_ref" DROP CONSTRAINT "fk_pull_request_message_ref_message_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_message_ref" DROP CONSTRAINT "fk_pull_request_message_ref_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_meta" DROP CONSTRAINT "fk_pull_request_meta_contributors_2" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_meta" DROP CONSTRAINT "fk_pull_request_meta_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_repo" DROP CONSTRAINT "fk_pull_request_repo_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_repo" DROP CONSTRAINT "fk_pull_request_repo_pull_request_meta_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_reviewers" DROP CONSTRAINT "fk_pull_request_reviewers_contributors_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_reviewers" DROP CONSTRAINT "fk_pull_request_reviewers_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_teams" DROP CONSTRAINT "fk_pull_request_teams_pull_requests_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_requests" DROP CONSTRAINT "fk_pull_requests_pull_request_meta_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_requests" DROP CONSTRAINT "fk_pull_requests_pull_request_meta_2" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_requests" DROP CONSTRAINT "fk_pull_requests_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."releases" DROP CONSTRAINT "fk_releases_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo" DROP CONSTRAINT "fk_repo_repo_groups_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_badging" DROP CONSTRAINT "fk_repo_badging_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_cluster_messages" DROP CONSTRAINT "fk_repo_cluster_messages_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_group_insights" DROP CONSTRAINT "fk_repo_group_insights_repo_groups_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_groups_list_serve" DROP CONSTRAINT "fk_repo_groups_list_serve_repo_groups_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_info" DROP CONSTRAINT "fk_repo_info_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_insights" DROP CONSTRAINT "fk_repo_insights_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_insights_records" DROP CONSTRAINT "repo_id_ref" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_labor" DROP CONSTRAINT "fk_repo_labor_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_meta" DROP CONSTRAINT "fk_repo_meta_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_sbom_scans" DROP CONSTRAINT "repo_linker_sbom" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_stats" DROP CONSTRAINT "fk_repo_stats_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_test_coverage" DROP CONSTRAINT "fk_repo_test_coverage_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_topic" DROP CONSTRAINT "fk_repo_topic_repo_1" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."topic_words" DROP CONSTRAINT "fk_topic_words_repo_topic_1" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."annotations" DROP CONSTRAINT "annotations_annotation_type_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."annotations" DROP CONSTRAINT "annotations_creator_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."annotations" DROP CONSTRAINT "annotations_document_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."annotations" DROP CONSTRAINT "annotations_identifier_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."creators" DROP CONSTRAINT "creators_creator_type_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."documents" DROP CONSTRAINT "documents_data_license_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."documents" DROP CONSTRAINT "documents_document_namespace_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."documents" DROP CONSTRAINT "documents_package_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."documents_creators" DROP CONSTRAINT "documents_creators_creator_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."documents_creators" DROP CONSTRAINT "documents_creators_document_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."external_refs" DROP CONSTRAINT "external_refs_document_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."external_refs" DROP CONSTRAINT "external_refs_document_namespace_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."file_contributors" DROP CONSTRAINT "file_contributors_file_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files_licenses" DROP CONSTRAINT "files_licenses_file_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files_licenses" DROP CONSTRAINT "files_licenses_license_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files_scans" DROP CONSTRAINT "files_scans_file_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files_scans" DROP CONSTRAINT "files_scans_scanner_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "identifiers_document_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "identifiers_document_namespace_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "identifiers_package_file_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "identifiers_package_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "fk_package_packages_files" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "packages_concluded_license_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "packages_declared_license_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "packages_originator_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "packages_supplier_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_files" DROP CONSTRAINT "fk_package_files_packages" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_files" DROP CONSTRAINT "packages_files_concluded_license_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_files" DROP CONSTRAINT "packages_files_file_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_scans" DROP CONSTRAINT "packages_scans_package_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_scans" DROP CONSTRAINT "packages_scans_scanner_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."relationships" DROP CONSTRAINT "relationships_left_identifier_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."relationships" DROP CONSTRAINT "relationships_relationship_type_id_fkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."relationships" DROP CONSTRAINT "relationships_right_identifier_id_fkey" CASCADE;
-
-DROP INDEX IF EXISTS "augur_data"."repos_id" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."comment_id" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commit_parents_ibfk_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commit_parents_ibfk_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."author_affiliation" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."author_cntrb_id" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."author_email,author_affiliation,author_date" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."author_raw_email" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cmt-author-date-idx2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cmt-committer-date-idx3" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cmt_author-name-idx5" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cmt_author_contrib_worker" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cmt_cmmter-name-idx4" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cmt_commiter_contrib_worker" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commited" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commits_idx_cmt_email_cmt_date_cmt_name" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commits_idx_cmt_email_cmt_date_cmt_name2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commits_idx_cmt_name_cmt_date2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commits_idx_cmt_name_cmt_date_cmt_date3" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat3" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."committer_affiliation" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."committer_cntrb_id" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."committer_email,committer_affiliation,committer_date" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."committer_raw_email" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,commit" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cnt-fullname" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cntrb-theemail" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."cntrb_login_platform_index" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."contributor_delete_finder" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."contributor_worker_email_finder" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."contributor_worker_finder" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."contributor_worker_fullname_finder" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."contributors_idx_cntrb_email3" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."login" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."login-contributor-idx" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."alias,active" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."canonical,alias" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issue-alias-cntrb-idx1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issue-alias-cntrb-idx2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."contrb-history-dix1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."login_index_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,affiliation_copy_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,email_copy_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,affiliation_copy_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,email_copy_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,affiliation_copy_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,email_copy_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,year,affiliation_copy_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,year,email_copy_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,affiliation" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,email" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,year,affiliation" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."projects_id,year,email" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,affiliation_copy_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,email_copy_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,year,affiliation_copy_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,year,email_copy_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,affiliation" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,email" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,year,affiliation" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repo_id,year,email" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issue-cntrb-assign-idx-1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issue-cntrb-idx2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issue_events_ibfk_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issue_events_ibfk_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issue-cntrb-dix2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issues_ibfk_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issues_ibfk_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."issues_ibfk_4" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."REPO_DEP" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."messagegrouper" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."msg-cntrb-id-idx" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."platformgrouper" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."plat" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."pr_meta_cntrb-idx" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."pr_events_ibfk_1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."pr_events_ibfk_2" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."pr_meta-cntrbid-idx" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."pr-cntrb-idx-repo" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."pr-reviewers-cntrb-idx1" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."id_node" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."forked" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repogitindexrep" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."reponameindex" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."reponameindexbtree" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."rggrouponrepoindex" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."therepo" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."rgidm" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."rgnameindex" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."lister" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."dater" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repos_id,status" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."repos_id,statusops" CASCADE;
-DROP INDEX IF EXISTS "augur_data"."type,projects_id" CASCADE;
-DROP INDEX IF EXISTS "augur_operations"."repos_id,statusops" CASCADE;
-
-ALTER TABLE IF EXISTS "augur_data"."commit_comment_ref" DROP CONSTRAINT "commitcomment" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."contributor_affiliations" DROP CONSTRAINT "unique_domain" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message" DROP CONSTRAINT "REPOGROUPLISTER" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message" DROP CONSTRAINT "platformer" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_groups_list_serve" DROP CONSTRAINT "rglistserve" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."annotation_types" DROP CONSTRAINT "uc_annotation_type_name" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."document_namespaces" DROP CONSTRAINT "uc_document_namespace_uri" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."documents" DROP CONSTRAINT "uc_document_document_namespace_id" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."external_refs" DROP CONSTRAINT "uc_external_ref_document_id_string" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files" DROP CONSTRAINT "uc_file_sha256" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files_licenses" DROP CONSTRAINT "uc_file_license" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files_scans" DROP CONSTRAINT "uc_file_scanner_id" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "uc_identifier_document_namespace_id" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "uc_identifier_namespace_document_id" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "uc_identifier_namespace_package_id" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "uc_identifier_namespace_package_file_id" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."licenses" DROP CONSTRAINT "uc_license_short_name" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "uc_package_sha256" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "uc_dir_code_ver_code" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_files" DROP CONSTRAINT "uc_package_id_file_name" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_scans" DROP CONSTRAINT "uc_package_scanner_id" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."relationship_types" DROP CONSTRAINT "uc_relationship_type_name" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."relationships" DROP CONSTRAINT "uc_left_right_relationship_type" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."scanners" DROP CONSTRAINT "uc_scanner_name" CASCADE;
-
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "ck_identifier_exactly_one" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "uc_sha256_ds2_dir_code_exactly_one" CASCADE;
-
-ALTER TABLE IF EXISTS "augur_data"."chaoss_metric_status" DROP CONSTRAINT "chaoss_metric_status_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commit_comment_ref" DROP CONSTRAINT "commit_comment_ref_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commit_parents" DROP CONSTRAINT "commit_parents_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."commits" DROP CONSTRAINT "commits_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."contributor_affiliations" DROP CONSTRAINT "contributor_affiliations_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."contributors" DROP CONSTRAINT "contributors_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."contributors_aliases" DROP CONSTRAINT "contributors_aliases_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."contributors_history" DROP CONSTRAINT "contributors_history_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."exclude" DROP CONSTRAINT "exclude_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_assignees" DROP CONSTRAINT "issue_assignees_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_events" DROP CONSTRAINT "issue_events_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_labels" DROP CONSTRAINT "issue_labels_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issue_message_ref" DROP CONSTRAINT "issue_message_ref_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."issues" DROP CONSTRAINT "issues_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."libraries" DROP CONSTRAINT "libraries_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."library_dependencies" DROP CONSTRAINT "library_dependencies_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."library_version" DROP CONSTRAINT "library_version_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."lstm_anomaly_models" DROP CONSTRAINT "lstm_anomaly_models_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."lstm_anomaly_results" DROP CONSTRAINT "lstm_anomaly_results_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message" DROP CONSTRAINT "message_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message_analysis" DROP CONSTRAINT "message_analysis_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message_analysis_summary" DROP CONSTRAINT "message_analysis_summary_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message_sentiment" DROP CONSTRAINT "message_sentiment_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."message_sentiment_summary" DROP CONSTRAINT "message_sentiment_summary_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."platform" DROP CONSTRAINT "theplat" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_assignees" DROP CONSTRAINT "pull_request_assignees_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_commits" DROP CONSTRAINT "pull_request_commits_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_events" DROP CONSTRAINT "pr_events_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_files" DROP CONSTRAINT "pull_request_files_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_labels" DROP CONSTRAINT "pull_request_labels_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_message_ref" DROP CONSTRAINT "pull_request_message_ref_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_meta" DROP CONSTRAINT "pull_request_meta_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_repo" DROP CONSTRAINT "pull_request_repo_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_reviewers" DROP CONSTRAINT "pull_request_reviewers_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_teams" DROP CONSTRAINT "pull_request_teams_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."pull_requests" DROP CONSTRAINT "pull_requests_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."releases" DROP CONSTRAINT "releases_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo" DROP CONSTRAINT "repounique" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_badging" DROP CONSTRAINT "repo_badging_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_cluster_messages" DROP CONSTRAINT "repo_cluster_messages_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_group_insights" DROP CONSTRAINT "repo_group_insights_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_groups" DROP CONSTRAINT "rgid" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_groups_list_serve" DROP CONSTRAINT "repo_groups_list_serve_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_info" DROP CONSTRAINT "repo_info_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_insights" DROP CONSTRAINT "repo_insights_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_insights_records" DROP CONSTRAINT "repo_insights_records_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_labor" DROP CONSTRAINT "repo_labor_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_meta" DROP CONSTRAINT "repo_meta_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_sbom_scans" DROP CONSTRAINT "repo_sbom_scans_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_stats" DROP CONSTRAINT "repo_stats_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_test_coverage" DROP CONSTRAINT "repo_test_coverage_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_topic" DROP CONSTRAINT "repo_topic_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."settings" DROP CONSTRAINT "settings_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."topic_words" DROP CONSTRAINT "topic_words_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."utility_log" DROP CONSTRAINT "utility_log_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_operations"."augur_settings" DROP CONSTRAINT "augur_settings_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_operations"."worker_history" DROP CONSTRAINT "history_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_operations"."worker_job" DROP CONSTRAINT "job_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_operations"."worker_oauth" DROP CONSTRAINT "worker_oauth_pkey" CASCADE;
-ALTER TABLE IF EXISTS "augur_operations"."worker_settings_facade" DROP CONSTRAINT "settings_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."annotation_types" DROP CONSTRAINT "annotation_types_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."annotations" DROP CONSTRAINT "annotations_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."augur_repo_map" DROP CONSTRAINT "augur_repo_map_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."creator_types" DROP CONSTRAINT "creator_types_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."creators" DROP CONSTRAINT "creators_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."document_namespaces" DROP CONSTRAINT "document_namespaces_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."documents" DROP CONSTRAINT "documents_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."documents_creators" DROP CONSTRAINT "documents_creators_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."external_refs" DROP CONSTRAINT "external_refs_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."file_contributors" DROP CONSTRAINT "file_contributors_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."file_types" DROP CONSTRAINT "uc_file_type_name" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files" DROP CONSTRAINT "files_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files_licenses" DROP CONSTRAINT "files_licenses_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."files_scans" DROP CONSTRAINT "files_scans_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."identifiers" DROP CONSTRAINT "identifiers_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."licenses" DROP CONSTRAINT "licenses_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages" DROP CONSTRAINT "packages_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_files" DROP CONSTRAINT "packages_files_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."packages_scans" DROP CONSTRAINT "packages_scans_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."projects" DROP CONSTRAINT "projects_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."relationship_types" DROP CONSTRAINT "relationship_types_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."relationships" DROP CONSTRAINT "relationships_pkey" CASCADE;
-ALTER TABLE IF EXISTS "spdx"."scanners" DROP CONSTRAINT "scanners_pkey" CASCADE;
-
-DROP TABLE IF EXISTS "augur_data"."analysis_log" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."chaoss_metric_status" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."commit_comment_ref" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."commit_parents" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."commits" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."contributor_affiliations" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."contributors" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."contributors_aliases" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."contributors_history" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."discourse_insights" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."dm_repo_annual" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."dm_repo_group_annual" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."dm_repo_group_monthly" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."dm_repo_group_weekly" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."dm_repo_monthly" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."dm_repo_weekly" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."exclude" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."issue_assignees" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."issue_events" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."issue_labels" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."issue_message_ref" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."issues" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."libraries" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."library_dependencies" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."library_version" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."lstm_anomaly_models" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."lstm_anomaly_results" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."message" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."message_analysis" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."message_analysis_summary" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."message_sentiment" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."message_sentiment_summary" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."platform" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_assignees" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_commits" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_events" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_files" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_labels" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_message_ref" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_meta" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_repo" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_reviewers" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_request_teams" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."pull_requests" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."releases" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_badging" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_cluster_messages" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_group_insights" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_groups" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_groups_list_serve" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_info" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_insights" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_insights_records" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_labor" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_meta" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_sbom_scans" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_stats" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_test_coverage" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repo_topic" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."repos_fetch_log" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."settings" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."topic_words" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."unknown_cache" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."utility_log" CASCADE;
-DROP TABLE IF EXISTS "augur_data"."working_commits" CASCADE;
-DROP TABLE IF EXISTS "augur_operations"."all" CASCADE;
-DROP TABLE IF EXISTS "augur_operations"."augur_settings" CASCADE;
-DROP TABLE IF EXISTS "augur_operations"."repos_fetch_log" CASCADE;
-DROP TABLE IF EXISTS "augur_operations"."worker_history" CASCADE;
-DROP TABLE IF EXISTS "augur_operations"."worker_job" CASCADE;
-DROP TABLE IF EXISTS "augur_operations"."worker_oauth" CASCADE;
-DROP TABLE IF EXISTS "augur_operations"."worker_settings_facade" CASCADE;
-DROP TABLE IF EXISTS "augur_operations"."working_commits" CASCADE;
-DROP TABLE IF EXISTS "spdx"."annotation_types" CASCADE;
-DROP TABLE IF EXISTS "spdx"."annotations" CASCADE;
-DROP TABLE IF EXISTS "spdx"."augur_repo_map" CASCADE;
-DROP TABLE IF EXISTS "spdx"."creator_types" CASCADE;
-DROP TABLE IF EXISTS "spdx"."creators" CASCADE;
-DROP TABLE IF EXISTS "spdx"."document_namespaces" CASCADE;
-DROP TABLE IF EXISTS "spdx"."documents" CASCADE;
-DROP TABLE IF EXISTS "spdx"."documents_creators" CASCADE;
-DROP TABLE IF EXISTS "spdx"."external_refs" CASCADE;
-DROP TABLE IF EXISTS "spdx"."file_contributors" CASCADE;
-DROP TABLE IF EXISTS "spdx"."file_types" CASCADE;
-DROP TABLE IF EXISTS "spdx"."files" CASCADE;
-DROP TABLE IF EXISTS "spdx"."files_licenses" CASCADE;
-DROP TABLE IF EXISTS "spdx"."files_scans" CASCADE;
-DROP TABLE IF EXISTS "spdx"."identifiers" CASCADE;
-DROP TABLE IF EXISTS "spdx"."licenses" CASCADE;
-DROP TABLE IF EXISTS "spdx"."packages" CASCADE;
-DROP TABLE IF EXISTS "spdx"."packages_files" CASCADE;
-DROP TABLE IF EXISTS "spdx"."packages_scans" CASCADE;
-DROP TABLE IF EXISTS "spdx"."projects" CASCADE;
-DROP TABLE IF EXISTS "spdx"."relationship_types" CASCADE;
-DROP TABLE IF EXISTS "spdx"."relationships" CASCADE;
-DROP TABLE IF EXISTS "spdx"."sbom_scans" CASCADE;
-DROP TABLE IF EXISTS "spdx"."scanners" CASCADE;
-
-CREATE TABLE IF NOT EXISTS "augur_data"."analysis_log" (
- "repos_id" int4 NOT NULL,
- "status" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "date_attempted" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."analysis_log" OWNER TO "augur";
-CREATE INDEX "repos_id" ON "augur_data"."analysis_log" USING btree (
- "repos_id" "pg_catalog"."int4_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."chaoss_metric_status" (
- "cms_id" int8 NOT NULL DEFAULT nextval('"augur_data".chaoss_metric_status_cms_id_seq'::regclass),
- "cm_group" varchar COLLATE "pg_catalog"."default",
- "cm_source" varchar COLLATE "pg_catalog"."default",
- "cm_type" varchar COLLATE "pg_catalog"."default",
- "cm_backend_status" varchar COLLATE "pg_catalog"."default",
- "cm_frontend_status" varchar COLLATE "pg_catalog"."default",
- "cm_defined" bool,
- "cm_api_endpoint_repo" varchar COLLATE "pg_catalog"."default",
- "cm_api_endpoint_rg" varchar COLLATE "pg_catalog"."default",
- "cm_name" varchar COLLATE "pg_catalog"."default",
- "cm_working_group" varchar COLLATE "pg_catalog"."default",
- "cm_info" json,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "cm_working_group_focus_area" varchar COLLATE "pg_catalog"."default",
- CONSTRAINT "chaoss_metric_status_pkey" PRIMARY KEY ("cms_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."chaoss_metric_status" OWNER TO "augur";
-COMMENT ON TABLE "augur_data"."chaoss_metric_status" IS 'This table used to track CHAOSS Metric implementations in Augur, but due to the constantly changing location of that information, it is for the moment not actively populated. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."commit_comment_ref" (
- "cmt_comment_id" int8 NOT NULL DEFAULT nextval('"augur_data".commit_comment_ref_cmt_comment_id_seq'::regclass),
- "cmt_id" int8 NOT NULL,
- "msg_id" int8 NOT NULL,
- "user_id" int8 NOT NULL,
- "body" text COLLATE "pg_catalog"."default",
- "line" int8,
- "position" int8,
- "created_at" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "cmt_comment_src_id" int8 NOT NULL,
- "commit_comment_src_node_id" varchar COLLATE "pg_catalog"."default",
- CONSTRAINT "commit_comment_ref_pkey" PRIMARY KEY ("cmt_comment_id"),
- CONSTRAINT "commitcomment" UNIQUE ("cmt_id", "msg_id", "cmt_comment_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."commit_comment_ref" OWNER TO "augur";
-CREATE INDEX "comment_id" ON "augur_data"."commit_comment_ref" USING btree (
- "cmt_comment_src_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "cmt_comment_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "msg_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."commit_comment_ref"."cmt_comment_src_id" IS 'For data provenance, we store the source ID if it exists. ';
-COMMENT ON COLUMN "augur_data"."commit_comment_ref"."commit_comment_src_node_id" IS 'For data provenance, we store the source node ID if it exists. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."commit_parents" (
- "cmt_id" int8 NOT NULL,
- "parent_id" int8 NOT NULL DEFAULT nextval('"augur_data".commit_parents_parent_id_seq'::regclass),
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "commit_parents_pkey" PRIMARY KEY ("cmt_id", "parent_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."commit_parents" OWNER TO "augur";
-CREATE INDEX "commit_parents_ibfk_1" ON "augur_data"."commit_parents" USING btree (
- "cmt_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "commit_parents_ibfk_2" ON "augur_data"."commit_parents" USING btree (
- "parent_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."commits" (
- "cmt_id" int8 NOT NULL DEFAULT nextval('"augur_data".commits_cmt_id_seq'::regclass),
- "repo_id" int8 NOT NULL,
- "cmt_commit_hash" varchar(80) COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_author_name" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_author_raw_email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_author_email" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_author_date" varchar(10) COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_author_affiliation" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "cmt_committer_name" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_committer_raw_email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_committer_email" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_committer_date" varchar(10) COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_committer_affiliation" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "cmt_added" int4 NOT NULL,
- "cmt_removed" int4 NOT NULL,
- "cmt_whitespace" int4 NOT NULL,
- "cmt_filename" varchar(4096) COLLATE "pg_catalog"."default" NOT NULL,
- "cmt_date_attempted" timestamp(0) NOT NULL,
- "cmt_ght_author_id" int4,
- "cmt_ght_committer_id" int4,
- "cmt_ght_committed_at" timestamp(0),
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "cmt_author_timestamp" timestamptz(0),
- "cmt_committer_timestamp" timestamptz(0),
- CONSTRAINT "commits_pkey" PRIMARY KEY ("cmt_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."commits" OWNER TO "augur";
-CREATE INDEX CONCURRENTLY "author_affiliation" ON "augur_data"."commits" USING hash (
- "cmt_author_affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops"
-);
-CREATE INDEX CONCURRENTLY "author_cntrb_id" ON "augur_data"."commits" USING btree (
- "cmt_ght_author_id" "pg_catalog"."int4_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "author_email,author_affiliation,author_date" ON "augur_data"."commits" USING btree (
- "cmt_author_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "author_raw_email" ON "augur_data"."commits" USING btree (
- "cmt_author_raw_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "cmt-author-date-idx2" ON "augur_data"."commits" USING btree (
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "cmt-committer-date-idx3" ON "augur_data"."commits" USING btree (
- "cmt_committer_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "cmt_author-name-idx5" ON "augur_data"."commits" USING btree (
- "cmt_committer_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "cmt_author_contrib_worker" ON "augur_data"."commits" USING brin (
- "cmt_author_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops",
- "cmt_author_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops",
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops"
-);
-CREATE INDEX CONCURRENTLY "cmt_cmmter-name-idx4" ON "augur_data"."commits" USING btree (
- "cmt_author_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "cmt_commiter_contrib_worker" ON "augur_data"."commits" USING brin (
- "cmt_committer_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops",
- "cmt_committer_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops",
- "cmt_committer_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops"
-);
-CREATE INDEX CONCURRENTLY "commited" ON "augur_data"."commits" USING btree (
- "cmt_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "commits_idx_cmt_email_cmt_date_cmt_name" ON "augur_data"."commits" USING btree (
- "cmt_author_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "commits_idx_cmt_email_cmt_date_cmt_name2" ON "augur_data"."commits" USING btree (
- "cmt_committer_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_committer_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_committer_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "commits_idx_cmt_name_cmt_date2" ON "augur_data"."commits" USING btree (
- "cmt_author_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "commits_idx_cmt_name_cmt_date_cmt_date3" ON "augur_data"."commits" USING btree (
- "cmt_committer_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_committer_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam" ON "augur_data"."commits" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "cmt_author_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam2" ON "augur_data"."commits" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "cmt_committer_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_committer_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_committer_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat2" ON "augur_data"."commits" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "cmt_author_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat3" ON "augur_data"."commits" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "cmt_committer_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_committer_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "committer_affiliation" ON "augur_data"."commits" USING btree (
- "cmt_committer_affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "committer_cntrb_id" ON "augur_data"."commits" USING btree (
- "cmt_ght_committer_id" "pg_catalog"."int4_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "committer_email,committer_affiliation,committer_date" ON "augur_data"."commits" USING btree (
- "cmt_committer_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_committer_affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cmt_committer_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "committer_raw_email" ON "augur_data"."commits" USING btree (
- "cmt_committer_raw_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX CONCURRENTLY "repo_id,commit" ON "augur_data"."commits" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "cmt_commit_hash" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-COMMENT ON TABLE "augur_data"."commits" IS 'Starts with augur.analysis_data table and incorporates GHTorrent commit table attributes if different.
-Cmt_id is from get
-The author and committer ID’s are at the bottom of the table and not required for now because we want to focus on the facade schema’s properties over the ghtorrent properties when they are in conflict. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."contributor_affiliations" (
- "ca_id" int8 NOT NULL DEFAULT nextval('"augur_data".contributor_affiliations_ca_id_seq'::regclass),
- "ca_domain" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
- "ca_start_date" date DEFAULT '1970-01-01'::date,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "ca_last_used" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- "ca_affiliation" varchar COLLATE "pg_catalog"."default",
- "ca_active" int2 DEFAULT 1,
- CONSTRAINT "contributor_affiliations_pkey" PRIMARY KEY ("ca_id"),
- CONSTRAINT "unique_domain" UNIQUE ("ca_domain")
-);
-ALTER TABLE IF EXISTS "augur_data"."contributor_affiliations" OWNER TO "augur";
-COMMENT ON CONSTRAINT "unique_domain" ON "augur_data"."contributor_affiliations" IS 'Only one row should exist for any given top level domain or subdomain. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."contributors" (
- "cntrb_id" int8 NOT NULL DEFAULT nextval('"augur_data".contributors_cntrb_id_seq'::regclass),
- "cntrb_login" varchar(255) COLLATE "pg_catalog"."default",
- "cntrb_email" varchar COLLATE "pg_catalog"."default",
- "cntrb_company" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "cntrb_created_at" timestamp(0),
- "cntrb_type" varchar(255) COLLATE "pg_catalog"."default",
- "cntrb_fake" int2 DEFAULT 0,
- "cntrb_deleted" int2 DEFAULT 0,
- "cntrb_long" numeric(11,8) DEFAULT NULL::numeric,
- "cntrb_lat" numeric(10,8) DEFAULT NULL::numeric,
- "cntrb_country_code" char(3) COLLATE "pg_catalog"."default" DEFAULT NULL::bpchar,
- "cntrb_state" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "cntrb_city" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "cntrb_location" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "cntrb_canonical" varchar COLLATE "pg_catalog"."default",
- "gh_user_id" int8,
- "gh_login" varchar(255) COLLATE "pg_catalog"."default",
- "gh_url" varchar(255) COLLATE "pg_catalog"."default",
- "gh_html_url" varchar(255) COLLATE "pg_catalog"."default",
- "gh_node_id" varchar(255) COLLATE "pg_catalog"."default",
- "gh_avatar_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_gravatar_id" varchar(255) COLLATE "pg_catalog"."default",
- "gh_followers_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_following_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_gists_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_starred_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_subscriptions_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_organizations_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_repos_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_events_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_received_events_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_type" varchar(255) COLLATE "pg_catalog"."default",
- "gh_site_admin" varchar(255) COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "cntrb_full_name" varchar COLLATE "pg_catalog"."default",
- "cntrb_last_used" timestamptz(0) DEFAULT NULL::timestamp with time zone,
- CONSTRAINT "contributors_pkey" PRIMARY KEY ("cntrb_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."contributors" OWNER TO "augur";
-CREATE INDEX "cnt-fullname" ON "augur_data"."contributors" USING hash (
- "cntrb_full_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops"
-);
-CREATE INDEX "cntrb-theemail" ON "augur_data"."contributors" USING hash (
- "cntrb_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops"
-);
-CREATE INDEX "cntrb_login_platform_index" ON "augur_data"."contributors" USING btree (
- "cntrb_login" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "contributor_delete_finder" ON "augur_data"."contributors" USING brin (
- "cntrb_id" "pg_catalog"."int8_minmax_ops",
- "cntrb_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops"
-);
-CREATE INDEX "contributor_worker_email_finder" ON "augur_data"."contributors" USING brin (
- "cntrb_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops"
-);
-CREATE INDEX "contributor_worker_finder" ON "augur_data"."contributors" USING brin (
- "cntrb_login" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops",
- "cntrb_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops",
- "cntrb_id" "pg_catalog"."int8_minmax_ops"
-);
-CREATE INDEX "contributor_worker_fullname_finder" ON "augur_data"."contributors" USING brin (
- "cntrb_full_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_minmax_ops"
-);
-CREATE INDEX "contributors_idx_cntrb_email3" ON "augur_data"."contributors" USING btree (
- "cntrb_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "login" ON "augur_data"."contributors" USING btree (
- "cntrb_login" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "login-contributor-idx" ON "augur_data"."contributors" USING btree (
- "cntrb_login" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."contributors"."cntrb_login" IS 'Will be a double population with the same value as gh_login for github, but the local value for other systems. ';
-COMMENT ON COLUMN "augur_data"."contributors"."cntrb_email" IS 'This needs to be here for matching contributor ids, which are augur, to the commit information. ';
-COMMENT ON COLUMN "augur_data"."contributors"."cntrb_type" IS 'Present in another models. It is not currently used in Augur. ';
-COMMENT ON COLUMN "augur_data"."contributors"."gh_login" IS 'populated with the github user name for github originated data. ';
-COMMENT ON TABLE "augur_data"."contributors" IS 'For GitHub, this should be repeated from gh_login. for other systems, it should be that systems login. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."contributors_aliases" (
- "cntrb_id" int8 NOT NULL,
- "cntrb_a_id" int8 NOT NULL DEFAULT nextval('"augur_data".contributors_aliases_cntrb_a_id_seq'::regclass),
- "canonical_email" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "alias_email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "cntrb_active" int2 NOT NULL DEFAULT 1,
- "cntrb_last_modified" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "contributors_aliases_pkey" PRIMARY KEY ("cntrb_id", "cntrb_a_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."contributors_aliases" OWNER TO "augur";
-CREATE INDEX "alias,active" ON "augur_data"."contributors_aliases" USING btree (
- "alias_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "cntrb_active" "pg_catalog"."int2_ops" ASC NULLS LAST
-);
-CREATE UNIQUE INDEX "canonical,alias" ON "augur_data"."contributors_aliases" USING btree (
- "canonical_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "alias_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "issue-alias-cntrb-idx1" ON "augur_data"."contributors_aliases" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "issue-alias-cntrb-idx2" ON "augur_data"."contributors_aliases" USING btree (
- "cntrb_a_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON TABLE "augur_data"."contributors_aliases" IS 'An alias will need to be created for every contributor in this model, otherwise we will have to look in 2 places. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."contributors_history" (
- "cntrb_history_id" int8 NOT NULL DEFAULT nextval('"augur_data".contributors_history_cntrb_history_id_seq'::regclass),
- "cntrb_id" int8 NOT NULL,
- "cntrb_history_timestamp" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- "cntrb_history_current_bool" bool,
- "cntrb_organizations_list" json,
- "cntrb_gists_count" int8,
- "cntrb_starred_count" int8,
- "cntrb_following_count" int8,
- "cntrb_follower_count" int8,
- "cntrb_login" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "cntrb_email" varchar(255) COLLATE "pg_catalog"."default",
- "cntrb_company" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "cntrb_created_at" timestamp(0) NOT NULL,
- "cntrb_type" varchar(255) COLLATE "pg_catalog"."default",
- "cntrb_fake" int2 NOT NULL DEFAULT 0,
- "cntrb_deleted" int2 NOT NULL DEFAULT 0,
- "cntrb_long" numeric(11,8) DEFAULT NULL::numeric,
- "cntrb_lat" numeric(10,8) DEFAULT NULL::numeric,
- "cntrb_country_code" char(3) COLLATE "pg_catalog"."default" DEFAULT NULL::bpchar,
- "cntrb_state" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "cntrb_city" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "cntrb_location" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "cntrb_canonical" varchar(128) COLLATE "pg_catalog"."default",
- "gh_user_id" int8,
- "gh_login" varchar(255) COLLATE "pg_catalog"."default",
- "gh_url" varchar(255) COLLATE "pg_catalog"."default",
- "gh_html_url" varchar(255) COLLATE "pg_catalog"."default",
- "gh_node_id" varchar(255) COLLATE "pg_catalog"."default",
- "gh_avatar_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_gravatar_id" varchar(255) COLLATE "pg_catalog"."default",
- "gh_followers_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_following_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_gists_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_starred_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_subscriptions_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_organizations_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_repos_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_events_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_received_events_url" varchar(4000) COLLATE "pg_catalog"."default",
- "gh_type" varchar(255) COLLATE "pg_catalog"."default",
- "gh_site_admin" varchar(255) COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "contributors_history_pkey" PRIMARY KEY ("cntrb_history_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."contributors_history" OWNER TO "augur";
-CREATE INDEX "contrb-history-dix1" ON "augur_data"."contributors_history" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "login_index_2" ON "augur_data"."contributors_history" USING btree (
- "cntrb_login" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."contributors_history"."cntrb_history_current_bool" IS 'At some point it would be great to have a boolean updated by a contributor worker that set the most recent contributor data to true. ';
-COMMENT ON COLUMN "augur_data"."contributors_history"."cntrb_login" IS 'Will be a double population with the same value as gh_login for github, but the local value for other systems. ';
-COMMENT ON COLUMN "augur_data"."contributors_history"."cntrb_email" IS 'This needs to be here for matching contributor ids, which are augur, to the commit information. ';
-COMMENT ON COLUMN "augur_data"."contributors_history"."cntrb_type" IS 'Present in another models. It is not currently used in Augur. ';
-COMMENT ON COLUMN "augur_data"."contributors_history"."gh_login" IS 'populated with the github user name for github originated data. ';
-COMMENT ON TABLE "augur_data"."contributors_history" IS 'For GitHub, this should be repeated from gh_login. for other systems, it should be that systems login.
-
-At this time the table is not populated. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."discourse_insights" (
- "msg_discourse_id" serial8,
- "msg_id" int8,
- "discourse_act" varchar,
- "tool_source" varchar,
- "tool_version" varchar,
- "data_source" varchar,
- "data_collection_date" timestamptz DEFAULT CURRENT_TIMESTAMP,
- PRIMARY KEY ("msg_discourse_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."discourse_insights" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."dm_repo_annual" (
- "repo_id" int8 NOT NULL,
- "email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "affiliation" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "year" int2 NOT NULL,
- "added" int8 NOT NULL,
- "removed" int8 NOT NULL,
- "whitespace" int8 NOT NULL,
- "files" int8 NOT NULL,
- "patches" int8 NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."dm_repo_annual" OWNER TO "augur";
-CREATE INDEX "repo_id,affiliation_copy_1" ON "augur_data"."dm_repo_annual" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repo_id,email_copy_1" ON "augur_data"."dm_repo_annual" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."dm_repo_group_annual" (
- "repo_group_id" int8 NOT NULL,
- "email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "affiliation" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "year" int2 NOT NULL,
- "added" int8 NOT NULL,
- "removed" int8 NOT NULL,
- "whitespace" int8 NOT NULL,
- "files" int8 NOT NULL,
- "patches" int8 NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."dm_repo_group_annual" OWNER TO "augur";
-CREATE INDEX "projects_id,affiliation_copy_1" ON "augur_data"."dm_repo_group_annual" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "projects_id,email_copy_1" ON "augur_data"."dm_repo_group_annual" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."dm_repo_group_monthly" (
- "repo_group_id" int8 NOT NULL,
- "email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "affiliation" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "month" int2 NOT NULL,
- "year" int2 NOT NULL,
- "added" int8 NOT NULL,
- "removed" int8 NOT NULL,
- "whitespace" int8 NOT NULL,
- "files" int8 NOT NULL,
- "patches" int8 NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."dm_repo_group_monthly" OWNER TO "augur";
-CREATE INDEX "projects_id,affiliation_copy_2" ON "augur_data"."dm_repo_group_monthly" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "projects_id,email_copy_2" ON "augur_data"."dm_repo_group_monthly" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "projects_id,year,affiliation_copy_1" ON "augur_data"."dm_repo_group_monthly" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "year" "pg_catalog"."int2_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "projects_id,year,email_copy_1" ON "augur_data"."dm_repo_group_monthly" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "year" "pg_catalog"."int2_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."dm_repo_group_weekly" (
- "repo_group_id" int8 NOT NULL,
- "email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "affiliation" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "week" int2 NOT NULL,
- "year" int2 NOT NULL,
- "added" int8 NOT NULL,
- "removed" int8 NOT NULL,
- "whitespace" int8 NOT NULL,
- "files" int8 NOT NULL,
- "patches" int8 NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."dm_repo_group_weekly" OWNER TO "augur";
-CREATE INDEX "projects_id,affiliation" ON "augur_data"."dm_repo_group_weekly" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "projects_id,email" ON "augur_data"."dm_repo_group_weekly" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "projects_id,year,affiliation" ON "augur_data"."dm_repo_group_weekly" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "year" "pg_catalog"."int2_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "projects_id,year,email" ON "augur_data"."dm_repo_group_weekly" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "year" "pg_catalog"."int2_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."dm_repo_monthly" (
- "repo_id" int8 NOT NULL,
- "email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "affiliation" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "month" int2 NOT NULL,
- "year" int2 NOT NULL,
- "added" int8 NOT NULL,
- "removed" int8 NOT NULL,
- "whitespace" int8 NOT NULL,
- "files" int8 NOT NULL,
- "patches" int8 NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."dm_repo_monthly" OWNER TO "augur";
-CREATE INDEX "repo_id,affiliation_copy_2" ON "augur_data"."dm_repo_monthly" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repo_id,email_copy_2" ON "augur_data"."dm_repo_monthly" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repo_id,year,affiliation_copy_1" ON "augur_data"."dm_repo_monthly" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "year" "pg_catalog"."int2_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repo_id,year,email_copy_1" ON "augur_data"."dm_repo_monthly" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "year" "pg_catalog"."int2_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."dm_repo_weekly" (
- "repo_id" int8 NOT NULL,
- "email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "affiliation" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "week" int2 NOT NULL,
- "year" int2 NOT NULL,
- "added" int8 NOT NULL,
- "removed" int8 NOT NULL,
- "whitespace" int8 NOT NULL,
- "files" int8 NOT NULL,
- "patches" int8 NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."dm_repo_weekly" OWNER TO "augur";
-CREATE INDEX "repo_id,affiliation" ON "augur_data"."dm_repo_weekly" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repo_id,email" ON "augur_data"."dm_repo_weekly" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repo_id,year,affiliation" ON "augur_data"."dm_repo_weekly" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "year" "pg_catalog"."int2_ops" ASC NULLS LAST,
- "affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repo_id,year,email" ON "augur_data"."dm_repo_weekly" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "year" "pg_catalog"."int2_ops" ASC NULLS LAST,
- "email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."exclude" (
- "id" int4 NOT NULL,
- "projects_id" int4 NOT NULL,
- "email" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "domain" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- CONSTRAINT "exclude_pkey" PRIMARY KEY ("id")
-);
-ALTER TABLE IF EXISTS "augur_data"."exclude" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."issue_assignees" (
- "issue_assignee_id" int8 NOT NULL DEFAULT nextval('"augur_data".issue_assignees_issue_assignee_id_seq'::regclass),
- "issue_id" int8,
- "cntrb_id" int8,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "issue_assignee_src_id" int8,
- "issue_assignee_src_node" varchar COLLATE "pg_catalog"."default",
- CONSTRAINT "issue_assignees_pkey" PRIMARY KEY ("issue_assignee_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."issue_assignees" OWNER TO "augur";
-CREATE INDEX "issue-cntrb-assign-idx-1" ON "augur_data"."issue_assignees" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."issue_assignees"."issue_assignee_src_id" IS 'This ID comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue events API in the issue_assignees embedded JSON object. We may discover it is an ID for the person themselves; but my hypothesis is that its not.';
-COMMENT ON COLUMN "augur_data"."issue_assignees"."issue_assignee_src_node" IS 'This character based identifier comes from the source. In the case of GitHub, it is the id that is the second field returned from the issue events API in the issue_assignees embedded JSON object. We may discover it is an ID for the person themselves; but my hypothesis is that its not.';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."issue_events" (
- "event_id" int8 NOT NULL DEFAULT nextval('"augur_data".issue_events_event_id_seq'::regclass),
- "issue_id" int8 NOT NULL,
- "cntrb_id" int8 NOT NULL,
- "action" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "action_commit_hash" varchar COLLATE "pg_catalog"."default",
- "created_at" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- "node_id" varchar COLLATE "pg_catalog"."default",
- "node_url" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "issue_event_src_id" int8,
- CONSTRAINT "issue_events_pkey" PRIMARY KEY ("event_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."issue_events" OWNER TO "augur";
-CREATE INDEX "issue-cntrb-idx2" ON "augur_data"."issue_events" USING btree (
- "issue_event_src_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "issue_events_ibfk_1" ON "augur_data"."issue_events" USING btree (
- "issue_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "issue_events_ibfk_2" ON "augur_data"."issue_events" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."issue_events"."node_id" IS 'This should be renamed to issue_event_src_node_id, as its the varchar identifier in GitHub and likely common in other sources as well. However, since it was created before we came to this naming standard and workers are built around it, we have it simply named as node_id. Anywhere you see node_id in the schema, it comes from GitHubs terminology.';
-COMMENT ON COLUMN "augur_data"."issue_events"."issue_event_src_id" IS 'This ID comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue events API';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."issue_labels" (
- "issue_label_id" int8 NOT NULL DEFAULT nextval('"augur_data".issue_labels_issue_label_id_seq'::regclass),
- "issue_id" int8,
- "label_text" varchar COLLATE "pg_catalog"."default",
- "label_description" varchar COLLATE "pg_catalog"."default",
- "label_color" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "label_src_id" int8,
- "label_src_node_id" varchar COLLATE "pg_catalog"."default",
- CONSTRAINT "issue_labels_pkey" PRIMARY KEY ("issue_label_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."issue_labels" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."issue_labels"."label_src_id" IS 'This character based identifier (node) comes from the source. In the case of GitHub, it is the id that is the second field returned from the issue events API JSON subsection for issues.';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."issue_message_ref" (
- "issue_msg_ref_id" int8 NOT NULL DEFAULT nextval('"augur_data".issue_message_ref_issue_msg_ref_id_seq'::regclass),
- "issue_id" int8,
- "msg_id" int8,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "issue_msg_ref_src_comment_id" int8,
- "issue_msg_ref_src_node_id" varchar COLLATE "pg_catalog"."default",
- CONSTRAINT "issue_message_ref_pkey" PRIMARY KEY ("issue_msg_ref_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."issue_message_ref" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."issue_message_ref"."issue_msg_ref_src_comment_id" IS 'This ID comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue comments API';
-COMMENT ON COLUMN "augur_data"."issue_message_ref"."issue_msg_ref_src_node_id" IS 'This character based identifier comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue comments API';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."issues" (
- "issue_id" int8 NOT NULL DEFAULT nextval('"augur_data".issue_seq'::regclass),
- "repo_id" int8,
- "reporter_id" int8,
- "pull_request" int8,
- "pull_request_id" int8,
- "created_at" timestamp(0),
- "issue_title" varchar(500) COLLATE "pg_catalog"."default",
- "issue_body" text COLLATE "pg_catalog"."default",
- "cntrb_id" int8,
- "comment_count" int8,
- "updated_at" timestamp(0),
- "closed_at" timestamp(0),
- "due_on" timestamp(0),
- "repository_url" varchar(4000) COLLATE "pg_catalog"."default",
- "issue_url" varchar(4000) COLLATE "pg_catalog"."default",
- "labels_url" varchar(4000) COLLATE "pg_catalog"."default",
- "comments_url" varchar(4000) COLLATE "pg_catalog"."default",
- "events_url" varchar(4000) COLLATE "pg_catalog"."default",
- "html_url" varchar(4000) COLLATE "pg_catalog"."default",
- "issue_state" varchar(255) COLLATE "pg_catalog"."default",
- "issue_node_id" varchar COLLATE "pg_catalog"."default",
- "gh_issue_id" int8,
- "gh_user_id" int8,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "gh_issue_number" int8,
- CONSTRAINT "issues_pkey" PRIMARY KEY ("issue_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."issues" OWNER TO "augur";
-CREATE INDEX "issue-cntrb-dix2" ON "augur_data"."issues" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "issues_ibfk_1" ON "augur_data"."issues" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "issues_ibfk_2" ON "augur_data"."issues" USING btree (
- "reporter_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "issues_ibfk_4" ON "augur_data"."issues" USING btree (
- "pull_request_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."issues"."reporter_id" IS 'The ID of the person who opened the issue. ';
-COMMENT ON COLUMN "augur_data"."issues"."cntrb_id" IS 'The ID of the person who closed the issue. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."libraries" (
- "library_id" int8 NOT NULL DEFAULT nextval('"augur_data".libraries_library_id_seq'::regclass),
- "repo_id" int8,
- "platform" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "name" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "created_timestamp" timestamp(0) DEFAULT NULL::timestamp without time zone,
- "updated_timestamp" timestamp(0) DEFAULT NULL::timestamp without time zone,
- "library_description" varchar(2000) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "keywords" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "library_homepage" varchar(1000) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "license" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "version_count" int4,
- "latest_release_timestamp" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "latest_release_number" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "package_manager_id" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "dependency_count" int4,
- "dependent_library_count" int4,
- "primary_language" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "libraries_pkey" PRIMARY KEY ("library_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."libraries" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."library_dependencies" (
- "lib_dependency_id" int8 NOT NULL DEFAULT nextval('"augur_data".library_dependencies_lib_dependency_id_seq'::regclass),
- "library_id" int8,
- "manifest_platform" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "manifest_filepath" varchar(1000) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "manifest_kind" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "repo_id_branch" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "library_dependencies_pkey" PRIMARY KEY ("lib_dependency_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."library_dependencies" OWNER TO "augur";
-CREATE INDEX "REPO_DEP" ON "augur_data"."library_dependencies" USING btree (
- "library_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."library_version" (
- "library_version_id" int8 NOT NULL DEFAULT nextval('"augur_data".library_version_library_version_id_seq'::regclass),
- "library_id" int8,
- "library_platform" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "version_number" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "version_release_date" timestamp(0) DEFAULT NULL::timestamp without time zone,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "library_version_pkey" PRIMARY KEY ("library_version_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."library_version" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."lstm_anomaly_models" (
- "model_id" int8 NOT NULL DEFAULT nextval('"augur_data".lstm_anomaly_models_model_id_seq'::regclass),
- "model_name" varchar COLLATE "pg_catalog"."default",
- "model_description" varchar COLLATE "pg_catalog"."default",
- "look_back_days" int8,
- "training_days" int8,
- "batch_size" int8,
- "metric" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(6) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "lstm_anomaly_models_pkey" PRIMARY KEY ("model_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."lstm_anomaly_models" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."lstm_anomaly_results" (
- "result_id" int8 NOT NULL DEFAULT nextval('"augur_data".lstm_anomaly_results_result_id_seq'::regclass),
- "repo_id" int8,
- "repo_category" varchar COLLATE "pg_catalog"."default",
- "model_id" int8,
- "metric" varchar COLLATE "pg_catalog"."default",
- "contamination_factor" float8,
- "mean_absolute_error" float8,
- "remarks" varchar COLLATE "pg_catalog"."default",
- "metric_field" varchar COLLATE "pg_catalog"."default",
- "mean_absolute_actual_value" float8,
- "mean_absolute_prediction_value" float8,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(6) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "lstm_anomaly_results_pkey" PRIMARY KEY ("result_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."lstm_anomaly_results" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."lstm_anomaly_results"."metric_field" IS 'This is a listing of all of the endpoint fields included in the generation of the metric. Sometimes there is one, sometimes there is more than one. This will list them all. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."message" (
- "msg_id" int8 NOT NULL DEFAULT nextval('"augur_data".message_msg_id_seq'::regclass),
- "rgls_id" int8,
- "msg_text" text COLLATE "pg_catalog"."default",
- "msg_timestamp" timestamp(0),
- "msg_sender_email" varchar(255) COLLATE "pg_catalog"."default",
- "msg_header" varchar(4000) COLLATE "pg_catalog"."default",
- "pltfrm_id" int8 NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- "cntrb_id" int8,
- CONSTRAINT "message_pkey" PRIMARY KEY ("msg_id"),
- CONSTRAINT "REPOGROUPLISTER" UNIQUE ("msg_id", "rgls_id"),
- CONSTRAINT "platformer" UNIQUE ("msg_id", "pltfrm_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."message" OWNER TO "augur";
-CREATE UNIQUE INDEX "messagegrouper" ON "augur_data"."message" USING btree (
- "msg_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "rgls_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "msg-cntrb-id-idx" ON "augur_data"."message" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "platformgrouper" ON "augur_data"."message" USING btree (
- "msg_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "pltfrm_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."message"."cntrb_id" IS 'Not populated for mailing lists. Populated for GitHub issues. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."message_analysis" (
- "msg_analysis_id" int8 NOT NULL DEFAULT nextval('"augur_data".message_analysis_msg_analysis_id_seq'::regclass),
- "msg_id" int8,
- "worker_run_id" int8,
- "sentiment_score" float8,
- "reconstruction_error" float8,
- "novelty_flag" bool,
- "feedback_flag" bool,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "message_analysis_pkey" PRIMARY KEY ("msg_analysis_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."message_analysis" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."message_analysis"."worker_run_id" IS 'This column is used to indicate analyses run by a worker during the same execution period, and is useful for grouping, and time series analysis. ';
-COMMENT ON COLUMN "augur_data"."message_analysis"."sentiment_score" IS 'A sentiment analysis score. Zero is neutral, negative numbers are negative sentiment, and positive numbers are positive sentiment. ';
-COMMENT ON COLUMN "augur_data"."message_analysis"."reconstruction_error" IS 'Each message is converted to a 250 dimensin doc2vec vector, so the reconstruction error is the difference between what the predicted vector and the actual vector.';
-COMMENT ON COLUMN "augur_data"."message_analysis"."novelty_flag" IS 'This is an analysis of the degree to which the message is novel when compared to other messages in a repository. For example when bots are producing numerous identical messages, the novelty score is low. It would also be a low novelty score when several people are making the same coment. ';
-COMMENT ON COLUMN "augur_data"."message_analysis"."feedback_flag" IS 'This exists to provide the user with an opportunity provide feedback on the resulting the sentiment scores. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."message_analysis_summary" (
- "msg_summary_id" int8 NOT NULL DEFAULT nextval('"augur_data".message_analysis_summary_msg_summary_id_seq'::regclass),
- "repo_id" int8,
- "worker_run_id" int8,
- "positive_ratio" float8,
- "negative_ratio" float8,
- "novel_count" int8,
- "period" timestamp(0),
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "message_analysis_summary_pkey" PRIMARY KEY ("msg_summary_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."message_analysis_summary" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."message_analysis_summary"."worker_run_id" IS 'This value should reflect the worker_run_id for the messages summarized in the table. There is not a relation between these two tables for that purpose because its not *really*, relationaly a concept unless we create a third table for "worker_run_id", which we determined was unnecessarily complex. ';
-COMMENT ON COLUMN "augur_data"."message_analysis_summary"."novel_count" IS 'The number of messages identified as novel during the analyzed period';
-COMMENT ON COLUMN "augur_data"."message_analysis_summary"."period" IS 'The whole timeline is divided into periods based on the definition of time period for analysis, which is user specified. Timestamp of the first period to look at, until the end of messages at the data of execution. ';
-COMMENT ON TABLE "augur_data"."message_analysis_summary" IS 'In a relationally perfect world, we would have a table called “message_analysis_run” the incremented the “worker_run_id” for both message_analysis and message_analysis_summary. For now, we decided this was overkill. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."message_sentiment" (
- "msg_analysis_id" int8 NOT NULL DEFAULT nextval('"augur_data".message_sentiment_msg_analysis_id_seq'::regclass),
- "msg_id" int8,
- "worker_run_id" int8,
- "sentiment_score" float8,
- "reconstruction_error" float8,
- "novelty_flag" bool,
- "feedback_flag" bool,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "message_sentiment_pkey" PRIMARY KEY ("msg_analysis_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."message_sentiment" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."message_sentiment"."worker_run_id" IS 'This column is used to indicate analyses run by a worker during the same execution period, and is useful for grouping, and time series analysis. ';
-COMMENT ON COLUMN "augur_data"."message_sentiment"."sentiment_score" IS 'A sentiment analysis score. Zero is neutral, negative numbers are negative sentiment, and positive numbers are positive sentiment. ';
-COMMENT ON COLUMN "augur_data"."message_sentiment"."reconstruction_error" IS 'Each message is converted to a 250 dimensin doc2vec vector, so the reconstruction error is the difference between what the predicted vector and the actual vector.';
-COMMENT ON COLUMN "augur_data"."message_sentiment"."novelty_flag" IS 'This is an analysis of the degree to which the message is novel when compared to other messages in a repository. For example when bots are producing numerous identical messages, the novelty score is low. It would also be a low novelty score when several people are making the same coment. ';
-COMMENT ON COLUMN "augur_data"."message_sentiment"."feedback_flag" IS 'This exists to provide the user with an opportunity provide feedback on the resulting the sentiment scores. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."message_sentiment_summary" (
- "msg_summary_id" int8 NOT NULL DEFAULT nextval('"augur_data".message_sentiment_summary_msg_summary_id_seq'::regclass),
- "repo_id" int8,
- "worker_run_id" int8,
- "positive_ratio" float8,
- "negative_ratio" float8,
- "novel_count" int8,
- "period" timestamp(0),
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "message_sentiment_summary_pkey" PRIMARY KEY ("msg_summary_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."message_sentiment_summary" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."message_sentiment_summary"."worker_run_id" IS 'This value should reflect the worker_run_id for the messages summarized in the table. There is not a relation between these two tables for that purpose because its not *really*, relationaly a concept unless we create a third table for "worker_run_id", which we determined was unnecessarily complex. ';
-COMMENT ON COLUMN "augur_data"."message_sentiment_summary"."novel_count" IS 'The number of messages identified as novel during the analyzed period';
-COMMENT ON COLUMN "augur_data"."message_sentiment_summary"."period" IS 'The whole timeline is divided into periods based on the definition of time period for analysis, which is user specified. Timestamp of the first period to look at, until the end of messages at the data of execution. ';
-COMMENT ON TABLE "augur_data"."message_sentiment_summary" IS 'In a relationally perfect world, we would have a table called “message_sentiment_run” the incremented the “worker_run_id” for both message_sentiment and message_sentiment_summary. For now, we decided this was overkill. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."platform" (
- "pltfrm_id" int8 NOT NULL DEFAULT nextval('"augur_data".platform_pltfrm_id_seq'::regclass),
- "pltfrm_name" varchar(255) COLLATE "pg_catalog"."default",
- "pltfrm_version" varchar(255) COLLATE "pg_catalog"."default",
- "pltfrm_release_date" date,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "theplat" PRIMARY KEY ("pltfrm_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."platform" OWNER TO "augur";
-CREATE UNIQUE INDEX "plat" ON "augur_data"."platform" USING btree (
- "pltfrm_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_assignees" (
- "pr_assignee_map_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_assignees_pr_assignee_map_id_seq'::regclass),
- "pull_request_id" int8,
- "contrib_id" int8,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_assignees_pkey" PRIMARY KEY ("pr_assignee_map_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_assignees" OWNER TO "augur";
-CREATE INDEX "pr_meta_cntrb-idx" ON "augur_data"."pull_request_assignees" USING btree (
- "contrib_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_commits" (
- "pr_cmt_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_commits_pr_cmt_id_seq'::regclass),
- "pull_request_id" int8,
- "pr_cmt_sha" varchar COLLATE "pg_catalog"."default",
- "pr_cmt_node_id" varchar COLLATE "pg_catalog"."default",
- "pr_cmt_message" varchar COLLATE "pg_catalog"."default",
- "pr_cmt_comments_url" varbit,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_commits_pkey" PRIMARY KEY ("pr_cmt_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_commits" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."pull_request_commits"."pr_cmt_sha" IS 'This is the commit SHA for a pull request commit. If the PR is not to the master branch of the main repository (or, in rare cases, from it), then you will NOT find a corresponding commit SHA in the commit table. (see table comment for further explanation). ';
-COMMENT ON TABLE "augur_data"."pull_request_commits" IS 'Pull request commits are an enumeration of each commit associated with a pull request.
-Not all pull requests are from a branch or fork into master.
-The commits table intends to count only commits that end up in the master branch (i.e., part of the deployed code base for a project).
-Therefore, there will be commit “SHA”’s in this table that are no associated with a commit SHA in the commits table.
-In cases where the PR is to the master branch of a project, you will find a match. In cases where the PR does not involve the master branch, you will not find a corresponding commit SHA in the commits table. This is expected. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_events" (
- "pr_event_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_events_pr_event_id_seq'::regclass),
- "pull_request_id" int8 NOT NULL,
- "cntrb_id" int8 NOT NULL,
- "action" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "action_commit_hash" varchar COLLATE "pg_catalog"."default",
- "created_at" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- "issue_event_src_id" int8,
- "node_id" varchar COLLATE "pg_catalog"."default",
- "node_url" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pr_events_pkey" PRIMARY KEY ("pr_event_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_events" OWNER TO "augur";
-CREATE INDEX "pr_events_ibfk_1" ON "augur_data"."pull_request_events" USING btree (
- "pull_request_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "pr_events_ibfk_2" ON "augur_data"."pull_request_events" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."pull_request_events"."issue_event_src_id" IS 'This ID comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue events API';
-COMMENT ON COLUMN "augur_data"."pull_request_events"."node_id" IS 'This should be renamed to issue_event_src_node_id, as its the varchar identifier in GitHub and likely common in other sources as well. However, since it was created before we came to this naming standard and workers are built around it, we have it simply named as node_id. Anywhere you see node_id in the schema, it comes from GitHubs terminology.';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_files" (
- "pull_request_id" int8,
- "pr_file_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_files_pr_file_id_seq'::regclass),
- "pr_file_additions" int8,
- "pr_file_deletions" int8,
- "pr_file_path" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_files_pkey" PRIMARY KEY ("pr_file_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_files" OWNER TO "augur";
-COMMENT ON TABLE "augur_data"."pull_request_files" IS 'Pull request commits are an enumeration of each commit associated with a pull request.
-Not all pull requests are from a branch or fork into master.
-The commits table intends to count only commits that end up in the master branch (i.e., part of the deployed code base for a project).
-Therefore, there will be commit “SHA”’s in this table that are no associated with a commit SHA in the commits table.
-In cases where the PR is to the master branch of a project, you will find a match. In cases where the PR does not involve the master branch, you will not find a corresponding commit SHA in the commits table. This is expected. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_labels" (
- "pr_label_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_labels_pr_label_id_seq'::regclass),
- "pull_request_id" int8,
- "pr_src_id" int8,
- "pr_src_node_id" varchar COLLATE "pg_catalog"."default",
- "pr_src_url" varchar COLLATE "pg_catalog"."default",
- "pr_src_description" varchar COLLATE "pg_catalog"."default",
- "pr_src_color" varchar COLLATE "pg_catalog"."default",
- "pr_src_default_bool" bool,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_labels_pkey" PRIMARY KEY ("pr_label_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_labels" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_message_ref" (
- "pr_msg_ref_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_message_ref_pr_msg_ref_id_seq'::regclass),
- "pull_request_id" int8,
- "msg_id" int8,
- "pr_message_ref_src_comment_id" int8,
- "pr_message_ref_src_node_id" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_message_ref_pkey" PRIMARY KEY ("pr_msg_ref_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_message_ref" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_meta" (
- "pr_repo_meta_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_meta_pr_repo_meta_id_seq'::regclass),
- "pull_request_id" int8,
- "pr_head_or_base" varchar COLLATE "pg_catalog"."default",
- "pr_src_meta_label" varchar COLLATE "pg_catalog"."default",
- "pr_src_meta_ref" varchar COLLATE "pg_catalog"."default",
- "pr_sha" varchar COLLATE "pg_catalog"."default",
- "cntrb_id" int8,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_meta_pkey" PRIMARY KEY ("pr_repo_meta_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_meta" OWNER TO "augur";
-CREATE INDEX "pr_meta-cntrbid-idx" ON "augur_data"."pull_request_meta" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."pull_request_meta"."pr_head_or_base" IS 'Each pull request should have one and only one head record; and one and only one base record. ';
-COMMENT ON COLUMN "augur_data"."pull_request_meta"."pr_src_meta_label" IS 'This is a representation of the repo:branch information in the pull request. Head is issueing the pull request and base is taking the pull request. For example: (We do not store all of this)
-
- "head": {
- "label": "chaoss:pull-request-worker",
- "ref": "pull-request-worker",
- "sha": "6b380c3d6d625616f79d702612ebab6d204614f2",
- "user": {
- "login": "chaoss",
- "id": 29740296,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2",
- "avatar_url": "https://avatars2.githubusercontent.com/u/29740296?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/chaoss",
- "html_url": "https://github.com/chaoss",
- "followers_url": "https://api.github.com/users/chaoss/followers",
- "following_url": "https://api.github.com/users/chaoss/following{/other_user}",
- "gists_url": "https://api.github.com/users/chaoss/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/chaoss/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/chaoss/subscriptions",
- "organizations_url": "https://api.github.com/users/chaoss/orgs",
- "repos_url": "https://api.github.com/users/chaoss/repos",
- "events_url": "https://api.github.com/users/chaoss/events{/privacy}",
- "received_events_url": "https://api.github.com/users/chaoss/received_events",
- "type": "Organization",
- "site_admin": false
- },
- "repo": {
- "id": 78134122,
- "node_id": "MDEwOlJlcG9zaXRvcnk3ODEzNDEyMg==",
- "name": "augur",
- "full_name": "chaoss/augur",
- "private": false,
- "owner": {
- "login": "chaoss",
- "id": 29740296,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2",
- "avatar_url": "https://avatars2.githubusercontent.com/u/29740296?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/chaoss",
- "html_url": "https://github.com/chaoss",
- "followers_url": "https://api.github.com/users/chaoss/followers",
- "following_url": "https://api.github.com/users/chaoss/following{/other_user}",
- "gists_url": "https://api.github.com/users/chaoss/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/chaoss/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/chaoss/subscriptions",
- "organizations_url": "https://api.github.com/users/chaoss/orgs",
- "repos_url": "https://api.github.com/users/chaoss/repos",
- "events_url": "https://api.github.com/users/chaoss/events{/privacy}",
- "received_events_url": "https://api.github.com/users/chaoss/received_events",
- "type": "Organization",
- "site_admin": false
- },
- "html_url": "https://github.com/chaoss/augur",
- "description": "Python library and web service for Open Source Software Health and Sustainability metrics & data collection.",
- "fork": false,
- "url": "https://api.github.com/repos/chaoss/augur",
- "forks_url": "https://api.github.com/repos/chaoss/augur/forks",
- "keys_url": "https://api.github.com/repos/chaoss/augur/keys{/key_id}",
- "collaborators_url": "https://api.github.com/repos/chaoss/augur/collaborators{/collaborator}",
- "teams_url": "https://api.github.com/repos/chaoss/augur/teams",
- "hooks_url": "https://api.github.com/repos/chaoss/augur/hooks",
- "issue_events_url": "https://api.github.com/repos/chaoss/augur/issues/events{/number}",
- "events_url": "https://api.github.com/repos/chaoss/augur/events",
- "assignees_url": "https://api.github.com/repos/chaoss/augur/assignees{/user}",
- "branches_url": "https://api.github.com/repos/chaoss/augur/branches{/branch}",
- "tags_url": "https://api.github.com/repos/chaoss/augur/tags",
- "blobs_url": "https://api.github.com/repos/chaoss/augur/git/blobs{/sha}",
- "git_tags_url": "https://api.github.com/repos/chaoss/augur/git/tags{/sha}",
- "git_refs_url": "https://api.github.com/repos/chaoss/augur/git/refs{/sha}",
- "trees_url": "https://api.github.com/repos/chaoss/augur/git/trees{/sha}",
- "statuses_url": "https://api.github.com/repos/chaoss/augur/statuses/{sha}",
- "languages_url": "https://api.github.com/repos/chaoss/augur/languages",
- "stargazers_url": "https://api.github.com/repos/chaoss/augur/stargazers",
- "contributors_url": "https://api.github.com/repos/chaoss/augur/contributors",
- "subscribers_url": "https://api.github.com/repos/chaoss/augur/subscribers",
- "subscription_url": "https://api.github.com/repos/chaoss/augur/subscription",
- "commits_url": "https://api.github.com/repos/chaoss/augur/commits{/sha}",
- "git_commits_url": "https://api.github.com/repos/chaoss/augur/git/commits{/sha}",
- "comments_url": "https://api.github.com/repos/chaoss/augur/comments{/number}",
- "issue_comment_url": "https://api.github.com/repos/chaoss/augur/issues/comments{/number}",
- "contents_url": "https://api.github.com/repos/chaoss/augur/contents/{+path}",
- "compare_url": "https://api.github.com/repos/chaoss/augur/compare/{base}...{head}",
- "merges_url": "https://api.github.com/repos/chaoss/augur/merges",
- "archive_url": "https://api.github.com/repos/chaoss/augur/{archive_format}{/ref}",
- "downloads_url": "https://api.github.com/repos/chaoss/augur/downloads",
- "issues_url": "https://api.github.com/repos/chaoss/augur/issues{/number}",
- "pulls_url": "https://api.github.com/repos/chaoss/augur/pulls{/number}",
- "milestones_url": "https://api.github.com/repos/chaoss/augur/milestones{/number}",
- "notifications_url": "https://api.github.com/repos/chaoss/augur/notifications{?since,all,participating}",
- "labels_url": "https://api.github.com/repos/chaoss/augur/labels{/name}",
- "releases_url": "https://api.github.com/repos/chaoss/augur/releases{/id}",
- "deployments_url": "https://api.github.com/repos/chaoss/augur/deployments",
- "created_at": "2017-01-05T17:34:54Z",
- "updated_at": "2019-11-15T00:56:12Z",
- "pushed_at": "2019-12-02T06:27:26Z",
- "git_url": "git://github.com/chaoss/augur.git",
- "ssh_url": "git@github.com:chaoss/augur.git",
- "clone_url": "https://github.com/chaoss/augur.git",
- "svn_url": "https://github.com/chaoss/augur",
- "homepage": "http://augur.osshealth.io/",
- "size": 82004,
- "stargazers_count": 153,
- "watchers_count": 153,
- "language": "Python",
- "has_issues": true,
- "has_projects": false,
- "has_downloads": true,
- "has_wiki": false,
- "has_pages": true,
- "forks_count": 205,
- "mirror_url": null,
- "archived": false,
- "disabled": false,
- "open_issues_count": 14,
- "license": {
- "key": "mit",
- "name": "MIT License",
- "spdx_id": "MIT",
- "url": "https://api.github.com/licenses/mit",
- "node_id": "MDc6TGljZW5zZTEz"
- },
- "forks": 205,
- "open_issues": 14,
- "watchers": 153,
- "default_branch": "master"
- }
- },
- "base": {
- "label": "chaoss:dev",
- "ref": "dev",
- "sha": "bfd2d34b51659613dd842cf83c3873f7699c2a0e",
- "user": {
- "login": "chaoss",
- "id": 29740296,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2",
- "avatar_url": "https://avatars2.githubusercontent.com/u/29740296?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/chaoss",
- "html_url": "https://github.com/chaoss",
- "followers_url": "https://api.github.com/users/chaoss/followers",
- "following_url": "https://api.github.com/users/chaoss/following{/other_user}",
- "gists_url": "https://api.github.com/users/chaoss/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/chaoss/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/chaoss/subscriptions",
- "organizations_url": "https://api.github.com/users/chaoss/orgs",
- "repos_url": "https://api.github.com/users/chaoss/repos",
- "events_url": "https://api.github.com/users/chaoss/events{/privacy}",
- "received_events_url": "https://api.github.com/users/chaoss/received_events",
- "type": "Organization",
- "site_admin": false
- },
- "repo": {
- "id": 78134122,
- "node_id": "MDEwOlJlcG9zaXRvcnk3ODEzNDEyMg==",
- "name": "augur",
- "full_name": "chaoss/augur",
- "private": false,
- "owner": {
- "login": "chaoss",
- "id": 29740296,
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2",
- "avatar_url": "https://avatars2.githubusercontent.com/u/29740296?v=4",
- "gravatar_id": "",
- "url": "https://api.github.com/users/chaoss",
- "html_url": "https://github.com/chaoss",
- "followers_url": "https://api.github.com/users/chaoss/followers",
- "following_url": "https://api.github.com/users/chaoss/following{/other_user}",
- "gists_url": "https://api.github.com/users/chaoss/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/chaoss/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/chaoss/subscriptions",
- "organizations_url": "https://api.github.com/users/chaoss/orgs",
- "repos_url": "https://api.github.com/users/chaoss/repos",
- "events_url": "https://api.github.com/users/chaoss/events{/privacy}",
- "received_events_url": "https://api.github.com/users/chaoss/received_events",
- "type": "Organization",
- "site_admin": false
- },
-';
-COMMENT ON TABLE "augur_data"."pull_request_meta" IS 'Pull requests contain referencing metadata. There are a few columns that are discrete. There are also head and base designations for the repo on each side of the pull request. Similar functions exist in GitLab, though the language here is based on GitHub. The JSON Being adapted to as of the development of this schema is here: "base": { "label": "chaoss:dev", "ref": "dev", "sha": "dc6c6f3947f7dc84ecba3d8bda641ef786e7027d", "user": { "login": "chaoss", "id": 29740296, "node_id": "MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2", "avatar_url": "https://avatars2.githubusercontent.com/u/29740296?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chaoss", "html_url": "https://github.com/chaoss", "followers_url": "https://api.github.com/users/chaoss/followers", "following_url": "https://api.github.com/users/chaoss/following{/other_user}", "gists_url": "https://api.github.com/users/chaoss/gists{/gist_id}", "starred_url": "https://api.github.com/users/chaoss/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chaoss/subscriptions", "organizations_url": "https://api.github.com/users/chaoss/orgs", "repos_url": "https://api.github.com/users/chaoss/repos", "events_url": "https://api.github.com/users/chaoss/events{/privacy}", "received_events_url": "https://api.github.com/users/chaoss/received_events", "type": "Organization", "site_admin": false }, "repo": { "id": 78134122, "node_id": "MDEwOlJlcG9zaXRvcnk3ODEzNDEyMg==", "name": "augur", "full_name": "chaoss/augur", "private": false, "owner": { "login": "chaoss", "id": 29740296, "node_id": "MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2", "avatar_url": "https://avatars2.githubusercontent.com/u/29740296?v=4", "gravatar_id": "", "url": "https://api.github.com/users/chaoss", "html_url": "https://github.com/chaoss", "followers_url": "https://api.github.com/users/chaoss/followers", "following_url": "https://api.github.com/users/chaoss/following{/other_user}", "gists_url": "https://api.github.com/users/chaoss/gists{/gist_id}", "starred_url": "https://api.github.com/users/chaoss/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chaoss/subscriptions", "organizations_url": "https://api.github.com/users/chaoss/orgs", "repos_url": "https://api.github.com/users/chaoss/repos", "events_url": "https://api.github.com/users/chaoss/events{/privacy}", "received_events_url": "https://api.github.com/users/chaoss/received_events", "type": "Organization", "site_admin": false }, ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_repo" (
- "pr_repo_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_repo_pr_repo_id_seq'::regclass),
- "pr_repo_meta_id" int8,
- "pr_repo_head_or_base" varchar COLLATE "pg_catalog"."default",
- "pr_src_repo_id" int8,
- "pr_src_node_id" varchar COLLATE "pg_catalog"."default",
- "pr_repo_name" varchar COLLATE "pg_catalog"."default",
- "pr_repo_full_name" varchar COLLATE "pg_catalog"."default",
- "pr_repo_private_bool" bool,
- "pr_cntrb_id" int8,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_repo_pkey" PRIMARY KEY ("pr_repo_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_repo" OWNER TO "augur";
-CREATE INDEX "pr-cntrb-idx-repo" ON "augur_data"."pull_request_repo" USING btree (
- "pr_cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."pull_request_repo"."pr_repo_head_or_base" IS 'For ease of validation checking, we should determine if the repository referenced is the head or base of the pull request. Each pull request should have one and only one of these, which is not enforcable easily in the database.';
-COMMENT ON TABLE "augur_data"."pull_request_repo" IS 'This table is for storing information about forks that exist as part of a pull request. Generally we do not want to track these like ordinary repositories. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_reviewers" (
- "pr_reviewer_map_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_reviewers_pr_reviewer_map_id_seq'::regclass),
- "pull_request_id" int8,
- "cntrb_id" int8,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_reviewers_pkey" PRIMARY KEY ("pr_reviewer_map_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_reviewers" OWNER TO "augur";
-CREATE INDEX "pr-reviewers-cntrb-idx1" ON "augur_data"."pull_request_reviewers" USING btree (
- "cntrb_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_request_teams" (
- "pr_team_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_teams_pr_team_id_seq'::regclass),
- "pull_request_id" int8,
- "pr_src_team_id" int8,
- "pr_src_team_node" varchar COLLATE "pg_catalog"."default",
- "pr_src_team_url" varchar COLLATE "pg_catalog"."default",
- "pr_team_name" varchar COLLATE "pg_catalog"."default",
- "pr_team_slug" varchar COLLATE "pg_catalog"."default",
- "pr_team_description" varchar COLLATE "pg_catalog"."default",
- "pr_team_privacy" varchar COLLATE "pg_catalog"."default",
- "pr_team_permission" varchar COLLATE "pg_catalog"."default",
- "pr_team_src_members_url" varchar COLLATE "pg_catalog"."default",
- "pr_team_src_repositories_url" varchar COLLATE "pg_catalog"."default",
- "pr_team_parent_id" int8,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "pull_request_teams_pkey" PRIMARY KEY ("pr_team_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_request_teams" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."pull_requests" (
- "pull_request_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_requests_pull_request_id_seq'::regclass),
- "pr_url" varchar COLLATE "pg_catalog"."default",
- "pr_src_id" int8,
- "pr_src_node_id" varchar COLLATE "pg_catalog"."default",
- "pr_html_url" varchar COLLATE "pg_catalog"."default",
- "pr_diff_url" varchar COLLATE "pg_catalog"."default",
- "pr_patch_url" varchar COLLATE "pg_catalog"."default",
- "pr_issue_url" varchar COLLATE "pg_catalog"."default",
- "pr_augur_issue_id" int8,
- "pr_src_number" int8,
- "pr_src_state" varchar COLLATE "pg_catalog"."default",
- "pr_src_locked" bool,
- "pr_src_title" varchar COLLATE "pg_catalog"."default",
- "pr_augur_contributor_id" int8,
- "pr_body" text COLLATE "pg_catalog"."default",
- "pr_created_at" timestamp(0),
- "pr_updated_at" timestamp(0),
- "pr_closed_at" timestamp(0),
- "pr_merged_at" timestamp(0),
- "pr_merge_commit_sha" varchar COLLATE "pg_catalog"."default",
- "pr_teams" int8,
- "pr_milestone" varchar COLLATE "pg_catalog"."default",
- "pr_commits_url" varchar COLLATE "pg_catalog"."default",
- "pr_review_comments_url" varchar COLLATE "pg_catalog"."default",
- "pr_review_comment_url" varchar COLLATE "pg_catalog"."default",
- "pr_comments_url" varchar COLLATE "pg_catalog"."default",
- "pr_statuses_url" varchar COLLATE "pg_catalog"."default",
- "pr_meta_head_id" int8,
- "pr_meta_base_id" int8,
- "pr_src_issue_url" varchar COLLATE "pg_catalog"."default",
- "pr_src_comments_url" varchar COLLATE "pg_catalog"."default",
- "pr_src_review_comments_url" varchar COLLATE "pg_catalog"."default",
- "pr_src_commits_url" varchar COLLATE "pg_catalog"."default",
- "pr_src_statuses_url" varchar COLLATE "pg_catalog"."default",
- "pr_src_author_association" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "repo_id" int8,
- CONSTRAINT "pull_requests_pkey" PRIMARY KEY ("pull_request_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."pull_requests" OWNER TO "augur";
-CREATE INDEX "id_node" ON "augur_data"."pull_requests" USING btree (
- "pr_src_id" "pg_catalog"."int8_ops" DESC NULLS FIRST,
- "pr_src_node_id" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" DESC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."pull_requests"."pr_src_id" IS 'The pr_src_id is unique across all of github.';
-COMMENT ON COLUMN "augur_data"."pull_requests"."pr_augur_issue_id" IS 'This is to link to the augur stored related issue';
-COMMENT ON COLUMN "augur_data"."pull_requests"."pr_src_number" IS 'The pr_src_number is unique within a repository.';
-COMMENT ON COLUMN "augur_data"."pull_requests"."pr_augur_contributor_id" IS 'This is to link to the augur contributor record. ';
-COMMENT ON COLUMN "augur_data"."pull_requests"."pr_teams" IS 'One to many with pull request teams. ';
-COMMENT ON COLUMN "augur_data"."pull_requests"."pr_review_comment_url" IS 'This is a field with limited utility. It does expose how to access a specific comment if needed with parameters. If the source changes URL structure, it may be useful';
-COMMENT ON COLUMN "augur_data"."pull_requests"."pr_meta_head_id" IS 'The metadata for the head repo that links to the pull_request_meta table. ';
-COMMENT ON COLUMN "augur_data"."pull_requests"."pr_meta_base_id" IS 'The metadata for the base repo that links to the pull_request_meta table. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."releases" (
- "release_id" char(64) COLLATE "pg_catalog"."default" NOT NULL DEFAULT nextval('"augur_data".releases_release_id_seq'::regclass),
- "repo_id" int8 NOT NULL,
- "release_name" varchar(255) COLLATE "pg_catalog"."default",
- "release_description" varchar COLLATE "pg_catalog"."default",
- "release_author" varchar(255) COLLATE "pg_catalog"."default",
- "release_created_at" timestamp(6),
- "release_published_at" timestamp(6),
- "release_updated_at" timestamp(6),
- "release_is_draft" bool,
- "release_is_prerelease" bool,
- "release_tag_name" varchar(255) COLLATE "pg_catalog"."default",
- "release_url" varchar(255) COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(6) DEFAULT CURRENT_TIMESTAMP,
- "tag_only" bool,
- CONSTRAINT "releases_pkey" PRIMARY KEY ("release_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."releases" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo" (
- "repo_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_repo_id_seq'::regclass),
- "repo_group_id" int8 NOT NULL,
- "repo_git" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "repo_path" varchar(256) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "repo_name" varchar COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "repo_added" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- "repo_status" varchar(32) COLLATE "pg_catalog"."default" NOT NULL DEFAULT 'New'::character varying,
- "repo_type" varchar COLLATE "pg_catalog"."default" DEFAULT ''::character varying,
- "url" varchar(255) COLLATE "pg_catalog"."default",
- "owner_id" int4,
- "description" varchar COLLATE "pg_catalog"."default",
- "primary_language" varchar(255) COLLATE "pg_catalog"."default",
- "created_at" varchar(255) COLLATE "pg_catalog"."default",
- "forked_from" varchar COLLATE "pg_catalog"."default",
- "updated_at" timestamp(0),
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- "repo_archived" int4,
- "repo_archived_date_collected" timestamptz(0),
- CONSTRAINT "repounique" PRIMARY KEY ("repo_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo" OWNER TO "augur";
-CREATE INDEX "forked" ON "augur_data"."repo" USING btree (
- "forked_from" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repogitindexrep" ON "augur_data"."repo" USING btree (
- "repo_git" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "reponameindex" ON "augur_data"."repo" USING hash (
- "repo_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops"
-);
-CREATE INDEX "reponameindexbtree" ON "augur_data"."repo" USING btree (
- "repo_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "rggrouponrepoindex" ON "augur_data"."repo" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE UNIQUE INDEX "therepo" ON "augur_data"."repo" USING btree (
- "repo_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."repo"."repo_type" IS 'This field is intended to indicate if the repository is the "main instance" of a repository in cases where implementations choose to add the same repository to more than one repository group. In cases where the repository group is of rg_type Github Organization then this repo_type should be "primary". In other cases the repo_type should probably be "user created". We made this a varchar in order to hold open the possibility that there are additional repo_types we have not thought about. ';
-COMMENT ON TABLE "augur_data"."repo" IS 'This table is a combination of the columns in Facade’s repo table and GHTorrent’s projects table. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_badging" (
- "badge_collection_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_badging_badge_collection_id_seq'::regclass),
- "repo_id" int8,
- "created_at" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "data" jsonb,
- CONSTRAINT "repo_badging_pkey" PRIMARY KEY ("badge_collection_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_badging" OWNER TO "augur";
-COMMENT ON TABLE "augur_data"."repo_badging" IS 'This will be collected from the LF’s Badging API
-https://bestpractices.coreinfrastructure.org/projects.json?pq=https%3A%2F%2Fgithub.com%2Fchaoss%2Faugur
-';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_cluster_messages" (
- "msg_cluster_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_cluster_messages_msg_cluster_id_seq'::regclass),
- "repo_id" int8,
- "cluster_content" int4,
- "cluster_mechanism" int4,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "repo_cluster_messages_pkey" PRIMARY KEY ("msg_cluster_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_cluster_messages" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_group_insights" (
- "rgi_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_group_insights_rgi_id_seq'::regclass),
- "repo_group_id" int8,
- "rgi_metric" varchar COLLATE "pg_catalog"."default",
- "rgi_value" varchar COLLATE "pg_catalog"."default",
- "cms_id" int8,
- "rgi_fresh" bool,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "repo_group_insights_pkey" PRIMARY KEY ("rgi_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_group_insights" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."repo_group_insights"."rgi_fresh" IS 'false if the date is before the statistic that triggered the insight, true if after. This allows us to automatically display only "fresh insights" and avoid displaying "stale insights". The insight worker will populate this table. ';
-COMMENT ON TABLE "augur_data"."repo_group_insights" IS 'This table is output from an analytical worker inside of Augur. It runs through the different metrics on a REPOSITORY_GROUP and identifies the five to ten most “interesting” metrics as defined by some kind of delta or other factor. The algorithm is going to evolve.
-
-Worker Design Notes: The idea is that the "insight worker" will scan through a bunch of active metrics or "synthetic metrics" to list the most important insights. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_groups" (
- "repo_group_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_groups_repo_group_id_seq'::regclass),
- "rg_name" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "rg_description" varchar COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "rg_website" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "rg_recache" int2 DEFAULT 1,
- "rg_last_modified" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- "rg_type" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "rgid" PRIMARY KEY ("repo_group_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_groups" OWNER TO "augur";
-CREATE UNIQUE INDEX "rgidm" ON "augur_data"."repo_groups" USING btree (
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-CREATE INDEX "rgnameindex" ON "augur_data"."repo_groups" USING btree (
- "rg_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-COMMENT ON TABLE "augur_data"."repo_groups" IS 'rg_type is intended to be either a GitHub Organization or a User Created Repo Group. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_groups_list_serve" (
- "rgls_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_groups_list_serve_rgls_id_seq'::regclass),
- "repo_group_id" int8 NOT NULL,
- "rgls_name" varchar(255) COLLATE "pg_catalog"."default",
- "rgls_description" varchar(3000) COLLATE "pg_catalog"."default",
- "rgls_sponsor" varchar(255) COLLATE "pg_catalog"."default",
- "rgls_email" varchar(255) COLLATE "pg_catalog"."default",
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "repo_groups_list_serve_pkey" PRIMARY KEY ("rgls_id"),
- CONSTRAINT "rglistserve" UNIQUE ("rgls_id", "repo_group_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_groups_list_serve" OWNER TO "augur";
-CREATE UNIQUE INDEX "lister" ON "augur_data"."repo_groups_list_serve" USING btree (
- "rgls_id" "pg_catalog"."int8_ops" ASC NULLS LAST,
- "repo_group_id" "pg_catalog"."int8_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_info" (
- "repo_info_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_info_repo_info_id_seq'::regclass),
- "repo_id" int8 NOT NULL,
- "last_updated" timestamp(0) DEFAULT NULL::timestamp without time zone,
- "issues_enabled" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "open_issues" int4,
- "pull_requests_enabled" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "wiki_enabled" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "pages_enabled" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "fork_count" int4,
- "default_branch" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "watchers_count" int4,
- "UUID" int4,
- "license" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "stars_count" int4,
- "committers_count" int4,
- "issue_contributors_count" varchar(255) COLLATE "pg_catalog"."default",
- "changelog_file" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "contributing_file" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "license_file" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "code_of_conduct_file" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "security_issue_file" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "security_audit_file" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "status" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "keywords" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "commit_count" int8,
- "issues_count" int8,
- "issues_closed" int8,
- "pull_request_count" int8,
- "pull_requests_open" int8,
- "pull_requests_closed" int8,
- "pull_requests_merged" int8,
- CONSTRAINT "repo_info_pkey" PRIMARY KEY ("repo_info_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_info" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_insights" (
- "ri_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_insights_ri_id_seq'::regclass),
- "repo_id" int8,
- "ri_metric" varchar COLLATE "pg_catalog"."default",
- "ri_value" varchar(255) COLLATE "pg_catalog"."default",
- "ri_date" timestamp(0),
- "ri_fresh" bool,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "ri_score" numeric,
- "ri_field" varchar(255) COLLATE "pg_catalog"."default",
- "ri_detection_method" varchar(255) COLLATE "pg_catalog"."default",
- CONSTRAINT "repo_insights_pkey" PRIMARY KEY ("ri_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_insights" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."repo_insights"."ri_fresh" IS 'false if the date is before the statistic that triggered the insight, true if after. This allows us to automatically display only "fresh insights" and avoid displaying "stale insights". The insight worker will populate this table. ';
-COMMENT ON TABLE "augur_data"."repo_insights" IS 'This table is output from an analytical worker inside of Augur. It runs through the different metrics on a repository and identifies the five to ten most “interesting” metrics as defined by some kind of delta or other factor. The algorithm is going to evolve.
-
-Worker Design Notes: The idea is that the "insight worker" will scan through a bunch of active metrics or "synthetic metrics" to list the most important insights. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_insights_records" (
- "ri_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_insights_records_ri_id_seq'::regclass),
- "repo_id" int8,
- "ri_metric" varchar COLLATE "pg_catalog"."default",
- "ri_field" varchar COLLATE "pg_catalog"."default",
- "ri_value" varchar COLLATE "pg_catalog"."default",
- "ri_date" timestamp(6),
- "ri_score" float8,
- "ri_detection_method" varchar COLLATE "pg_catalog"."default",
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(6) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "repo_insights_records_pkey" PRIMARY KEY ("ri_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_insights_records" OWNER TO "augur";
-CREATE INDEX "dater" ON "augur_data"."repo_insights_records" USING btree (
- "ri_date" "pg_catalog"."timestamp_ops" ASC NULLS LAST
-);
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."ri_id" IS 'Primary key. ';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."repo_id" IS 'Refers to repo table primary key. Will have a foreign key';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."ri_metric" IS 'The metric endpoint';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."ri_field" IS 'The field in the metric endpoint';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."ri_value" IS 'The value of the endpoint in ri_field';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."ri_date" IS 'The date the insight is for; in other words, some anomaly occurred on this date. ';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."ri_score" IS 'A Score, derived from the algorithm used. ';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."ri_detection_method" IS 'A confidence interval or other expression of the type of threshold and the value of a threshold met in order for it to be "an insight". Example. "95% confidence interval". ';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."tool_source" IS 'Standard Augur Metadata';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."tool_version" IS 'Standard Augur Metadata';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."data_source" IS 'Standard Augur Metadata';
-COMMENT ON COLUMN "augur_data"."repo_insights_records"."data_collection_date" IS 'Standard Augur Metadata';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_labor" (
- "repo_labor_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_labor_repo_labor_id_seq'::regclass),
- "repo_id" int8,
- "repo_clone_date" timestamp(0),
- "rl_analysis_date" timestamp(0),
- "programming_language" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "file_path" varchar(500) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "file_name" varchar(255) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "total_lines" int4,
- "code_lines" int4,
- "comment_lines" int4,
- "blank_lines" int4,
- "code_complexity" int4,
- "repo_url" varchar(500) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "repo_labor_pkey" PRIMARY KEY ("repo_labor_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_labor" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."repo_labor"."repo_url" IS 'This is a convenience column to simplify analysis against external datasets';
-COMMENT ON TABLE "augur_data"."repo_labor" IS 'repo_labor is a derivative of tables used to store scc code and complexity counting statistics that are inputs to labor analysis, which are components of CHAOSS value metric calculations. ';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_meta" (
- "repo_id" int8 NOT NULL,
- "rmeta_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_meta_rmeta_id_seq'::regclass),
- "rmeta_name" varchar(255) COLLATE "pg_catalog"."default",
- "rmeta_value" varchar(255) COLLATE "pg_catalog"."default" DEFAULT 0,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "repo_meta_pkey" PRIMARY KEY ("rmeta_id", "repo_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_meta" OWNER TO "augur";
-COMMENT ON TABLE "augur_data"."repo_meta" IS 'Project Languages';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_sbom_scans" (
- "rsb_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_sbom_scans_rsb_id_seq'::regclass),
- "repo_id" int4,
- "sbom_scan" json,
- CONSTRAINT "repo_sbom_scans_pkey" PRIMARY KEY ("rsb_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_sbom_scans" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_stats" (
- "repo_id" int8 NOT NULL,
- "rstat_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_stats_rstat_id_seq'::regclass),
- "rstat_name" varchar(400) COLLATE "pg_catalog"."default",
- "rstat_value" int8,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0),
- CONSTRAINT "repo_stats_pkey" PRIMARY KEY ("rstat_id", "repo_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_stats" OWNER TO "augur";
-COMMENT ON TABLE "augur_data"."repo_stats" IS 'Project Watchers';
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_test_coverage" (
- "repo_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_test_coverage_repo_id_seq'::regclass),
- "repo_clone_date" timestamp(0),
- "rtc_analysis_date" timestamp(0),
- "programming_language" varchar COLLATE "pg_catalog"."default",
- "file_path" varchar COLLATE "pg_catalog"."default",
- "file_name" varchar COLLATE "pg_catalog"."default",
- "testing_tool" varchar COLLATE "pg_catalog"."default",
- "file_statement_count" int8,
- "file_subroutine_count" int8,
- "file_statements_tested" int8,
- "file_subroutines_tested" int8,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "repo_test_coverage_pkey" PRIMARY KEY ("repo_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_test_coverage" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repo_topic" (
- "repo_topic_id" int8 NOT NULL DEFAULT nextval('"augur_data".repo_topic_repo_topic_id_seq'::regclass),
- "repo_id" int4,
- "topic_id" int4,
- "topic_prob" float8,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "repo_topic_pkey" PRIMARY KEY ("repo_topic_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."repo_topic" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."repos_fetch_log" (
- "repos_id" int4 NOT NULL,
- "status" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "date" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."repos_fetch_log" OWNER TO "augur";
-CREATE INDEX "repos_id,status" ON "augur_data"."repos_fetch_log" USING btree (
- "repos_id" "pg_catalog"."int4_ops" ASC NULLS LAST,
- "status" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-CREATE INDEX "repos_id,statusops" ON "augur_data"."repos_fetch_log" USING btree (
- "repos_id" "pg_catalog"."int4_ops" ASC NULLS LAST,
- "status" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."settings" (
- "id" int4 NOT NULL,
- "setting" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
- "value" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "last_modified" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "settings_pkey" PRIMARY KEY ("id")
-);
-ALTER TABLE IF EXISTS "augur_data"."settings" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."topic_words" (
- "topic_words_id" int8 NOT NULL DEFAULT nextval('"augur_data".topic_words_topic_words_id_seq'::regclass),
- "topic_id" int8,
- "word" varchar COLLATE "pg_catalog"."default",
- "word_prob" float8,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "topic_words_pkey" PRIMARY KEY ("topic_words_id")
-);
-ALTER TABLE IF EXISTS "augur_data"."topic_words" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."unknown_cache" (
- "type" varchar(10) COLLATE "pg_catalog"."default" NOT NULL,
- "repo_group_id" int4 NOT NULL,
- "email" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "domain" varchar(128) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying,
- "added" int8 NOT NULL,
- "tool_source" varchar(255) COLLATE "pg_catalog"."default",
- "tool_version" varchar(255) COLLATE "pg_catalog"."default",
- "data_source" varchar(255) COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_data"."unknown_cache" OWNER TO "augur";
-CREATE INDEX "type,projects_id" ON "augur_data"."unknown_cache" USING btree (
- "type" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST,
- "repo_group_id" "pg_catalog"."int4_ops" ASC NULLS LAST
-);
-
-CREATE TABLE IF NOT EXISTS "augur_data"."utility_log" (
- "id" int8 NOT NULL DEFAULT nextval('"augur_data".utility_log_id_seq1'::regclass),
- "level" varchar(8) COLLATE "pg_catalog"."default" NOT NULL,
- "status" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "attempted" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "utility_log_pkey" PRIMARY KEY ("id")
-);
-ALTER TABLE IF EXISTS "augur_data"."utility_log" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_data"."working_commits" (
- "repos_id" int4 NOT NULL,
- "working_commit" varchar(40) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying
-);
-ALTER TABLE IF EXISTS "augur_data"."working_commits" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_operations"."all" (
- "Name" varchar COLLATE "pg_catalog"."default",
- "Bytes" varchar COLLATE "pg_catalog"."default",
- "Lines" varchar COLLATE "pg_catalog"."default",
- "Code" varchar COLLATE "pg_catalog"."default",
- "Comment" varchar COLLATE "pg_catalog"."default",
- "Blank" varchar COLLATE "pg_catalog"."default",
- "Complexity" varchar COLLATE "pg_catalog"."default",
- "Count" varchar COLLATE "pg_catalog"."default",
- "WeightedComplexity" varchar COLLATE "pg_catalog"."default",
- "Files" varchar COLLATE "pg_catalog"."default"
-);
-ALTER TABLE IF EXISTS "augur_operations"."all" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "augur_operations"."augur_settings" (
- "id" int8 NOT NULL DEFAULT nextval('"augur_operations".augur_settings_id_seq'::regclass),
- "setting" varchar COLLATE "pg_catalog"."default",
- "value" varchar COLLATE "pg_catalog"."default",
- "last_modified" timestamp(0) DEFAULT CURRENT_DATE,
- CONSTRAINT "augur_settings_pkey" PRIMARY KEY ("id")
-);
-ALTER TABLE IF EXISTS "augur_operations"."augur_settings" OWNER TO "augur";
-COMMENT ON TABLE "augur_operations"."augur_settings" IS 'Augur settings include the schema version, and the Augur API Key as of 10/25/2020. Future augur settings may be stored in this table, which has the basic structure of a name-value pair. ';
-
-CREATE TABLE IF NOT EXISTS "augur_operations"."repos_fetch_log" (
- "repos_id" int4 NOT NULL,
- "status" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
- "date" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP
-);
-ALTER TABLE IF EXISTS "augur_operations"."repos_fetch_log" OWNER TO "augur";
-CREATE INDEX "repos_id,statusops" ON "augur_operations"."repos_fetch_log" USING btree (
- "repos_id" "pg_catalog"."int4_ops" ASC NULLS LAST,
- "status" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-COMMENT ON TABLE "augur_operations"."repos_fetch_log" IS 'For future use when we move all working tables to the augur_operations schema. ';
-
-CREATE TABLE IF NOT EXISTS "augur_operations"."worker_history" (
- "history_id" int8 NOT NULL DEFAULT nextval('"augur_operations".gh_worker_history_history_id_seq'::regclass),
- "repo_id" int8,
- "worker" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "job_model" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "oauth_id" int4 NOT NULL,
- "timestamp" timestamp(0) NOT NULL,
- "status" varchar(7) COLLATE "pg_catalog"."default" NOT NULL,
- "total_results" int4,
- CONSTRAINT "history_pkey" PRIMARY KEY ("history_id")
-);
-ALTER TABLE IF EXISTS "augur_operations"."worker_history" OWNER TO "augur";
-COMMENT ON TABLE "augur_operations"."worker_history" IS 'This table stores the complete history of job execution, including success and failure. It is useful for troubleshooting. ';
-
-CREATE TABLE IF NOT EXISTS "augur_operations"."worker_job" (
- "job_model" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "state" int4 NOT NULL DEFAULT 0,
- "zombie_head" int4,
- "since_id_str" varchar(255) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '0'::character varying,
- "description" varchar(255) COLLATE "pg_catalog"."default" DEFAULT 'None'::character varying,
- "last_count" int4,
- "last_run" timestamp(0) DEFAULT NULL::timestamp without time zone,
- "analysis_state" int4 DEFAULT 0,
- "oauth_id" int4 NOT NULL,
- CONSTRAINT "job_pkey" PRIMARY KEY ("job_model")
-);
-ALTER TABLE IF EXISTS "augur_operations"."worker_job" OWNER TO "augur";
-COMMENT ON TABLE "augur_operations"."worker_job" IS 'This table stores the jobs workers collect data for. A job is found in the code, and in the augur.config.json under the construct of a “model”. ';
-
-CREATE TABLE IF NOT EXISTS "augur_operations"."worker_oauth" (
- "oauth_id" int8 NOT NULL DEFAULT nextval('"augur_operations".worker_oauth_oauth_id_seq'::regclass),
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "consumer_key" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "consumer_secret" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "access_token" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "access_token_secret" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "repo_directory" varchar COLLATE "pg_catalog"."default",
- "platform" varchar COLLATE "pg_catalog"."default" DEFAULT 'github'::character varying,
- CONSTRAINT "worker_oauth_pkey" PRIMARY KEY ("oauth_id")
-);
-ALTER TABLE IF EXISTS "augur_operations"."worker_oauth" OWNER TO "augur";
-COMMENT ON TABLE "augur_operations"."worker_oauth" IS 'This table stores credentials for retrieving data from platform API’s. Entries in this table must comply with the terms of service for each platform. ';
-
-CREATE TABLE IF NOT EXISTS "augur_operations"."worker_settings_facade" (
- "id" int4 NOT NULL,
- "setting" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
- "value" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "last_modified" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
- CONSTRAINT "settings_pkey" PRIMARY KEY ("id")
-);
-ALTER TABLE IF EXISTS "augur_operations"."worker_settings_facade" OWNER TO "augur";
-COMMENT ON TABLE "augur_operations"."worker_settings_facade" IS 'For future use when we move all working tables to the augur_operations schema. ';
-
-CREATE TABLE IF NOT EXISTS "augur_operations"."working_commits" (
- "repos_id" int4 NOT NULL,
- "working_commit" varchar(40) COLLATE "pg_catalog"."default" DEFAULT 'NULL'::character varying
-);
-ALTER TABLE IF EXISTS "augur_operations"."working_commits" OWNER TO "augur";
-COMMENT ON TABLE "augur_operations"."working_commits" IS 'For future use when we move all working tables to the augur_operations schema. ';
-
-CREATE TABLE IF NOT EXISTS "spdx"."annotation_types" (
- "annotation_type_id" int4 NOT NULL DEFAULT nextval('"spdx".annotation_types_annotation_type_id_seq'::regclass),
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "annotation_types_pkey" PRIMARY KEY ("annotation_type_id"),
- CONSTRAINT "uc_annotation_type_name" UNIQUE ("name")
-);
-ALTER TABLE IF EXISTS "spdx"."annotation_types" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."annotations" (
- "annotation_id" int4 NOT NULL DEFAULT nextval('"spdx".annotations_annotation_id_seq'::regclass),
- "document_id" int4 NOT NULL,
- "annotation_type_id" int4 NOT NULL,
- "identifier_id" int4 NOT NULL,
- "creator_id" int4 NOT NULL,
- "created_ts" timestamptz(6),
- "comment" text COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "annotations_pkey" PRIMARY KEY ("annotation_id")
-);
-ALTER TABLE IF EXISTS "spdx"."annotations" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."augur_repo_map" (
- "map_id" int4 NOT NULL DEFAULT nextval('"spdx".augur_repo_map_map_id_seq'::regclass),
- "dosocs_pkg_id" int4,
- "dosocs_pkg_name" text COLLATE "pg_catalog"."default",
- "repo_id" int4,
- "repo_path" text COLLATE "pg_catalog"."default",
- CONSTRAINT "augur_repo_map_pkey" PRIMARY KEY ("map_id")
-);
-ALTER TABLE IF EXISTS "spdx"."augur_repo_map" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."creator_types" (
- "creator_type_id" int4 NOT NULL DEFAULT nextval('"spdx".creator_types_creator_type_id_seq'::regclass),
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "creator_types_pkey" PRIMARY KEY ("creator_type_id")
-);
-ALTER TABLE IF EXISTS "spdx"."creator_types" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."creators" (
- "creator_id" int4 NOT NULL DEFAULT nextval('"spdx".creators_creator_id_seq'::regclass),
- "creator_type_id" int4 NOT NULL,
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "email" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "creators_pkey" PRIMARY KEY ("creator_id")
-);
-ALTER TABLE IF EXISTS "spdx"."creators" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."document_namespaces" (
- "document_namespace_id" int4 NOT NULL DEFAULT nextval('"spdx".document_namespaces_document_namespace_id_seq'::regclass),
- "uri" varchar(500) COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "document_namespaces_pkey" PRIMARY KEY ("document_namespace_id"),
- CONSTRAINT "uc_document_namespace_uri" UNIQUE ("uri")
-);
-ALTER TABLE IF EXISTS "spdx"."document_namespaces" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."documents" (
- "document_id" int4 NOT NULL DEFAULT nextval('"spdx".documents_document_id_seq'::regclass),
- "document_namespace_id" int4 NOT NULL,
- "data_license_id" int4 NOT NULL,
- "spdx_version" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "license_list_version" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "created_ts" timestamptz(6) NOT NULL,
- "creator_comment" text COLLATE "pg_catalog"."default" NOT NULL,
- "document_comment" text COLLATE "pg_catalog"."default" NOT NULL,
- "package_id" int4 NOT NULL,
- CONSTRAINT "documents_pkey" PRIMARY KEY ("document_id"),
- CONSTRAINT "uc_document_document_namespace_id" UNIQUE ("document_namespace_id")
-);
-ALTER TABLE IF EXISTS "spdx"."documents" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."documents_creators" (
- "document_creator_id" int4 NOT NULL DEFAULT nextval('"spdx".documents_creators_document_creator_id_seq'::regclass),
- "document_id" int4 NOT NULL,
- "creator_id" int4 NOT NULL,
- CONSTRAINT "documents_creators_pkey" PRIMARY KEY ("document_creator_id")
-);
-ALTER TABLE IF EXISTS "spdx"."documents_creators" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."external_refs" (
- "external_ref_id" int4 NOT NULL DEFAULT nextval('"spdx".external_refs_external_ref_id_seq'::regclass),
- "document_id" int4 NOT NULL,
- "document_namespace_id" int4 NOT NULL,
- "id_string" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "sha256" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "external_refs_pkey" PRIMARY KEY ("external_ref_id"),
- CONSTRAINT "uc_external_ref_document_id_string" UNIQUE ("document_id", "id_string")
-);
-ALTER TABLE IF EXISTS "spdx"."external_refs" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."file_contributors" (
- "file_contributor_id" int4 NOT NULL DEFAULT nextval('"spdx".file_contributors_file_contributor_id_seq'::regclass),
- "file_id" int4 NOT NULL,
- "contributor" text COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "file_contributors_pkey" PRIMARY KEY ("file_contributor_id")
-);
-ALTER TABLE IF EXISTS "spdx"."file_contributors" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."file_types" (
- "file_type_id" int4,
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "uc_file_type_name" PRIMARY KEY ("name")
-);
-ALTER TABLE IF EXISTS "spdx"."file_types" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."files" (
- "file_id" int4 NOT NULL DEFAULT nextval('"spdx".files_file_id_seq'::regclass),
- "file_type_id" int4,
- "sha256" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
- "copyright_text" text COLLATE "pg_catalog"."default",
- "package_id" int4,
- "comment" text COLLATE "pg_catalog"."default" NOT NULL,
- "notice" text COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "files_pkey" PRIMARY KEY ("file_id"),
- CONSTRAINT "uc_file_sha256" UNIQUE ("sha256")
-);
-ALTER TABLE IF EXISTS "spdx"."files" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."files_licenses" (
- "file_license_id" int4 NOT NULL DEFAULT nextval('"spdx".files_licenses_file_license_id_seq'::regclass),
- "file_id" int4 NOT NULL,
- "license_id" int4 NOT NULL,
- "extracted_text" text COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "files_licenses_pkey" PRIMARY KEY ("file_license_id"),
- CONSTRAINT "uc_file_license" UNIQUE ("file_id", "license_id")
-);
-ALTER TABLE IF EXISTS "spdx"."files_licenses" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."files_scans" (
- "file_scan_id" int4 NOT NULL DEFAULT nextval('"spdx".files_scans_file_scan_id_seq'::regclass),
- "file_id" int4 NOT NULL,
- "scanner_id" int4 NOT NULL,
- CONSTRAINT "files_scans_pkey" PRIMARY KEY ("file_scan_id"),
- CONSTRAINT "uc_file_scanner_id" UNIQUE ("file_id", "scanner_id")
-);
-ALTER TABLE IF EXISTS "spdx"."files_scans" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."identifiers" (
- "identifier_id" int4 NOT NULL DEFAULT nextval('"spdx".identifiers_identifier_id_seq'::regclass),
- "document_namespace_id" int4 NOT NULL,
- "id_string" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "document_id" int4,
- "package_id" int4,
- "package_file_id" int4,
- CONSTRAINT "identifiers_pkey" PRIMARY KEY ("identifier_id"),
- CONSTRAINT "uc_identifier_document_namespace_id" UNIQUE ("document_namespace_id", "id_string"),
- CONSTRAINT "uc_identifier_namespace_document_id" UNIQUE ("document_namespace_id", "document_id"),
- CONSTRAINT "uc_identifier_namespace_package_id" UNIQUE ("document_namespace_id", "package_id"),
- CONSTRAINT "uc_identifier_namespace_package_file_id" UNIQUE ("document_namespace_id", "package_file_id"),
- CONSTRAINT "ck_identifier_exactly_one" CHECK (((document_id IS NOT NULL)::integer + (package_id IS NOT NULL)::integer + (package_file_id IS NOT NULL)::integer) = 1)
-);
-ALTER TABLE IF EXISTS "spdx"."identifiers" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."licenses" (
- "license_id" int4 NOT NULL DEFAULT nextval('"spdx".licenses_license_id_seq'::regclass),
- "name" varchar(255) COLLATE "pg_catalog"."default",
- "short_name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "cross_reference" text COLLATE "pg_catalog"."default" NOT NULL,
- "comment" text COLLATE "pg_catalog"."default" NOT NULL,
- "is_spdx_official" bool NOT NULL,
- CONSTRAINT "licenses_pkey" PRIMARY KEY ("license_id"),
- CONSTRAINT "uc_license_short_name" UNIQUE ("short_name")
-);
-ALTER TABLE IF EXISTS "spdx"."licenses" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."packages" (
- "package_id" int4 NOT NULL DEFAULT nextval('"spdx".packages_package_id_seq'::regclass),
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "version" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "file_name" text COLLATE "pg_catalog"."default" NOT NULL,
- "supplier_id" int4,
- "originator_id" int4,
- "download_location" text COLLATE "pg_catalog"."default",
- "verification_code" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
- "ver_code_excluded_file_id" int4,
- "sha256" varchar(64) COLLATE "pg_catalog"."default",
- "home_page" text COLLATE "pg_catalog"."default",
- "source_info" text COLLATE "pg_catalog"."default" NOT NULL,
- "concluded_license_id" int4,
- "declared_license_id" int4,
- "license_comment" text COLLATE "pg_catalog"."default" NOT NULL,
- "copyright_text" text COLLATE "pg_catalog"."default",
- "summary" text COLLATE "pg_catalog"."default" NOT NULL,
- "description" text COLLATE "pg_catalog"."default" NOT NULL,
- "comment" text COLLATE "pg_catalog"."default" NOT NULL,
- "dosocs2_dir_code" varchar(64) COLLATE "pg_catalog"."default",
- CONSTRAINT "packages_pkey" PRIMARY KEY ("package_id"),
- CONSTRAINT "uc_package_sha256" UNIQUE ("sha256"),
- CONSTRAINT "uc_dir_code_ver_code" UNIQUE ("verification_code", "dosocs2_dir_code"),
- CONSTRAINT "uc_sha256_ds2_dir_code_exactly_one" CHECK (((sha256 IS NOT NULL)::integer + (dosocs2_dir_code IS NOT NULL)::integer) = 1)
-);
-ALTER TABLE IF EXISTS "spdx"."packages" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."packages_files" (
- "package_file_id" int4 NOT NULL DEFAULT nextval('"spdx".packages_files_package_file_id_seq'::regclass),
- "package_id" int4 NOT NULL,
- "file_id" int4 NOT NULL,
- "concluded_license_id" int4,
- "license_comment" text COLLATE "pg_catalog"."default" NOT NULL,
- "file_name" text COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "packages_files_pkey" PRIMARY KEY ("package_file_id"),
- CONSTRAINT "uc_package_id_file_name" UNIQUE ("package_id", "file_name")
-);
-ALTER TABLE IF EXISTS "spdx"."packages_files" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."packages_scans" (
- "package_scan_id" int4 NOT NULL DEFAULT nextval('"spdx".packages_scans_package_scan_id_seq'::regclass),
- "package_id" int4 NOT NULL,
- "scanner_id" int4 NOT NULL,
- CONSTRAINT "packages_scans_pkey" PRIMARY KEY ("package_scan_id"),
- CONSTRAINT "uc_package_scanner_id" UNIQUE ("package_id", "scanner_id")
-);
-ALTER TABLE IF EXISTS "spdx"."packages_scans" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."projects" (
- "package_id" int4 NOT NULL DEFAULT nextval('"spdx".projects_package_id_seq'::regclass),
- "name" text COLLATE "pg_catalog"."default" NOT NULL,
- "homepage" text COLLATE "pg_catalog"."default" NOT NULL,
- "uri" text COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "projects_pkey" PRIMARY KEY ("package_id")
-);
-ALTER TABLE IF EXISTS "spdx"."projects" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."relationship_types" (
- "relationship_type_id" int4 NOT NULL DEFAULT nextval('"spdx".relationship_types_relationship_type_id_seq'::regclass),
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "relationship_types_pkey" PRIMARY KEY ("relationship_type_id"),
- CONSTRAINT "uc_relationship_type_name" UNIQUE ("name")
-);
-ALTER TABLE IF EXISTS "spdx"."relationship_types" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."relationships" (
- "relationship_id" int4 NOT NULL DEFAULT nextval('"spdx".relationships_relationship_id_seq'::regclass),
- "left_identifier_id" int4 NOT NULL,
- "right_identifier_id" int4 NOT NULL,
- "relationship_type_id" int4 NOT NULL,
- "relationship_comment" text COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "relationships_pkey" PRIMARY KEY ("relationship_id"),
- CONSTRAINT "uc_left_right_relationship_type" UNIQUE ("left_identifier_id", "right_identifier_id", "relationship_type_id")
-);
-ALTER TABLE IF EXISTS "spdx"."relationships" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."sbom_scans" (
- "repo_id" int4,
- "sbom_scan" json
-);
-ALTER TABLE IF EXISTS "spdx"."sbom_scans" OWNER TO "augur";
-
-CREATE TABLE IF NOT EXISTS "spdx"."scanners" (
- "scanner_id" int4 NOT NULL DEFAULT nextval('"spdx".scanners_scanner_id_seq'::regclass),
- "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- CONSTRAINT "scanners_pkey" PRIMARY KEY ("scanner_id"),
- CONSTRAINT "uc_scanner_name" UNIQUE ("name")
-);
-ALTER TABLE IF EXISTS "spdx"."scanners" OWNER TO "augur";
-
-ALTER TABLE IF EXISTS "augur_data"."commit_comment_ref" ADD CONSTRAINT "fk_commit_comment_ref_commits_1" FOREIGN KEY ("cmt_id") REFERENCES "augur_data"."commits" ("cmt_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."commit_comment_ref" ADD CONSTRAINT "fk_commit_comment_ref_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."commit_parents" ADD CONSTRAINT "fk_commit_parents_commits_1" FOREIGN KEY ("cmt_id") REFERENCES "augur_data"."commits" ("cmt_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."commit_parents" ADD CONSTRAINT "fk_commit_parents_commits_2" FOREIGN KEY ("parent_id") REFERENCES "augur_data"."commits" ("cmt_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."commits" ADD CONSTRAINT "fk_commits_contributors_1" FOREIGN KEY ("cmt_ght_author_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."commits" ADD CONSTRAINT "fk_commits_contributors_2" FOREIGN KEY ("cmt_ght_committer_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."commits" ADD CONSTRAINT "fk_commits_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."contributors_aliases" ADD CONSTRAINT "fk_contributors_aliases_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."contributors_history" ADD CONSTRAINT "fk_contributors_history_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."discourse_insights" ADD CONSTRAINT "fk_discourse_insights_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id");
-ALTER TABLE IF EXISTS "augur_data"."issue_assignees" ADD CONSTRAINT "fk_issue_assignees_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issue_assignees" ADD CONSTRAINT "fk_issue_assignees_issues_1" FOREIGN KEY ("issue_id") REFERENCES "augur_data"."issues" ("issue_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issue_events" ADD CONSTRAINT "fk_issue_events_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issue_events" ADD CONSTRAINT "fk_issue_events_issues_1" FOREIGN KEY ("issue_id") REFERENCES "augur_data"."issues" ("issue_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issue_labels" ADD CONSTRAINT "fk_issue_labels_issues_1" FOREIGN KEY ("issue_id") REFERENCES "augur_data"."issues" ("issue_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issue_message_ref" ADD CONSTRAINT "fk_issue_message_ref_issues_1" FOREIGN KEY ("issue_id") REFERENCES "augur_data"."issues" ("issue_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issue_message_ref" ADD CONSTRAINT "fk_issue_message_ref_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issues" ADD CONSTRAINT "fk_issues_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issues" ADD CONSTRAINT "fk_issues_contributors_2" FOREIGN KEY ("reporter_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."issues" ADD CONSTRAINT "fk_issues_repo" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE CASCADE ON UPDATE CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."libraries" ADD CONSTRAINT "fk_libraries_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."library_dependencies" ADD CONSTRAINT "fk_library_dependencies_libraries_1" FOREIGN KEY ("library_id") REFERENCES "augur_data"."libraries" ("library_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."library_version" ADD CONSTRAINT "fk_library_version_libraries_1" FOREIGN KEY ("library_id") REFERENCES "augur_data"."libraries" ("library_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."lstm_anomaly_results" ADD CONSTRAINT "fk_lstm_anomaly_results_lstm_anomaly_models_1" FOREIGN KEY ("model_id") REFERENCES "augur_data"."lstm_anomaly_models" ("model_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."lstm_anomaly_results" ADD CONSTRAINT "fk_lstm_anomaly_results_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."message" ADD CONSTRAINT "fk_message_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."message" ADD CONSTRAINT "fk_message_platform_1" FOREIGN KEY ("pltfrm_id") REFERENCES "augur_data"."platform" ("pltfrm_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."message" ADD CONSTRAINT "fk_message_repo_groups_list_serve_1" FOREIGN KEY ("rgls_id") REFERENCES "augur_data"."repo_groups_list_serve" ("rgls_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."message_analysis" ADD CONSTRAINT "fk_message_analysis_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id");
-ALTER TABLE IF EXISTS "augur_data"."message_analysis_summary" ADD CONSTRAINT "fk_message_analysis_summary_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id");
-ALTER TABLE IF EXISTS "augur_data"."message_sentiment" ADD CONSTRAINT "fk_message_sentiment_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id");
-ALTER TABLE IF EXISTS "augur_data"."message_sentiment_summary" ADD CONSTRAINT "fk_message_sentiment_summary_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id");
-ALTER TABLE IF EXISTS "augur_data"."pull_request_assignees" ADD CONSTRAINT "fk_pull_request_assignees_contributors_1" FOREIGN KEY ("contrib_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_assignees" ADD CONSTRAINT "fk_pull_request_assignees_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_commits" ADD CONSTRAINT "fk_pull_request_commits_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_events" ADD CONSTRAINT "fk_pull_request_events_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_events" ADD CONSTRAINT "fk_pull_request_events_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_files" ADD CONSTRAINT "fk_pull_request_commits_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_labels" ADD CONSTRAINT "fk_pull_request_labels_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_message_ref" ADD CONSTRAINT "fk_pull_request_message_ref_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_message_ref" ADD CONSTRAINT "fk_pull_request_message_ref_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_meta" ADD CONSTRAINT "fk_pull_request_meta_contributors_2" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_meta" ADD CONSTRAINT "fk_pull_request_meta_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_repo" ADD CONSTRAINT "fk_pull_request_repo_contributors_1" FOREIGN KEY ("pr_cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_repo" ADD CONSTRAINT "fk_pull_request_repo_pull_request_meta_1" FOREIGN KEY ("pr_repo_meta_id") REFERENCES "augur_data"."pull_request_meta" ("pr_repo_meta_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_reviewers" ADD CONSTRAINT "fk_pull_request_reviewers_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_reviewers" ADD CONSTRAINT "fk_pull_request_reviewers_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_request_teams" ADD CONSTRAINT "fk_pull_request_teams_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_requests" ADD CONSTRAINT "fk_pull_requests_pull_request_meta_1" FOREIGN KEY ("pr_meta_head_id") REFERENCES "augur_data"."pull_request_meta" ("pr_repo_meta_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_requests" ADD CONSTRAINT "fk_pull_requests_pull_request_meta_2" FOREIGN KEY ("pr_meta_base_id") REFERENCES "augur_data"."pull_request_meta" ("pr_repo_meta_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."pull_requests" ADD CONSTRAINT "fk_pull_requests_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."releases" ADD CONSTRAINT "fk_releases_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo" ADD CONSTRAINT "fk_repo_repo_groups_1" FOREIGN KEY ("repo_group_id") REFERENCES "augur_data"."repo_groups" ("repo_group_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-COMMENT ON CONSTRAINT "fk_repo_repo_groups_1" ON "augur_data"."repo" IS 'Repo_groups cardinality set to one and only one because, although in theory there could be more than one repo group for a repo, this might create dependecies in hosted situation that we do not want to live with. ';
-ALTER TABLE IF EXISTS "augur_data"."repo_badging" ADD CONSTRAINT "fk_repo_badging_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_cluster_messages" ADD CONSTRAINT "fk_repo_cluster_messages_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id");
-ALTER TABLE IF EXISTS "augur_data"."repo_group_insights" ADD CONSTRAINT "fk_repo_group_insights_repo_groups_1" FOREIGN KEY ("repo_group_id") REFERENCES "augur_data"."repo_groups" ("repo_group_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_groups_list_serve" ADD CONSTRAINT "fk_repo_groups_list_serve_repo_groups_1" FOREIGN KEY ("repo_group_id") REFERENCES "augur_data"."repo_groups" ("repo_group_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_info" ADD CONSTRAINT "fk_repo_info_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_insights" ADD CONSTRAINT "fk_repo_insights_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_insights_records" ADD CONSTRAINT "repo_id_ref" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE SET NULL ON UPDATE CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_labor" ADD CONSTRAINT "fk_repo_labor_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_meta" ADD CONSTRAINT "fk_repo_meta_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_sbom_scans" ADD CONSTRAINT "repo_linker_sbom" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE CASCADE ON UPDATE CASCADE;
-ALTER TABLE IF EXISTS "augur_data"."repo_stats" ADD CONSTRAINT "fk_repo_stats_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_test_coverage" ADD CONSTRAINT "fk_repo_test_coverage_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "augur_data"."repo_topic" ADD CONSTRAINT "fk_repo_topic_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id");
-ALTER TABLE IF EXISTS "augur_data"."topic_words" ADD CONSTRAINT "fk_topic_words_repo_topic_1" FOREIGN KEY ("topic_id") REFERENCES "augur_data"."repo_topic" ("repo_topic_id");
-ALTER TABLE IF EXISTS "spdx"."annotations" ADD CONSTRAINT "annotations_annotation_type_id_fkey" FOREIGN KEY ("annotation_type_id") REFERENCES "spdx"."annotation_types" ("annotation_type_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."annotations" ADD CONSTRAINT "annotations_creator_id_fkey" FOREIGN KEY ("creator_id") REFERENCES "spdx"."creators" ("creator_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."annotations" ADD CONSTRAINT "annotations_document_id_fkey" FOREIGN KEY ("document_id") REFERENCES "spdx"."documents" ("document_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."annotations" ADD CONSTRAINT "annotations_identifier_id_fkey" FOREIGN KEY ("identifier_id") REFERENCES "spdx"."identifiers" ("identifier_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."creators" ADD CONSTRAINT "creators_creator_type_id_fkey" FOREIGN KEY ("creator_type_id") REFERENCES "spdx"."creator_types" ("creator_type_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."documents" ADD CONSTRAINT "documents_data_license_id_fkey" FOREIGN KEY ("data_license_id") REFERENCES "spdx"."licenses" ("license_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."documents" ADD CONSTRAINT "documents_document_namespace_id_fkey" FOREIGN KEY ("document_namespace_id") REFERENCES "spdx"."document_namespaces" ("document_namespace_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."documents" ADD CONSTRAINT "documents_package_id_fkey" FOREIGN KEY ("package_id") REFERENCES "spdx"."packages" ("package_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."documents_creators" ADD CONSTRAINT "documents_creators_creator_id_fkey" FOREIGN KEY ("creator_id") REFERENCES "spdx"."creators" ("creator_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."documents_creators" ADD CONSTRAINT "documents_creators_document_id_fkey" FOREIGN KEY ("document_id") REFERENCES "spdx"."documents" ("document_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."external_refs" ADD CONSTRAINT "external_refs_document_id_fkey" FOREIGN KEY ("document_id") REFERENCES "spdx"."documents" ("document_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."external_refs" ADD CONSTRAINT "external_refs_document_namespace_id_fkey" FOREIGN KEY ("document_namespace_id") REFERENCES "spdx"."document_namespaces" ("document_namespace_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."file_contributors" ADD CONSTRAINT "file_contributors_file_id_fkey" FOREIGN KEY ("file_id") REFERENCES "spdx"."files" ("file_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."files_licenses" ADD CONSTRAINT "files_licenses_file_id_fkey" FOREIGN KEY ("file_id") REFERENCES "spdx"."files" ("file_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."files_licenses" ADD CONSTRAINT "files_licenses_license_id_fkey" FOREIGN KEY ("license_id") REFERENCES "spdx"."licenses" ("license_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."files_scans" ADD CONSTRAINT "files_scans_file_id_fkey" FOREIGN KEY ("file_id") REFERENCES "spdx"."files" ("file_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."files_scans" ADD CONSTRAINT "files_scans_scanner_id_fkey" FOREIGN KEY ("scanner_id") REFERENCES "spdx"."scanners" ("scanner_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."identifiers" ADD CONSTRAINT "identifiers_document_id_fkey" FOREIGN KEY ("document_id") REFERENCES "spdx"."documents" ("document_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."identifiers" ADD CONSTRAINT "identifiers_document_namespace_id_fkey" FOREIGN KEY ("document_namespace_id") REFERENCES "spdx"."document_namespaces" ("document_namespace_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."identifiers" ADD CONSTRAINT "identifiers_package_file_id_fkey" FOREIGN KEY ("package_file_id") REFERENCES "spdx"."packages_files" ("package_file_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."identifiers" ADD CONSTRAINT "identifiers_package_id_fkey" FOREIGN KEY ("package_id") REFERENCES "spdx"."packages" ("package_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages" ADD CONSTRAINT "fk_package_packages_files" FOREIGN KEY ("ver_code_excluded_file_id") REFERENCES "spdx"."packages_files" ("package_file_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages" ADD CONSTRAINT "packages_concluded_license_id_fkey" FOREIGN KEY ("concluded_license_id") REFERENCES "spdx"."licenses" ("license_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages" ADD CONSTRAINT "packages_declared_license_id_fkey" FOREIGN KEY ("declared_license_id") REFERENCES "spdx"."licenses" ("license_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages" ADD CONSTRAINT "packages_originator_id_fkey" FOREIGN KEY ("originator_id") REFERENCES "spdx"."creators" ("creator_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages" ADD CONSTRAINT "packages_supplier_id_fkey" FOREIGN KEY ("supplier_id") REFERENCES "spdx"."creators" ("creator_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages_files" ADD CONSTRAINT "fk_package_files_packages" FOREIGN KEY ("package_id") REFERENCES "spdx"."packages" ("package_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages_files" ADD CONSTRAINT "packages_files_concluded_license_id_fkey" FOREIGN KEY ("concluded_license_id") REFERENCES "spdx"."licenses" ("license_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages_files" ADD CONSTRAINT "packages_files_file_id_fkey" FOREIGN KEY ("file_id") REFERENCES "spdx"."files" ("file_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages_scans" ADD CONSTRAINT "packages_scans_package_id_fkey" FOREIGN KEY ("package_id") REFERENCES "spdx"."packages" ("package_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."packages_scans" ADD CONSTRAINT "packages_scans_scanner_id_fkey" FOREIGN KEY ("scanner_id") REFERENCES "spdx"."scanners" ("scanner_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."relationships" ADD CONSTRAINT "relationships_left_identifier_id_fkey" FOREIGN KEY ("left_identifier_id") REFERENCES "spdx"."identifiers" ("identifier_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."relationships" ADD CONSTRAINT "relationships_relationship_type_id_fkey" FOREIGN KEY ("relationship_type_id") REFERENCES "spdx"."relationship_types" ("relationship_type_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-ALTER TABLE IF EXISTS "spdx"."relationships" ADD CONSTRAINT "relationships_right_identifier_id_fkey" FOREIGN KEY ("right_identifier_id") REFERENCES "spdx"."identifiers" ("identifier_id") ON DELETE NO ACTION ON UPDATE NO ACTION;
-
-INSERT INTO "augur_operations"."augur_settings" set value = 31 where setting = 'augur_data_version';
-
-CREATE TABLE "augur_data"."pull_request_analysis" (
- "pull_request_analysis_id" serial8,
- "pull_request_id" int8,
- "merge_probability" float8,
- "mechanism" varchar,
- "tool_source" varchar,
- "tool_version" varchar,
- "data_source" varchar,
- "data_collection_date" timestamptz NOT NULL DEFAULT CURRENT_TIMESTAMP,
- PRIMARY KEY ("pull_request_analysis_id")
-)
-;
-
-ALTER TABLE "augur_data"."pull_request_analysis" OWNER TO "augur";
-
-COMMENT ON COLUMN "augur_data"."pull_request_analysis"."pull_request_id" IS 'It would be better if the pull request worker is run first to fetch the latest PRs before analyzing';
-
-COMMENT ON COLUMN "augur_data"."pull_request_analysis"."merge_probability" IS 'Indicates the probability of the PR being merged';
-
-COMMENT ON COLUMN "augur_data"."pull_request_analysis"."mechanism" IS 'the ML model used for prediction (It is XGBoost Classifier at present)';
-
-ALTER TABLE "augur_data"."pull_request_analysis" ADD CONSTRAINT "fk_pull_request_analysis_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-CREATE INDEX CONCURRENTLY "probability_idx" ON "augur_data"."pull_request_analysis" USING btree (
- "merge_probability" DESC NULLS LAST
-);
-
-CREATE INDEX CONCURRENTLY "pr_anal_idx" ON "augur_data"."pull_request_analysis" USING btree (
- "pull_request_id"
-);
-
-update "augur_operations"."augur_settings" set value = 32 where setting = 'augur_data_version';
-
-
--- # Pull request commit updates
-ALTER TABLE "augur_data"."pull_request_commits" ADD COLUMN "pr_cmt_author_cntrb_id" int8;
-ALTER TABLE "augur_data"."pull_request_commits" ADD COLUMN "pr_cmt_timestamp" timestamp(0);
-ALTER TABLE "augur_data"."pull_request_commits" ADD COLUMN "pr_cmt_author_email" varchar COLLATE "pg_catalog"."default";
-
-update "augur_operations"."augur_settings" set value = 33 where setting = 'augur_data_version';
-
-
--- # Pull request commit updates
-update "augur_operations"."augur_settings" set value = 34 where setting = 'augur_data_version';
-
-
--- Adding GitLab Platform
-INSERT INTO "augur_data"."platform" ("pltfrm_id", "pltfrm_name", "pltfrm_version", "pltfrm_release_date", "tool_source", "tool_version", "data_source", "data_collection_date") VALUES (25151, 'GitLab', '3', '2020-12-27', 'Manual Entry', 'Sean Goggins', 'GitLab', '2020-12-27 16:07:20');
--- # Pull request commit updates
-update "augur_operations"."augur_settings" set value = 35 where setting = 'augur_data_version';
-
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_author_association" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_state" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_body" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_node_id" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_html_url" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_pull_request_url" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_commit_id" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "tool_source" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "tool_version" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "data_source" TYPE varchar COLLATE "pg_catalog"."default";
-
-
-
-update "augur_operations"."augur_settings" set value = 38 where setting = 'augur_data_version';
-
-
-ALTER TABLE "augur_data"."pull_request_commits" DROP CONSTRAINT "fk_pull_request_commits_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_request_events" DROP CONSTRAINT "fk_pull_request_events_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_request_files" DROP CONSTRAINT "fk_pull_request_commits_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_request_labels" DROP CONSTRAINT "fk_pull_request_labels_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_request_message_ref" DROP CONSTRAINT "fk_pull_request_message_ref_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_request_message_ref" DROP CONSTRAINT "fk_pull_request_message_ref_message_1";
-
-ALTER TABLE "augur_data"."pull_request_meta" DROP CONSTRAINT "fk_pull_request_meta_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_request_repo" DROP CONSTRAINT "fk_pull_request_repo_pull_request_meta_1";
-
-ALTER TABLE "augur_data"."pull_request_review_message_ref" DROP CONSTRAINT "fk_pull_request_review_message_ref_pull_request_reviews_1";
-
-ALTER TABLE "augur_data"."pull_request_reviewers" DROP CONSTRAINT "fk_pull_request_reviewers_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_request_reviews" DROP CONSTRAINT "fk_pull_request_reviews_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_author_association" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_state" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_body" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_node_id" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_html_url" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_pull_request_url" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "pr_review_commit_id" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "tool_source" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "tool_version" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_reviews" ALTER COLUMN "data_source" TYPE varchar COLLATE "pg_catalog"."default";
-
-ALTER TABLE "augur_data"."pull_request_teams" DROP CONSTRAINT "fk_pull_request_teams_pull_requests_1";
-
-ALTER TABLE "augur_data"."pull_requests" DROP CONSTRAINT "fk_pull_requests_pull_request_meta_2";
-
-ALTER TABLE "augur_data"."pull_requests" DROP CONSTRAINT "fk_pull_requests_pull_request_meta_1";
-
-ALTER TABLE "augur_data"."pull_request_commits" ADD CONSTRAINT "fk_pull_request_commits_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_events" ADD CONSTRAINT "fk_pull_request_events_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_files" ADD CONSTRAINT "fk_pull_request_commits_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_labels" ADD CONSTRAINT "fk_pull_request_labels_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_message_ref" ADD CONSTRAINT "fk_pull_request_message_ref_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_message_ref" ADD CONSTRAINT "fk_pull_request_message_ref_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_meta" ADD CONSTRAINT "fk_pull_request_meta_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_repo" ADD CONSTRAINT "fk_pull_request_repo_pull_request_meta_1" FOREIGN KEY ("pr_repo_meta_id") REFERENCES "augur_data"."pull_request_meta" ("pr_repo_meta_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_review_message_ref" ADD CONSTRAINT "fk_pull_request_review_message_ref_pull_request_reviews_1" FOREIGN KEY ("pr_review_id") REFERENCES "augur_data"."pull_request_reviews" ("pr_review_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_reviewers" ADD CONSTRAINT "fk_pull_request_reviewers_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_reviews" ADD CONSTRAINT "fk_pull_request_reviews_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_request_teams" ADD CONSTRAINT "fk_pull_request_teams_pull_requests_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_requests" ADD CONSTRAINT "fk_pull_requests_pull_request_meta_1" FOREIGN KEY ("pr_meta_head_id") REFERENCES "augur_data"."pull_request_meta" ("pr_repo_meta_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-ALTER TABLE "augur_data"."pull_requests" ADD CONSTRAINT "fk_pull_requests_pull_request_meta_2" FOREIGN KEY ("pr_meta_base_id") REFERENCES "augur_data"."pull_request_meta" ("pr_repo_meta_id") ON DELETE CASCADE ON UPDATE CASCADE;
-
-
-
-update "augur_operations"."augur_settings" set value = 39 where setting = 'augur_data_version';
-
-
-COMMENT ON TABLE "augur_data"."contributor_repo" IS 'Developed in Partnership with Andrew Brain';
-
-ALTER TABLE "augur_data"."contributor_repo" ADD COLUMN IF NOT EXISTS "repo_id" int8 NOT NULL;
-
-ALTER TABLE "augur_data"."contributor_repo" ADD COLUMN IF NOT EXISTS "repo_name" varchar COLLATE "pg_catalog"."default" NOT NULL;
-
-ALTER TABLE "augur_data"."contributor_repo" ADD COLUMN IF NOT EXISTS "event_id" int8 NOT NULL;
-
-ALTER TABLE "augur_data"."contributor_repo" ADD COLUMN IF NOT EXISTS "created_at" timestamp(0) NOT NULL;
-
-ALTER TABLE "augur_data"."contributors_aliases" DROP CONSTRAINT IF EXISTS "fk_contributors_aliases_contributors_1";
-
-ALTER TABLE "augur_data"."message" DROP CONSTRAINT IF EXISTS "fk_message_repo_groups_list_serve_1";
-
-ALTER TABLE "augur_data"."message" DROP CONSTRAINT IF EXISTS "fk_message_platform_1";
-
-ALTER TABLE "augur_data"."message" DROP CONSTRAINT IF EXISTS "fk_message_contributors_1";
-
-ALTER TABLE "augur_data"."pull_request_reviewers" DROP CONSTRAINT IF EXISTS "fk_pull_request_reviewers_contributors_1";
-
-ALTER TABLE "augur_data"."pull_request_reviews" DROP CONSTRAINT IF EXISTS "fk_pull_request_reviews_contributors_1";
-
-ALTER TABLE "augur_data"."pull_requests" DROP CONSTRAINT IF EXISTS "fk_pull_requests_repo_1";
-
-ALTER TABLE "augur_data"."contributors_aliases" DROP CONSTRAINT IF EXISTS "fk_alias_id";
-
-ALTER TABLE "augur_data"."pull_request_commits" DROP CONSTRAINT IF EXISTS "fk_pr_commit_cntrb_id";
-
-ALTER TABLE "augur_data"."contributors_aliases" ADD CONSTRAINT "fk_alias_id" FOREIGN KEY ("cntrb_a_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."contributors_aliases" ADD CONSTRAINT "fk_contributors_aliases_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."message" ADD CONSTRAINT "fk_message_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."message" ADD CONSTRAINT "fk_message_platform_1" FOREIGN KEY ("pltfrm_id") REFERENCES "augur_data"."platform" ("pltfrm_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."message" ADD CONSTRAINT "fk_message_repo_groups_list_serve_1" FOREIGN KEY ("rgls_id") REFERENCES "augur_data"."repo_groups_list_serve" ("rgls_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."pull_request_commits" ADD CONSTRAINT "fk_pr_commit_cntrb_id" FOREIGN KEY ("pr_cmt_author_cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."pull_request_reviewers" ADD CONSTRAINT "fk_pull_request_reviewers_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."pull_request_reviews" ADD CONSTRAINT "fk_pull_request_reviews_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."pull_requests" ADD CONSTRAINT "fk_pr_contribs" FOREIGN KEY ("pr_augur_contributor_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-ALTER TABLE "augur_data"."pull_requests" ADD CONSTRAINT "fk_pull_requests_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE CASCADE ON UPDATE CASCADE NOT VALID;
-
-update "augur_operations"."augur_settings" set value = 40 where setting = 'augur_data_version';
-
-
-CREATE INDEX pull_requests_idx_repo_id_data_datex ON "augur_data"."pull_requests" (repo_id,data_collection_date);
-CREATE INDEX repo_idx_repo_id_repo_namex ON "augur_data"."repo" (repo_id,repo_name);
-CREATE INDEX repo_info_idx_repo_id_data_datex ON "augur_data"."repo_info" (repo_id,data_collection_date);
-CREATE INDEX repo_info_idx_repo_id_data_date_1x ON "augur_data"."repo_info" (repo_id,data_collection_date);
-
-update "augur_operations"."augur_settings" set value = 41 where setting = 'augur_data_version';
-
--- Update Repo Foreign Key
-ALTER TABLE "augur_data"."repo" DROP CONSTRAINT "fk_repo_repo_groups_1";
-
-ALTER TABLE "augur_data"."repo" ADD CONSTRAINT "fk_repo_repo_groups_1" FOREIGN KEY ("repo_group_id") REFERENCES "augur_data"."repo_groups" ("repo_group_id") ON DELETE NO ACTION ON UPDATE NO ACTION NOT VALID;
-
-COMMENT ON CONSTRAINT "fk_repo_repo_groups_1" ON "augur_data"."repo" IS 'Repo_groups cardinality set to one and only one because, although in theory there could be more than one repo group for a repo, this might create dependencies in hosted situation that we do not want to live with. ';
-
-ALTER TABLE "augur_data"."message"
- ALTER COLUMN "data_collection_date" SET DEFAULT CURRENT_TIMESTAMP;
-
-update "augur_operations"."augur_settings" set value = 42 where setting = 'augur_data_version';
-
--- Adding new contributors to the database
-
--- Adding new contributors to the database
--- Adding new contributors to the database
-
--- Adding new contributors to the database
-
-BEGIN;
-select setval('augur_data.contributor_affiliations_ca_id_seq', 34000, true);
-
-select nextval('augur_data.contributor_affiliations_ca_id_seq'::regclass);
-
-
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25222, 'venuvardhanreddytekula8@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:14:35', '2021-02-06 15:14:35', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25221, 'nichols.keanu9@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:14:11', '2021-02-06 15:14:11', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25220, 'ubuntu@ip-172-31-2-14.us-west-2.compute.internal', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:13:50', '2021-02-06 15:13:50', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25219, 'kmlumbard@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:13:21', '2021-02-06 15:13:21', 'University of Nebraska-Omaha', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25218, 'jonah.zukosky@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:12:50', '2021-02-06 15:12:50', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25217, 'pogayo17@alustudent.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:12:14', '2021-02-06 15:12:14', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25216, 'mishrapratik356@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:11:23', '2021-02-06 15:11:23', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25215, 'andrewbrain2019@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:10:42', '2021-02-06 15:10:42', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25214, 'root@bing0ne.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:10:15', '2021-02-06 15:10:15', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25213, 'gordonli@me.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:09:46', '2021-02-06 15:09:46', 'CHAOSS Community', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25212, 'ac.be', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:09:20', '2021-02-06 15:09:20', 'CHAOSS Community', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25211, 'shohanduttaroy99@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:08:56', '2021-02-06 15:08:56', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25210, 'missouri.edu', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:08:27', '2021-02-06 15:08:27', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25209, 'akarajgi0@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:07:11', '2021-02-06 15:07:11', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25208, 'jacobeharding@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:06:45', '2021-02-06 15:06:45', 'CHAOSS Community', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25207, 'hacksmath@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:06:19', '2021-02-06 15:06:19', 'CHAOSS Community', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25206, 'benjaminparish628@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:05:48', '2021-02-06 15:05:48', 'CHAOSS Community', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25205, 'msnell@unomaha.edu', '1970-01-01', NULL, NULL, NULL, '2021-02-06 15:04:05', '2021-02-06 15:04:05', 'University of Nebraska-Omaha', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25204, 'aksharap.181it132@nitk.edu.in', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:10:03', '2021-02-06 14:10:03', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25203, 'iyovcheva@vmware.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:09:36', '2021-02-06 14:09:36', 'VMWare', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25202, 'maximumbalk@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:09:15', '2021-02-06 14:09:15', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25201, '43684300+pratikmishra356@users.noreply.github.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:08:34', '2021-02-06 14:08:34', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25200, 'abhinavbajpai2012@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:08:01', '2021-02-06 14:08:01', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25188, 'ortonpaul18@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:05:58', '2021-02-06 14:05:58', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25187, 'linkgeorg@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:05:29', '2021-02-06 14:05:29', 'University of Nebraska-Omaha', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25186, 'parth261297@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:05:02', '2021-02-06 14:05:02', 'Google Summer of Code', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25185, 'users.noreply.github.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:04:39', '2021-02-06 14:04:39', 'CHAOSS Community', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25184, 'foundjem@users.noreply.github.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:04:12', '2021-02-06 14:04:12', 'CHAOSS Community', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25183, 'gsyc.es', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:03:39', '2021-02-06 14:03:39', 'Bitergia', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25182, 'harshalmittal4@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:03:21', '2021-02-06 14:03:21', 'Bitergia', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25181, '31676518+tretrue@users.noreply.github.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:02:57', '2021-02-06 14:02:57', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25180, 'klumbard@unomaha.edu', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:02:28', '2021-02-06 14:02:28', 'University of Nebraska-Omaha', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25179, 'gabe.heim@yahoo.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:01:55', '2021-02-06 14:01:55', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25178, 'ccarterlandis@pm.me', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:01:34', '2021-02-06 14:01:34', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25177, 'ccarterlandis@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:01:13', '2021-02-06 14:01:13', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25176, 'abuhman@users.noreply.github.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:00:32', '2021-02-06 14:00:32', 'University of Nebraska-Omaha', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25175, 'gogginss@missouri.edu', '1970-01-01', NULL, NULL, NULL, '2021-02-06 14:00:06', '2021-02-06 14:00:06', 'University of Missouri', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25174, 'spencerrrobinson@unomaha.edu', '1970-01-01', NULL, NULL, NULL, '2021-02-06 13:59:19', '2021-02-06 13:59:19', 'University of Nebraska-Omaha', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25173, 'germonprez@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 13:58:48', '2021-02-06 13:58:48', 'University of Nebraska-Omaha', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25172, 'derek@howderek.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 13:57:56', '2021-02-06 13:57:56', 'Lawrence Livermore National Lab', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25171, 'doombreakr@gmail.com', '1970-01-01', NULL, NULL, NULL, '2021-02-06 13:57:20', '2021-02-06 13:57:20', 'Lawrence Livermore National Lab', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "ca_start_date", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_active") VALUES (25170, 'cmehil.warn@gmail.com', '2016-05-06', 'load', '1.0', 'load', '2021-02-06 13:55:16', '2021-02-06 13:56:46', 'University of Nebraska-Omaha', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24189, 'jschnake@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24190, 'schnake.john@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24191, 'bmcerlean@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24192, 'bridget@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24193, 'ashish.amarnath@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24194, 'ashisham@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24195, 'gus@inodes.org', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24196, 'felipe.alfaro@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24197, 'sameer@damagehead.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24198, 'sameer@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24199, 'sameersbn@Sameers-MacBook-Pro.local', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24200, 'adnan@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24201, 'adnan@prydoni.us', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24202, 'adnan@adnan-bitnami.local', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24203, 'apulido@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24204, 'ara@ubuntu.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24205, 'bridgetmcerlean@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24206, 'migmartri@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24207, 'miguel@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24208, 'dbarranco@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24209, 'jbianquetti@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24210, 'jbianquetti-nami@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24211, 'andres.mgotor@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24212, 'andres@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24213, 'juanjosec@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24214, 'containers@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24215, 'bors\[bot\]@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24216, 'matt.goodall@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24217, 'j-fuentes@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24218, 'jfuentes@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24219, 'mnelson@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24220, 'mkm@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24221, 'mmikulicic@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24222, 'james@jameswestby.net', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24223, 'stephen.stewart@carisenda.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24224, 'daniel.lopez@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24225, 'nomisbeme@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24226, 'marcos@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24227, 'marcosbc@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24228, 'juan@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24229, 'juan_ariza_cordoba@hotmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24230, 'jota@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24231, 'jotamartos@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24232, 'alejandro@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24233, 'alexrwave@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24234, 'jotadrilo@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24235, 'jsalmeron@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24236, 'tomas@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24237, 'vikram@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24238, 'vikram-bitnami@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24239, 'crhernandez@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24240, 'carrodher1179@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24241, 'juanjo@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24242, 'juanjo@bitrock.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24243, 'beltran@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24244, 'angel@bitnami.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24245, 'Angelmmiguel@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24246, 'rcampuzano82@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24247, 'andy@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24248, 'andy.goldstein@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24249, 'goldsteina@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24250, 'nolan@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (27291, 'brubakern@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24252, 'nolan@nbrubaker.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24253, 'stevek@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24254, 'steve@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24255, 'stephen.kriss@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24256, 'krisss@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24257, 'carlisia@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24258, 'carlisia@grokkingtech.io', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24259, 'carlisiac@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24260, 'carlisia@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24261, 'wayne@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24262, 'wayne@riotousliving.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24263, 'wwitzel3@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24264, 'jennifer@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24265, 'jrondeau@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24266, 'Bradamant3@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24267, 'aadnan@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24268, 'dave@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24269, 'dave@cheney.net', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24270, 'steves@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24271, 'steve@stevesloka.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24272, 'slokas@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24273, 'ynick@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24274, 'inocuo@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24275, 'ynick@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24276, 'jpeach@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24277, 'ross@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24278, 'ross@kukulinski.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24279, 'ralph@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24280, 'ralph.l.bankston@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24281, 'alex_brand@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24282, 'alexbrand09@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24283, 'joe@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24284, 'joe.github@bedafamily.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24285, 'vince@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24286, 'vince@vincepri.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24287, 'chuck@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24288, 'ha.chuck@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24289, 'jason@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24290, 'detiber@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24291, 'detiberusj@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24292, 'liz@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24293, '.*liztio@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24294, 'naadir@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24295, 'naadir@randomvariable.co.uk', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24296, 'randomvariable@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24297, 'ruben@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24298, 'rubenoz@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (24299, 'rdodev@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25300, 'tstclair@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25301, 'timothysc@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25302, 'craigtracey@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25303, 'luohui925@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25304, 'davanum@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25305, 'amy@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25306, 'bryanliles@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25307, 'bryan@Bryans-MacBook-Pro.local', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25308, 'lilesb@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25309, 'sfoohei@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25310, 'foos@vmware.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25311, 'mlandaverde@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25312, 'mdaverde@users.noreply.github.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25313, 'shomron@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25314, 'derek@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25315, 'jderekwilson@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25316, 'eric@heptio.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25317, 'kate.kuchin@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25318, 'suraci.alex@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25319, 'asuraci@pivotal.io', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25320, 'alex@localhost.localdomain', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25321, 'julian.zucker@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25322, 'sahil.muthoo@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25323, 'fali@pivotal.io', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25324, 'fai28683@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25325, 'dgarnier@pivotal.io', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25326, 'git@garnier.wf', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25327, 'matthew.heidemann@gmail.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25328, 'me@lurraca.com', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_start_date", "ca_affiliation", "ca_active") VALUES (25329, 'lurraca@pivotal.io', 'Helper Script', NULL, 'Dawn''s vmware_mapping JSON', '2020-04-28 18:52:49', '2020-04-28 18:52:49', '1970-01-01', 'VMware', 1) ON CONFLICT DO NOTHING;
-
-update "augur_operations"."augur_settings" set value = 43 where setting = 'augur_data_version';
-
-
-COMMIT;
-
-
-
-
-
-
-ALTER TABLE "augur_data"."pull_request_analysis" ALTER COLUMN "merge_probability" TYPE numeric(256,250) USING "merge_probability"::numeric(256,250);
-
-ALTER TABLE "augur_data"."pull_requests" ALTER COLUMN "repo_id" SET DEFAULT 0;
-
-COMMENT ON CONSTRAINT "fk_repo_repo_groups_1" ON "augur_data"."repo" IS 'Repo_groups cardinality set to one and only one because, although in theory there could be more than one repo group for a repo, this might create dependencies in hosted situation that we do not want to live with. ';
-
-CREATE INDEX IF NOT EXISTS "probability_idx" ON "augur_data"."pull_request_analysis" USING btree (
- "merge_probability" "pg_catalog"."numeric_ops" DESC NULLS LAST
-);
-
-
-update "augur_operations"."augur_settings" set value = 44 where setting = 'augur_data_version';
-COMMIT;
-
-
-
-
-
-
-CREATE SEQUENCE IF "augur_operations"."affiliations_corp_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 620000
-CACHE 1;
-
-CREATE SEQUENCE "augur_operations"."worker_oauth_oauth_id_seq"
-INCREMENT 1
-MINVALUE 1
-MAXVALUE 9223372036854775807
-START 620000
-CACHE 1;
-
-COMMENT ON TABLE "augur_operations"."augur_settings" IS 'Augur settings include the schema version, and the Augur API Key as of 10/25/2020. Future augur settings may be stored in this table, which has the basic structure of a name-value pair. ';
-
-COMMENT ON TABLE "augur_operations"."repos_fetch_log" IS 'For future use when we move all working tables to the augur_operations schema. ';
-
-COMMENT ON TABLE "augur_operations"."worker_history" IS 'This table stores the complete history of job execution, including success and failure. It is useful for troubleshooting. ';
-
-COMMENT ON TABLE "augur_operations"."worker_job" IS 'This table stores the jobs workers collect data for. A job is found in the code, and in the augur.config.json under the construct of a “model”. ';
-
-ALTER TABLE "augur_operations"."worker_job" ALTER COLUMN "description" SET DEFAULT 'None'::character varying;
-
-COMMENT ON TABLE "augur_operations"."worker_oauth" IS 'This table stores credentials for retrieving data from platform API’s. Entries in this table must comply with the terms of service for each platform. ';
-
-ALTER TABLE "augur_operations"."worker_oauth" ALTER COLUMN "oauth_id" TYPE int8 USING "oauth_id"::int8;
-
-ALTER TABLE "augur_operations"."worker_oauth" ALTER COLUMN "oauth_id" SET DEFAULT nextval('"augur_operations".worker_oauth_oauth_id_seq'::regclass);
-
-ALTER TABLE "augur_operations"."worker_oauth" ADD CONSTRAINT "worker_oauth_pkey" PRIMARY KEY ("oauth_id");
-
-COMMENT ON TABLE "augur_operations"."worker_settings_facade" IS 'For future use when we move all working tables to the augur_operations schema. ';
-
-COMMENT ON TABLE "augur_operations"."working_commits" IS 'For future use when we move all working tables to the augur_operations schema. ';
-
-SELECT setval('"augur_operations"."affiliations_corp_id_seq"', 1, false);
-
-ALTER SEQUENCE "augur_operations"."affiliations_corp_id_seq" OWNER TO "augur";
-
-SELECT setval('"augur_operations"."gh_worker_history_history_id_seq"', 6300000, true);
-
-SELECT setval('"augur_operations"."worker_oauth_oauth_id_seq"', 6300000, true);
-
-ALTER SEQUENCE "augur_operations"."worker_oauth_oauth_id_seq" OWNER TO "augur";
-
-CREATE INDEX "repos_id,statusops" ON "augur_operations"."repos_fetch_log" USING btree (
- "repos_id" "pg_catalog"."int4_ops" ASC NULLS LAST,
- "status" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST
-);
-
-
-
-update "augur_operations"."augur_settings" set value = 45 where setting = 'augur_data_version';
-
-
-
--- ----------------------------
--- Table structure for contributor_repo
--- ----------------------------
-
-BEGIN;
-
-DROP TABLE IF EXISTS "augur_data"."contributor_repo";
-
-
-CREATE TABLE IF NOT EXISTS "augur_data"."contributor_repo" (
- "cntrb_repo_id" SERIAL8,
- "cntrb_id" int8 NOT NULL,
- "repo_git" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "repo_name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "gh_repo_id" int8 NOT NULL,
- "cntrb_category" varchar(255) COLLATE "pg_catalog"."default",
- "event_id" int8
-)
-;
-ALTER TABLE "augur_data"."contributor_repo" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."contributor_repo"."cntrb_id" IS 'This is not null because what is the point without the contributor in this table? ';
-COMMENT ON COLUMN "augur_data"."contributor_repo"."repo_git" IS 'Similar to cntrb_id, we need this data for the table to have meaningful data. ';
-COMMENT ON TABLE "augur_data"."contributor_repo" IS 'Developed in Partnership with Andrew Brain.
-
From:
[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
';
-
--- ----------------------------
--- Primary Key structure for table contributor_repo
--- ----------------------------
-ALTER TABLE "augur_data"."contributor_repo" DROP CONSTRAINT "cntrb_repo_id_key";
-
-ALTER TABLE "augur_data"."contributor_repo" ADD CONSTRAINT "cntrb_repo_id_key" PRIMARY KEY ("cntrb_repo_id");
-
--- ----------------------------
--- Foreign Keys structure for table contributor_repo
--- ----------------------------
-ALTER TABLE "augur_data"."contributor_repo" DROP CONSTRAINT "fk_contributor_repo_contributors_1";
-
-ALTER TABLE "augur_data"."contributor_repo" ADD CONSTRAINT "fk_contributor_repo_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE RESTRICT ON UPDATE CASCADE;
-
-update "augur_operations"."augur_settings" set value = 46 where setting = 'augur_data_version';
-
-
-COMMIT;
-
-
-
---------------- 47 ------------------
-
-
--- ----------------------------
--- Table structure for contributor_repo
--- ----------------------------
-
-BEGIN;
-
-DROP TABLE IF EXISTS "augur_data"."contributor_repo";
-
-
-CREATE TABLE IF NOT EXISTS "augur_data"."contributor_repo" (
- "cntrb_repo_id" SERIAL8,
- "cntrb_id" int8 NOT NULL,
- "repo_git" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "repo_name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "gh_repo_id" int8 NOT NULL,
- "cntrb_category" varchar(255) COLLATE "pg_catalog"."default",
- "event_id" int8
-)
-;
-ALTER TABLE "augur_data"."contributor_repo" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."contributor_repo"."cntrb_id" IS 'This is not null because what is the point without the contributor in this table? ';
-COMMENT ON COLUMN "augur_data"."contributor_repo"."repo_git" IS 'Similar to cntrb_id, we need this data for the table to have meaningful data. ';
-COMMENT ON TABLE "augur_data"."contributor_repo" IS 'Developed in Partnership with Andrew Brain.
-
From:
[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
';
-
--- ----------------------------
--- Primary Key structure for table contributor_repo
--- ----------------------------
-ALTER TABLE "augur_data"."contributor_repo" DROP CONSTRAINT "cntrb_repo_id_key";
-
-ALTER TABLE "augur_data"."contributor_repo" ADD CONSTRAINT "cntrb_repo_id_key" PRIMARY KEY ("cntrb_repo_id");
-
--- ----------------------------
--- Foreign Keys structure for table contributor_repo
--- ----------------------------
-ALTER TABLE "augur_data"."contributor_repo" DROP CONSTRAINT "fk_contributor_repo_contributors_1";
-
-ALTER TABLE "augur_data"."contributor_repo" ADD CONSTRAINT "fk_contributor_repo_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE RESTRICT ON UPDATE CASCADE;
-
-update "augur_operations"."augur_settings" set value = 46 where setting = 'augur_data_version';
-
-
-COMMIT;
-
-
-
---------------- 47 ------------------
-
-
-
-BEGIN;
-
--- ----------------------------
--- Table structure for contributor_repo
--- ----------------------------
-DROP TABLE IF EXISTS "augur_data"."contributor_repo";
-CREATE TABLE "augur_data"."contributor_repo" (
- "cntrb_repo_id" int4 NOT NULL DEFAULT nextval('"augur_data".contributor_repo_cntrb_repo_id_seq'::regclass),
- "cntrb_id" int8 NOT NULL,
- "repo_git" varchar COLLATE "pg_catalog"."default" NOT NULL,
- "tool_source" varchar COLLATE "pg_catalog"."default",
- "tool_version" varchar COLLATE "pg_catalog"."default",
- "data_source" varchar COLLATE "pg_catalog"."default",
- "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP,
- "repo_name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
- "gh_repo_id" int8 NOT NULL,
- "cntrb_category" varchar(255) COLLATE "pg_catalog"."default",
- "event_id" int8,
- "created_at" timestamp(0)
-)
-;
-ALTER TABLE "augur_data"."contributor_repo" OWNER TO "augur";
-COMMENT ON COLUMN "augur_data"."contributor_repo"."cntrb_id" IS 'This is not null because what is the point without the contributor in this table? ';
-COMMENT ON COLUMN "augur_data"."contributor_repo"."repo_git" IS 'Similar to cntrb_id, we need this data for the table to have meaningful data. ';
-COMMENT ON TABLE "augur_data"."contributor_repo" IS 'Developed in Partnership with Andrew Brain.
-
From:
[
- {
- "login": "octocat",
- "id": 1,
- "node_id": "MDQ6VXNlcjE=",
- "avatar_url": "https://github.com/images/error/octocat_happy.gif",
- "gravatar_id": "",
- "url": "https://api.github.com/users/octocat",
- "html_url": "https://github.com/octocat",
- "followers_url": "https://api.github.com/users/octocat/followers",
- "following_url": "https://api.github.com/users/octocat/following{/other_user}",
- "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
- "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
- "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
- "organizations_url": "https://api.github.com/users/octocat/orgs",
- "repos_url": "https://api.github.com/users/octocat/repos",
- "events_url": "https://api.github.com/users/octocat/events{/privacy}",
- "received_events_url": "https://api.github.com/users/octocat/received_events",
- "type": "User",
- "site_admin": false
- }
-]
-
';
-
-
--- ----------------------------
--- Primary Key structure for table contributor_repo
--- ----------------------------
-ALTER TABLE "augur_data"."contributor_repo" DROP CONSTRAINT IF EXISTS "cntrb_repo_id_key";
-
-ALTER TABLE "augur_data"."contributor_repo" ADD CONSTRAINT "cntrb_repo_id_key" PRIMARY KEY ("cntrb_repo_id");
-
--- ----------------------------
--- Foreign Keys structure for table contributor_repo
--- ----------------------------
-ALTER TABLE "augur_data"."contributor_repo" DROP CONSTRAINT IF EXISTS "fk_contributor_repo_contributors_1";
-
-ALTER TABLE "augur_data"."contributor_repo" ADD CONSTRAINT "fk_contributor_repo_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE RESTRICT ON UPDATE CASCADE;
-
-update "augur_operations"."augur_settings" set value = 47 where setting = 'augur_data_version';
-
-
-COMMIT;
-
-
-BEGIN;
-
-ALTER TABLE "augur_data"."topic_words"
- DROP CONSTRAINT IF EXISTS "fk_topic_words_repo_topic_1";
-
-update "augur_operations"."augur_settings" set value = 48 where setting = 'augur_data_version';
-
-
-COMMIT;
-
-
-
diff --git a/schema/20201025-Release-0.14.0.svg b/schema/20201025-Release-0.14.0.svg
deleted file mode 100644
index 817b58e4c4..0000000000
--- a/schema/20201025-Release-0.14.0.svg
+++ /dev/null
@@ -1,54980 +0,0 @@
-
-
diff --git a/schema/20201111-Release-0.14.1.pdf b/schema/20201111-Release-0.14.1.pdf
deleted file mode 100644
index a5e23643db..0000000000
Binary files a/schema/20201111-Release-0.14.1.pdf and /dev/null differ
diff --git a/schema/20201111-Release-0.14.1.svg b/schema/20201111-Release-0.14.1.svg
deleted file mode 100644
index 08f2b22f02..0000000000
--- a/schema/20201111-Release-0.14.1.svg
+++ /dev/null
@@ -1,55486 +0,0 @@
-
-
diff --git a/schema/20210711-Augur-Model.ndm2 b/schema/20210811-augur-0.2.1-release.ndm2
similarity index 95%
rename from schema/20210711-Augur-Model.ndm2
rename to schema/20210811-augur-0.2.1-release.ndm2
index d73fdf01ce..63e3c4a93f 100644
--- a/schema/20210711-Augur-Model.ndm2
+++ b/schema/20210811-augur-0.2.1-release.ndm2
@@ -12,7 +12,7 @@
"server": {
"objectType": "Server_PGSQL",
"name": "Default",
- "serverVersion": 130000,
+ "serverVersion": 120000,
"edition": "Default",
"catalogs": [
{
@@ -33,7 +33,7 @@
"tables": [
{
"objectType": "TableNormal_PGSQL",
- "name": "analysis_log",
+ "name": "_dev1_repo_deps_scorecard",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -41,8 +41,8 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "analysis_log",
- "oid": 185889,
+ "oldName": "_dev1_repo_deps_scorecard",
+ "oid": 15488532,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -59,17 +59,17 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "repos_id",
- "type": "int4",
- "length": 32,
+ "name": "repo_deps_scorecard_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.repo_deps_scorecard_repo_deps_scorecard_id_seq'::regclass)",
"comment": "",
- "oldName": "repos_id",
+ "oldName": "repo_deps_scorecard_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -89,22 +89,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "status",
- "type": "varchar",
- "length": 0,
+ "name": "repo_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": false,
+ "collation": "",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "status",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
@@ -119,22 +119,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "date_attempted",
- "type": "timestamp",
+ "name": "ossf_active_status",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "date_attempted",
+ "oldName": "ossf_active_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -146,98 +146,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [
- {
- "objectType": "Index_PGSQL",
- "name": "repos_id",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "repos_id",
- "oid": 203939,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "analysis_log",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repos_id",
- "collation": "",
- "opClass": "int4_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repos_id",
- "collationSchema": ""
- }
- ]
- }
- ],
- "rules": [],
- "foreignKeys": [],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "chaoss_metric_status",
- "comment": "This table used to track CHAOSS Metric implementations in Augur, but due to the constantly changing location of that information, it is for the moment not actively populated. ",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "chaoss_metric_status",
- "oid": 186416,
- "rows": 80,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "cms_id",
- "type": "int8",
- "length": 64,
+ "name": "ossf_branch_protection_status",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.chaoss_metric_status_cms_id_seq'::regclass)",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cms_id",
+ "oldName": "ossf_branch_protection_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -251,7 +179,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cm_group",
+ "name": "ossf_ci_tests_status",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -261,13 +189,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cm_group",
+ "oldName": "ossf_ci_tests_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 2,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -281,7 +209,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cm_source",
+ "name": "ossf_cii_badge_status",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -291,13 +219,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cm_source",
+ "oldName": "ossf_cii_badge_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 3,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -311,7 +239,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cm_type",
+ "name": "ossf_code_review_status",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -321,13 +249,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cm_type",
+ "oldName": "ossf_code_review_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -341,7 +269,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cm_backend_status",
+ "name": "ossf_contributors_status",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -351,13 +279,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cm_backend_status",
+ "oldName": "ossf_contributors_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -371,7 +299,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cm_frontend_status",
+ "name": "ossf_frozen_deps_status",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -381,13 +309,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cm_frontend_status",
+ "oldName": "ossf_frozen_deps_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -401,23 +329,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cm_defined",
- "type": "bool",
+ "name": "ossf_fuzzing_status",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cm_defined",
+ "oldName": "ossf_fuzzing_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 7,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -431,7 +359,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cm_api_endpoint_repo",
+ "name": "ossf_packaging_status",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -441,13 +369,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cm_api_endpoint_repo",
+ "oldName": "ossf_packaging_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -461,7 +389,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cm_api_endpoint_rg",
+ "name": "ossf_pull_request_status",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -471,13 +399,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cm_api_endpoint_rg",
+ "oldName": "ossf_pull_request_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -491,7 +419,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cm_name",
+ "name": "ossf_sast_status",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -501,13 +429,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cm_name",
+ "oldName": "ossf_sast_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 10,
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -521,7 +449,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cm_working_group",
+ "name": "ossf_security_policy_status",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -531,13 +459,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cm_working_group",
+ "oldName": "ossf_security_policy_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 11,
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -551,23 +479,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cm_info",
- "type": "json",
+ "name": "ossf_signed_releases_status",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cm_info",
+ "oldName": "ossf_signed_releases_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 12,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 15,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -581,7 +509,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "ossf_signed_tags_status",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -591,13 +519,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "ossf_signed_tags_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 13,
+ "ordinalPosition": 16,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -611,7 +539,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "ossf_active_score",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -621,13 +549,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "ossf_active_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 14,
+ "ordinalPosition": 17,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -641,7 +569,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
+ "name": "ossf_branch_protection_score",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -651,13 +579,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "ossf_branch_protection_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 15,
+ "ordinalPosition": 18,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -671,23 +599,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
+ "name": "ossf_ci_tests_score",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "ossf_ci_tests_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 16,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 19,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -701,7 +629,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cm_working_group_focus_area",
+ "name": "ossf_cii_badge_score",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -711,13 +639,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cm_working_group_focus_area",
+ "oldName": "ossf_cii_badge_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 17,
+ "ordinalPosition": 20,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -728,76 +656,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "chaoss_metric_status_pkey",
- "fields": [
- "cms_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "chaoss_metric_status_pkey"
- },
- "foreignKeys": [],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "commit_parents",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "commit_parents",
- "oid": 186443,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "cmt_id",
- "type": "int8",
- "length": 64,
+ "name": "ossf_code_review_score",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cmt_id",
+ "oldName": "ossf_code_review_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 21,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -811,23 +689,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "parent_id",
- "type": "int8",
- "length": 64,
+ "name": "ossf_contributors_score",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.commit_parents_parent_id_seq'::regclass)",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "parent_id",
+ "oldName": "ossf_contributors_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 2,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 22,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -841,9 +719,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "ossf_frozen_deps_score",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -851,13 +729,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "ossf_frozen_deps_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 3,
+ "ordinalPosition": 23,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -871,9 +749,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "ossf_fuzzing_score",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -881,13 +759,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "ossf_fuzzing_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 24,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -901,9 +779,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
+ "name": "ossf_packaging_score",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -911,13 +789,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "ossf_packaging_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 25,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -931,23 +809,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
+ "name": "ossf_pull_request_score",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "ossf_pull_request_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 6,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 26,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -958,189 +836,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [
- {
- "objectType": "Index_PGSQL",
- "name": "commit_parents_ibfk_1",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "commit_parents_ibfk_1",
- "oid": 203610,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commit_parents",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_id",
- "collationSchema": ""
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "commit_parents_ibfk_2",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "commit_parents_ibfk_2",
- "oid": 203618,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commit_parents",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "parent_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "parent_id",
- "collationSchema": ""
- }
- ]
- }
- ],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "commit_parents_pkey",
- "fields": [
- "cmt_id",
- "parent_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "commit_parents_pkey"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_commit_parents_commits_1",
- "fields": [
- "cmt_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "commits",
- "referenceFields": [
- "cmt_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_commit_parents_commits_1"
},
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_commit_parents_commits_2",
- "fields": [
- "parent_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "commits",
- "referenceFields": [
- "cmt_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_commit_parents_commits_2"
- }
- ],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "contributor_affiliations",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "contributor_affiliations",
- "oid": 186765,
- "rows": 1,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "ca_id",
- "type": "int8",
- "length": 64,
+ "name": "ossf_sast_score",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.contributor_affiliations_ca_id_seq'::regclass)",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "ca_id",
+ "oldName": "ossf_sast_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 27,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -1154,23 +869,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "ca_domain",
+ "name": "ossf_security_policy_score",
"type": "varchar",
- "length": 64,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "ca_domain",
+ "oldName": "ossf_security_policy_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 2,
+ "ordinalPosition": 28,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -1184,23 +899,53 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "ca_start_date",
- "type": "date",
+ "name": "ossf_signed_releases_score",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "'1970-01-01'::date",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "ca_start_date",
+ "oldName": "ossf_signed_releases_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 3,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 29,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "ossf_signed_tags_score",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "ossf_signed_tags_score",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 30,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -1216,7 +961,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -1230,7 +975,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 31,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -1246,7 +991,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_version",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -1260,7 +1005,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 32,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -1276,7 +1021,7 @@
"objectType": "TableField_PGSQL",
"name": "data_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -1290,7 +1035,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 33,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -1320,7 +1065,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 7,
+ "ordinalPosition": 34,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -1331,26 +1076,98 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "repo_deps_scorecard_pkey",
+ "fields": [
+ "repo_deps_scorecard_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "repo_deps_scorecard_pkey"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "repo_id",
+ "fields": [
+ "repo_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "repo",
+ "referenceFields": [
+ "repo_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "repo_id"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "analysis_log",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "analysis_log",
+ "oid": 15486416,
+ "rows": 212,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "ca_last_used",
- "type": "timestamp",
- "length": 0,
+ "name": "repos_id",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "ca_last_used",
+ "oldName": "repos_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 8,
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -1364,23 +1181,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "ca_affiliation",
+ "name": "status",
"type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "ca_affiliation",
+ "oldName": "status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -1394,23 +1211,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "ca_active",
- "type": "int2",
- "length": 16,
+ "name": "date_attempted",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "Others",
- "defaultValue": "1",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "ca_active",
+ "oldName": "date_attempted",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 10,
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -1423,37 +1240,45 @@
"isIdentityCycle": false
}
],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "contributor_affiliations_pkey",
- "fields": [
- "ca_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "contributor_affiliations_pkey"
- },
- "foreignKeys": [],
- "uniques": [
+ "indexes": [
{
- "objectType": "Unique_PGSQL",
- "name": "unique_domain",
- "fields": [
- "ca_domain"
- ],
+ "objectType": "Index_PGSQL",
+ "name": "repos_id",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
"fillFactor": -1,
- "indexTablespace": "",
- "comment": "Only one row should exist for any given top level domain or subdomain. ",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "unique_domain"
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "repos_id",
+ "oid": 15486895,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "analysis_log",
+ "size": "16",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repos_id",
+ "collation": "",
+ "opClass": "int4_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repos_id",
+ "collationSchema": ""
+ }
+ ]
}
],
+ "rules": [],
+ "foreignKeys": [],
+ "uniques": [],
"checks": [],
"excludes": [],
"triggers": [],
@@ -1462,17 +1287,17 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "contributors_history",
- "comment": "For GitHub, this should be repeated from gh_login. for other systems, it should be that systems login. \n\nAt this time the table is not populated. ",
+ "name": "chaoss_metric_status",
+ "comment": "This table used to track CHAOSS Metric implementations in Augur, but due to the constantly changing location of that information, it is for the moment not actively populated. ",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "contributors_history",
- "oid": 187380,
- "rows": 0,
+ "oldName": "chaoss_metric_status",
+ "oid": 15486423,
+ "rows": 80,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -1488,7 +1313,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_history_id",
+ "name": "cms_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -1496,9 +1321,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.contributors_history_cntrb_history_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.chaoss_metric_status_cms_id_seq'::regclass)",
"comment": "",
- "oldName": "cntrb_history_id",
+ "oldName": "cms_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -1518,22 +1343,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_id",
- "type": "int8",
- "length": 64,
+ "name": "cm_group",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cntrb_id",
+ "oldName": "cm_group",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
@@ -1548,22 +1373,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_history_timestamp",
- "type": "timestamp",
+ "name": "cm_source",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_history_timestamp",
+ "oldName": "cm_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -1578,22 +1403,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_history_current_bool",
- "type": "bool",
+ "name": "cm_type",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "At some point it would be great to have a boolean updated by a contributor worker that set the most recent contributor data to true. ",
- "oldName": "cntrb_history_current_bool",
+ "comment": "",
+ "oldName": "cm_type",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
@@ -1608,22 +1433,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_organizations_list",
- "type": "json",
+ "name": "cm_backend_status",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cntrb_organizations_list",
+ "oldName": "cm_backend_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
@@ -1638,22 +1463,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_gists_count",
- "type": "int8",
- "length": 64,
+ "name": "cm_frontend_status",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cntrb_gists_count",
+ "oldName": "cm_frontend_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
@@ -1668,9 +1493,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_starred_count",
- "type": "int8",
- "length": 64,
+ "name": "cm_defined",
+ "type": "bool",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -1678,7 +1503,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cntrb_starred_count",
+ "oldName": "cm_defined",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -1698,22 +1523,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_following_count",
- "type": "int8",
- "length": 64,
+ "name": "cm_api_endpoint_repo",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cntrb_following_count",
+ "oldName": "cm_api_endpoint_repo",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
@@ -1728,22 +1553,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_follower_count",
- "type": "int8",
- "length": 64,
+ "name": "cm_api_endpoint_rg",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cntrb_follower_count",
+ "oldName": "cm_api_endpoint_rg",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
@@ -1758,17 +1583,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_login",
+ "name": "cm_name",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "Will be a double population with the same value as gh_login for github, but the local value for other systems. ",
- "oldName": "cntrb_login",
+ "comment": "",
+ "oldName": "cm_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -1788,17 +1613,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_email",
+ "name": "cm_working_group",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "This needs to be here for matching contributor ids, which are augur, to the commit information. ",
- "oldName": "cntrb_email",
+ "comment": "",
+ "oldName": "cm_working_group",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -1818,22 +1643,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_company",
- "type": "varchar",
- "length": 255,
+ "name": "cm_info",
+ "type": "json",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_company",
+ "oldName": "cm_info",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
@@ -1848,22 +1673,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_created_at",
- "type": "timestamp",
+ "name": "tool_source",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cntrb_created_at",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
@@ -1878,17 +1703,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_type",
+ "name": "tool_version",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "Present in another models. It is not currently used in Augur. ",
- "oldName": "cntrb_type",
+ "comment": "",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -1908,22 +1733,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_fake",
- "type": "int2",
- "length": 16,
+ "name": "data_source",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "0",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_fake",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 15,
"foreignOptions": [],
"isIdentity": false,
@@ -1938,17 +1763,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_deleted",
- "type": "int2",
- "length": 16,
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "Others",
- "defaultValue": "0",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "cntrb_deleted",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -1968,22 +1793,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_long",
- "type": "numeric",
- "length": 11,
- "decimals": 8,
+ "name": "cm_working_group_focus_area",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::numeric",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_long",
+ "oldName": "cm_working_group_focus_area",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 17,
"foreignOptions": [],
"isIdentity": false,
@@ -1995,26 +1820,76 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "chaoss_metric_status_pkey",
+ "fields": [
+ "cms_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "chaoss_metric_status_pkey"
+ },
+ "foreignKeys": [],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "commit_comment_ref",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "commit_comment_ref",
+ "oid": 15486431,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_lat",
- "type": "numeric",
- "length": 10,
- "decimals": 8,
+ "name": "cmt_comment_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "Others",
- "defaultValue": "NULL::numeric",
+ "defaultValue": "nextval('augur_data.commit_comment_ref_cmt_comment_id_seq'::regclass)",
"comment": "",
- "oldName": "cntrb_lat",
+ "oldName": "cmt_comment_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 18,
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2028,53 +1903,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_country_code",
- "type": "char",
- "length": 3,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::bpchar",
- "comment": "",
- "oldName": "cntrb_country_code",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 19,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "cntrb_state",
- "type": "varchar",
- "length": 255,
+ "name": "cmt_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_state",
+ "oldName": "cmt_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 20,
+ "collationSchema": "",
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2088,23 +1933,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_city",
- "type": "varchar",
- "length": 255,
+ "name": "msg_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_city",
+ "oldName": "msg_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 21,
+ "collationSchema": "",
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2118,23 +1963,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_location",
- "type": "varchar",
- "length": 255,
+ "name": "user_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_location",
+ "oldName": "user_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 22,
+ "collationSchema": "",
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2148,9 +1993,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_canonical",
- "type": "varchar",
- "length": 128,
+ "name": "body",
+ "type": "text",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -2158,13 +2003,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cntrb_canonical",
+ "oldName": "body",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 23,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2178,7 +2023,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_user_id",
+ "name": "line",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -2188,13 +2033,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_user_id",
+ "oldName": "line",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 24,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2208,23 +2053,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_login",
- "type": "varchar",
- "length": 255,
+ "name": "position",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "populated with the github user name for github originated data. ",
- "oldName": "gh_login",
+ "comment": "",
+ "oldName": "position",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 25,
+ "collationSchema": "",
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2238,23 +2083,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_url",
- "type": "varchar",
- "length": 255,
+ "name": "created_at",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "gh_url",
+ "oldName": "created_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 26,
+ "collationSchema": "",
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2268,7 +2113,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_html_url",
+ "name": "tool_source",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -2278,13 +2123,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_html_url",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 27,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2298,7 +2143,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_node_id",
+ "name": "tool_version",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -2308,13 +2153,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_node_id",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 28,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2328,9 +2173,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_avatar_url",
+ "name": "data_source",
"type": "varchar",
- "length": 4000,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -2338,13 +2183,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_avatar_url",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 29,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2358,23 +2203,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_gravatar_id",
- "type": "varchar",
- "length": 255,
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "gh_gravatar_id",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 30,
+ "collationSchema": "",
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2388,23 +2233,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_followers_url",
- "type": "varchar",
- "length": 4000,
+ "name": "cmt_comment_src_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "gh_followers_url",
+ "comment": "For data provenance, we store the source ID if it exists. ",
+ "oldName": "cmt_comment_src_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 31,
+ "collationSchema": "",
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2418,23 +2263,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_following_url",
+ "name": "commit_comment_src_node_id",
"type": "varchar",
- "length": 4000,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "gh_following_url",
+ "comment": "For data provenance, we store the source node ID if it exists. ",
+ "oldName": "commit_comment_src_node_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 32,
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2445,86 +2290,192 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [
{
- "objectType": "TableField_PGSQL",
- "name": "gh_gists_url",
- "type": "varchar",
- "length": 4000,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "Index_PGSQL",
+ "name": "comment_id",
"comment": "",
- "oldName": "gh_gists_url",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 33,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "comment_id",
+ "oid": 15486898,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "commit_comment_ref",
+ "size": "8",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_comment_src_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_comment_src_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_comment_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_comment_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "msg_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "msg_id",
+ "collationSchema": ""
+ }
+ ]
+ }
+ ],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "commit_comment_ref_pkey",
+ "fields": [
+ "cmt_comment_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "commit_comment_ref_pkey"
+ },
+ "foreignKeys": [
{
- "objectType": "TableField_PGSQL",
- "name": "gh_starred_url",
- "type": "varchar",
- "length": 4000,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_commit_comment_ref_commits_1",
+ "fields": [
+ "cmt_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "commits",
+ "referenceFields": [
+ "cmt_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
"comment": "",
- "oldName": "gh_starred_url",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 34,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_commit_comment_ref_commits_1"
},
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_commit_comment_ref_message_1",
+ "fields": [
+ "msg_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "message",
+ "referenceFields": [
+ "msg_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_commit_comment_ref_message_1"
+ }
+ ],
+ "uniques": [
+ {
+ "objectType": "Unique_PGSQL",
+ "name": "commitcomment",
+ "fields": [
+ "cmt_id",
+ "msg_id",
+ "cmt_comment_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "commitcomment"
+ }
+ ],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "commit_parents",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "commit_parents",
+ "oid": 15486440,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "gh_subscriptions_url",
- "type": "varchar",
- "length": 4000,
+ "name": "cmt_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_subscriptions_url",
+ "oldName": "cmt_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 35,
+ "collationSchema": "",
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2538,23 +2489,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_organizations_url",
- "type": "varchar",
- "length": 4000,
+ "name": "parent_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.commit_parents_parent_id_seq'::regclass)",
"comment": "",
- "oldName": "gh_organizations_url",
+ "oldName": "parent_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 36,
+ "collationSchema": "",
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2568,9 +2519,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_repos_url",
+ "name": "tool_source",
"type": "varchar",
- "length": 4000,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -2578,13 +2529,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_repos_url",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 37,
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2598,9 +2549,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_events_url",
+ "name": "tool_version",
"type": "varchar",
- "length": 4000,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -2608,13 +2559,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_events_url",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 38,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2628,9 +2579,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_received_events_url",
+ "name": "data_source",
"type": "varchar",
- "length": 4000,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -2638,13 +2589,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_received_events_url",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 39,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2658,23 +2609,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_type",
- "type": "varchar",
- "length": 255,
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "gh_type",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 40,
+ "collationSchema": "",
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -2685,162 +2636,12 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "gh_site_admin",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "gh_site_admin",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 41,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "tool_source",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 42,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "tool_version",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 43,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "data_source",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 44,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
- "comment": "",
- "oldName": "data_collection_date",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 45,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- }
- ],
- "indexes": [
+ }
+ ],
+ "indexes": [
{
"objectType": "Index_PGSQL",
- "name": "contrb-history-dix1",
+ "name": "commit_parents_ibfk_1",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -2851,30 +2652,30 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "contrb-history-dix1",
- "oid": 203687,
+ "oldName": "commit_parents_ibfk_1",
+ "oid": 15486903,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "contributors_history",
+ "tableName": "commit_parents",
"size": "8",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "cntrb_id",
+ "name": "cmt_id",
"collation": "",
"opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "cntrb_id",
+ "oldName": "cmt_id",
"collationSchema": ""
}
]
},
{
"objectType": "Index_PGSQL",
- "name": "login_index_2",
+ "name": "commit_parents_ibfk_2",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -2885,24 +2686,24 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "login_index_2",
- "oid": 203775,
+ "oldName": "commit_parents_ibfk_2",
+ "oid": 15486904,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "contributors_history",
+ "tableName": "commit_parents",
"size": "8",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "cntrb_login",
- "collation": "default",
- "opClass": "text_ops",
+ "name": "parent_id",
+ "collation": "",
+ "opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "cntrb_login",
- "collationSchema": "pg_catalog"
+ "oldName": "parent_id",
+ "collationSchema": ""
}
]
}
@@ -2910,28 +2711,29 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "contributors_history_pkey",
+ "name": "commit_parents_pkey",
"fields": [
- "cntrb_history_id"
+ "cmt_id",
+ "parent_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "contributors_history_pkey"
+ "oldName": "commit_parents_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_contributors_history_contributors_1",
+ "name": "fk_commit_parents_commits_1",
"fields": [
- "cntrb_id"
+ "cmt_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "contributors",
+ "referenceTable": "commits",
"referenceFields": [
- "cntrb_id"
+ "cmt_id"
],
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
@@ -2941,7 +2743,28 @@
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_contributors_history_contributors_1"
+ "oldName": "fk_commit_parents_commits_1"
+ },
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_commit_parents_commits_2",
+ "fields": [
+ "parent_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "commits",
+ "referenceFields": [
+ "cmt_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_commit_parents_commits_2"
}
],
"uniques": [],
@@ -2953,17 +2776,17 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "discourse_insights",
- "comment": "",
+ "name": "commits",
+ "comment": "Starts with augur.analysis_data table and incorporates GHTorrent commit table attributes if different. \nCmt_id is from get\nThe author and committer ID’s are at the bottom of the table and not required for now because we want to focus on the facade schema’s properties over the ghtorrent properties when they are in conflict. ",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "discourse_insights",
- "oid": 187584,
- "rows": 0,
+ "oldName": "commits",
+ "oid": 15486448,
+ "rows": 32914,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -2979,7 +2802,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "msg_discourse_id",
+ "name": "cmt_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -2987,9 +2810,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.discourse_insights_msg_discourse_id_seq1'::regclass)",
+ "defaultValue": "nextval('augur_data.commits_cmt_id_seq'::regclass)",
"comment": "",
- "oldName": "msg_discourse_id",
+ "oldName": "cmt_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -3009,17 +2832,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "msg_id",
+ "name": "repo_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "msg_id",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -3039,17 +2862,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "discourse_act",
+ "name": "cmt_commit_hash",
"type": "varchar",
- "length": 0,
+ "length": 80,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "discourse_act",
+ "oldName": "cmt_commit_hash",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -3069,17 +2892,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "cmt_author_name",
"type": "varchar",
- "length": 0,
+ "length": 128,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "cmt_author_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -3099,17 +2922,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "cmt_author_raw_email",
"type": "varchar",
- "length": 0,
+ "length": 128,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "cmt_author_raw_email",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -3129,17 +2952,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
+ "name": "cmt_author_email",
"type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "cmt_author_email",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -3159,22 +2982,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamptz",
- "length": 6,
+ "name": "cmt_author_date",
+ "type": "varchar",
+ "length": 10,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "collation": "default",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "cmt_author_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
@@ -3186,98 +3009,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "discourse_insights_pkey",
- "fields": [
- "msg_discourse_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "discourse_insights_pkey"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_discourse_insights_message_1",
- "fields": [
- "msg_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "message",
- "referenceFields": [
- "msg_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_discourse_insights_message_1"
- }
- ],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "dm_repo_annual",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "dm_repo_annual",
- "oid": 187737,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
- "type": "int8",
- "length": 64,
+ "name": "cmt_author_affiliation",
+ "type": "varchar",
+ "length": 128,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "'NULL'::character varying",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "cmt_author_affiliation",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -3291,7 +3042,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "email",
+ "name": "cmt_committer_name",
"type": "varchar",
"length": 128,
"decimals": 0,
@@ -3301,13 +3052,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "email",
+ "oldName": "cmt_committer_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 2,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -3321,23 +3072,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "affiliation",
+ "name": "cmt_committer_raw_email",
"type": "varchar",
"length": 128,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "'NULL'::character varying",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "affiliation",
+ "oldName": "cmt_committer_raw_email",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 3,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -3351,23 +3102,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "year",
- "type": "int2",
- "length": 16,
+ "name": "cmt_committer_email",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "year",
+ "oldName": "cmt_committer_email",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 4,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -3381,23 +3132,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "added",
- "type": "int8",
- "length": 64,
+ "name": "cmt_committer_date",
+ "type": "varchar",
+ "length": 10,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "added",
+ "oldName": "cmt_committer_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 5,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -3411,23 +3162,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "removed",
- "type": "int8",
- "length": 64,
+ "name": "cmt_committer_affiliation",
+ "type": "varchar",
+ "length": 128,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "'NULL'::character varying",
"comment": "",
- "oldName": "removed",
+ "oldName": "cmt_committer_affiliation",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 6,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -3441,9 +3192,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "whitespace",
- "type": "int8",
- "length": 64,
+ "name": "cmt_added",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -3451,13 +3202,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "whitespace",
+ "oldName": "cmt_added",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 7,
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -3471,9 +3222,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "files",
- "type": "int8",
- "length": 64,
+ "name": "cmt_removed",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -3481,13 +3232,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "files",
+ "oldName": "cmt_removed",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 8,
+ "ordinalPosition": 15,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -3501,9 +3252,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "patches",
- "type": "int8",
- "length": 64,
+ "name": "cmt_whitespace",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -3511,13 +3262,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "patches",
+ "oldName": "cmt_whitespace",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 9,
+ "ordinalPosition": 16,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -3531,23 +3282,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "cmt_filename",
"type": "varchar",
- "length": 255,
+ "length": 4096,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "cmt_filename",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 10,
+ "ordinalPosition": 17,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -3561,23 +3312,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 255,
+ "name": "cmt_date_attempted",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "cmt_date_attempted",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 11,
+ "collationSchema": "",
+ "ordinalPosition": 18,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -3591,23 +3342,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 255,
+ "name": "cmt_ght_author_id",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "cmt_ght_author_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 12,
+ "collationSchema": "",
+ "ordinalPosition": 19,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -3621,23 +3372,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "cmt_ght_committer_id",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "cmt_ght_committer_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 13,
+ "ordinalPosition": 20,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -3648,154 +3399,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [
- {
- "objectType": "Index_PGSQL",
- "name": "repo_id,affiliation_copy_1",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "repo_id,affiliation_copy_1",
- "oid": 203876,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "dm_repo_annual",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "affiliation",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "affiliation",
- "collationSchema": "pg_catalog"
- }
- ]
},
- {
- "objectType": "Index_PGSQL",
- "name": "repo_id,email_copy_1",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "repo_id,email_copy_1",
- "oid": 203894,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "dm_repo_annual",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "email",
- "collationSchema": "pg_catalog"
- }
- ]
- }
- ],
- "rules": [],
- "foreignKeys": [],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "dm_repo_group_annual",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "dm_repo_group_annual",
- "oid": 187850,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "repo_group_id",
- "type": "int8",
- "length": 64,
+ "name": "cmt_ght_committed_at",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_group_id",
+ "oldName": "cmt_ght_committed_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 1,
+ "ordinalPosition": 21,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -3809,23 +3432,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "email",
+ "name": "tool_source",
"type": "varchar",
- "length": 128,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "email",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 2,
+ "ordinalPosition": 22,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -3839,203 +3462,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "affiliation",
+ "name": "tool_version",
"type": "varchar",
- "length": 128,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "'NULL'::character varying",
- "comment": "",
- "oldName": "affiliation",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 3,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "year",
- "type": "int2",
- "length": 16,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "year",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 4,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "added",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "added",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 5,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "removed",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "removed",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 6,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "whitespace",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "whitespace",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 7,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "files",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "files",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 8,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "patches",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "patches",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 9,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 23,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -4049,7 +3492,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "data_source",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -4059,13 +3502,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 10,
+ "ordinalPosition": 24,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -4079,23 +3522,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 255,
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 11,
+ "collationSchema": "",
+ "ordinalPosition": 25,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -4109,23 +3552,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 255,
+ "name": "cmt_author_timestamp",
+ "type": "timestamptz",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "cmt_author_timestamp",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 12,
+ "collationSchema": "",
+ "ordinalPosition": 26,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -4139,23 +3582,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
+ "name": "cmt_committer_timestamp",
+ "type": "timestamptz",
"length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "cmt_committer_timestamp",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 13,
+ "ordinalPosition": 27,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -4171,7 +3614,7 @@
"indexes": [
{
"objectType": "Index_PGSQL",
- "name": "projects_id,affiliation_copy_1",
+ "name": "author_affiliation",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -4179,44 +3622,33 @@
"fastUpdate": "",
"buffering": "",
"fillFactor": -1,
- "method": "BTree",
+ "method": "Hash",
"tableSpaceName": "",
"constraint": "",
- "oldName": "projects_id,affiliation_copy_1",
- "oid": 203832,
+ "oldName": "author_affiliation",
+ "oid": 15488180,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "dm_repo_group_annual",
- "size": "8",
+ "tableName": "commits",
+ "size": "1680",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "repo_group_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_group_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "affiliation",
+ "name": "cmt_author_affiliation",
"collation": "default",
"opClass": "text_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "affiliation",
+ "oldName": "cmt_author_affiliation",
"collationSchema": "pg_catalog"
}
]
},
{
"objectType": "Index_PGSQL",
- "name": "projects_id,email_copy_1",
+ "name": "author_cntrb_id",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -4227,499 +3659,86 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "projects_id,email_copy_1",
- "oid": 203839,
+ "oldName": "author_cntrb_id",
+ "oid": 15488143,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "dm_repo_group_annual",
- "size": "8",
+ "tableName": "commits",
+ "size": "696",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "repo_group_id",
+ "name": "cmt_ght_author_id",
"collation": "",
- "opClass": "int8_ops",
+ "opClass": "int4_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "repo_group_id",
+ "oldName": "cmt_ght_author_id",
"collationSchema": ""
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "author_email,author_affiliation,author_date",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "author_email,author_affiliation,author_date",
+ "oid": 15488169,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "commits",
+ "size": "2440",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_author_email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_author_email",
+ "collationSchema": "pg_catalog"
},
{
"objectType": "IndexField_PGSQL",
- "name": "email",
+ "name": "cmt_author_affiliation",
"collation": "default",
"opClass": "text_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "email",
+ "oldName": "cmt_author_affiliation",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_author_date",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_author_date",
"collationSchema": "pg_catalog"
}
]
- }
- ],
- "rules": [],
- "foreignKeys": [],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "dm_repo_group_monthly",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "dm_repo_group_monthly",
- "oid": 187903,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
- {
- "objectType": "TableField_PGSQL",
- "name": "repo_group_id",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "repo_group_id",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "email",
- "type": "varchar",
- "length": 128,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "email",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 2,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "affiliation",
- "type": "varchar",
- "length": 128,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "'NULL'::character varying",
- "comment": "",
- "oldName": "affiliation",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 3,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "month",
- "type": "int2",
- "length": 16,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "month",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 4,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "year",
- "type": "int2",
- "length": 16,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "year",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 5,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "added",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "added",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 6,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "removed",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "removed",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 7,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "whitespace",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "whitespace",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 8,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "files",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "files",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 9,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "patches",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "patches",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 10,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "tool_source",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 11,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "tool_version",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 12,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "data_source",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 13,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
- "comment": "",
- "oldName": "data_collection_date",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 14,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- }
- ],
- "indexes": [
+ },
{
"objectType": "Index_PGSQL",
- "name": "projects_id,affiliation_copy_2",
+ "name": "author_raw_email",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -4730,41 +3749,30 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "projects_id,affiliation_copy_2",
- "oid": 203835,
+ "oldName": "author_raw_email",
+ "oid": 15486909,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "dm_repo_group_monthly",
- "size": "8",
+ "tableName": "commits",
+ "size": "1672",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "repo_group_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_group_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "affiliation",
+ "name": "cmt_author_raw_email",
"collation": "default",
"opClass": "text_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "affiliation",
+ "oldName": "cmt_author_raw_email",
"collationSchema": "pg_catalog"
}
]
},
{
"objectType": "Index_PGSQL",
- "name": "projects_id,email_copy_2",
+ "name": "cmt-author-date-idx2",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -4775,41 +3783,30 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "projects_id,email_copy_2",
- "oid": 203853,
+ "oldName": "cmt-author-date-idx2",
+ "oid": 15488138,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "dm_repo_group_monthly",
- "size": "8",
+ "tableName": "commits",
+ "size": "1344",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "repo_group_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_group_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "email",
+ "name": "cmt_author_date",
"collation": "default",
"opClass": "text_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "email",
+ "oldName": "cmt_author_date",
"collationSchema": "pg_catalog"
}
]
},
{
"objectType": "Index_PGSQL",
- "name": "projects_id,year,affiliation_copy_1",
+ "name": "cmt-committer-date-idx3",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -4820,52 +3817,30 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "projects_id,year,affiliation_copy_1",
- "oid": 203865,
+ "oldName": "cmt-committer-date-idx3",
+ "oid": 15488139,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "dm_repo_group_monthly",
- "size": "8",
+ "tableName": "commits",
+ "size": "1320",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "repo_group_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_group_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "year",
- "collation": "",
- "opClass": "int2_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "year",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "affiliation",
+ "name": "cmt_committer_date",
"collation": "default",
"opClass": "text_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "affiliation",
+ "oldName": "cmt_committer_date",
"collationSchema": "pg_catalog"
}
]
},
{
"objectType": "Index_PGSQL",
- "name": "projects_id,year,email_copy_1",
+ "name": "cmt_author-name-idx5",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -4876,510 +3851,423 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "projects_id,year,email_copy_1",
- "oid": 203869,
+ "oldName": "cmt_author-name-idx5",
+ "oid": 15488141,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "dm_repo_group_monthly",
- "size": "8",
+ "tableName": "commits",
+ "size": "1336",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "repo_group_id",
- "collation": "",
- "opClass": "int8_ops",
+ "name": "cmt_committer_name",
+ "collation": "default",
+ "opClass": "text_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "repo_group_id",
- "collationSchema": ""
+ "oldName": "cmt_committer_name",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "cmt_author_contrib_worker",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BRIN",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "cmt_author_contrib_worker",
+ "oid": 15488170,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "commits",
+ "size": "24",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_author_name",
+ "collation": "default",
+ "opClass": "text_minmax_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_author_name",
+ "collationSchema": "pg_catalog"
},
{
"objectType": "IndexField_PGSQL",
- "name": "year",
- "collation": "",
- "opClass": "int2_ops",
+ "name": "cmt_author_email",
+ "collation": "default",
+ "opClass": "text_minmax_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "year",
- "collationSchema": ""
+ "oldName": "cmt_author_email",
+ "collationSchema": "pg_catalog"
},
{
"objectType": "IndexField_PGSQL",
- "name": "email",
+ "name": "cmt_author_date",
"collation": "default",
- "opClass": "text_ops",
+ "opClass": "text_minmax_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "email",
+ "oldName": "cmt_author_date",
"collationSchema": "pg_catalog"
}
]
- }
- ],
- "rules": [],
- "foreignKeys": [],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "dm_repo_group_weekly",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "dm_repo_group_weekly",
- "oid": 187957,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
- "objectType": "TableField_PGSQL",
- "name": "repo_group_id",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "Index_PGSQL",
+ "name": "cmt_cmmter-name-idx4",
"comment": "",
- "oldName": "repo_group_id",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "cmt_cmmter-name-idx4",
+ "oid": 15488140,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "commits",
+ "size": "1344",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_author_name",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_author_name",
+ "collationSchema": "pg_catalog"
+ }
+ ]
},
{
- "objectType": "TableField_PGSQL",
- "name": "email",
- "type": "varchar",
- "length": 128,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "Index_PGSQL",
+ "name": "cmt_commiter_contrib_worker",
"comment": "",
- "oldName": "email",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 2,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BRIN",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "cmt_commiter_contrib_worker",
+ "oid": 15488175,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "commits",
+ "size": "24",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_committer_name",
+ "collation": "default",
+ "opClass": "text_minmax_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_committer_name",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_committer_email",
+ "collation": "default",
+ "opClass": "text_minmax_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_committer_email",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_committer_date",
+ "collation": "default",
+ "opClass": "text_minmax_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_committer_date",
+ "collationSchema": "pg_catalog"
+ }
+ ]
},
{
- "objectType": "TableField_PGSQL",
- "name": "affiliation",
- "type": "varchar",
- "length": 128,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "'NULL'::character varying",
+ "objectType": "Index_PGSQL",
+ "name": "commited",
"comment": "",
- "oldName": "affiliation",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 3,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "commited",
+ "oid": 15486910,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "commits",
+ "size": "736",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_id",
+ "collationSchema": ""
+ }
+ ]
},
{
- "objectType": "TableField_PGSQL",
- "name": "week",
- "type": "int2",
- "length": 16,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "Index_PGSQL",
+ "name": "commits_idx_cmt_email_cmt_date_cmt_name",
"comment": "",
- "oldName": "week",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 4,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "commits_idx_cmt_email_cmt_date_cmt_name",
+ "oid": 15488172,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "commits",
+ "size": "2904",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_author_email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_author_email",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_author_date",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_author_date",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_author_name",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_author_name",
+ "collationSchema": "pg_catalog"
+ }
+ ]
},
{
- "objectType": "TableField_PGSQL",
- "name": "year",
- "type": "int2",
- "length": 16,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "Index_PGSQL",
+ "name": "commits_idx_cmt_email_cmt_date_cmt_name2",
"comment": "",
- "oldName": "year",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 5,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "commits_idx_cmt_email_cmt_date_cmt_name2",
+ "oid": 15488177,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "commits",
+ "size": "2816",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_committer_email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_committer_email",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_committer_date",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_committer_date",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_committer_name",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_committer_name",
+ "collationSchema": "pg_catalog"
+ }
+ ]
},
{
- "objectType": "TableField_PGSQL",
- "name": "added",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "Index_PGSQL",
+ "name": "commits_idx_cmt_name_cmt_date2",
"comment": "",
- "oldName": "added",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 6,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "commits_idx_cmt_name_cmt_date2",
+ "oid": 15488160,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "commits",
+ "size": "1912",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_author_name",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_author_name",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_author_date",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_author_date",
+ "collationSchema": "pg_catalog"
+ }
+ ]
},
{
- "objectType": "TableField_PGSQL",
- "name": "removed",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "removed",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 7,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "whitespace",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "whitespace",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 8,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "files",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "files",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 9,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "patches",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "patches",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 10,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "tool_source",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 11,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "tool_version",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 12,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "Index_PGSQL",
+ "name": "commits_idx_cmt_name_cmt_date_cmt_date3",
"comment": "",
- "oldName": "data_source",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 13,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "commits_idx_cmt_name_cmt_date_cmt_date3",
+ "oid": 15488162,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "commits",
+ "size": "2416",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_committer_name",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_committer_name",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_author_date",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_author_date",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_committer_date",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_committer_date",
+ "collationSchema": "pg_catalog"
+ }
+ ]
},
- {
- "objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
- "comment": "",
- "oldName": "data_collection_date",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 14,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- }
- ],
- "indexes": [
{
"objectType": "Index_PGSQL",
- "name": "projects_id,affiliation",
+ "name": "commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -5390,41 +4278,63 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "projects_id,affiliation",
- "oid": 203831,
+ "oldName": "commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam",
+ "oid": 15488171,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "dm_repo_group_weekly",
- "size": "8",
+ "tableName": "commits",
+ "size": "3256",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "repo_group_id",
+ "name": "repo_id",
"collation": "",
"opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "repo_group_id",
+ "oldName": "repo_id",
"collationSchema": ""
},
{
"objectType": "IndexField_PGSQL",
- "name": "affiliation",
+ "name": "cmt_author_email",
"collation": "default",
"opClass": "text_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "affiliation",
+ "oldName": "cmt_author_email",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_author_date",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_author_date",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_author_name",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_author_name",
"collationSchema": "pg_catalog"
}
]
},
{
"objectType": "Index_PGSQL",
- "name": "projects_id,email",
+ "name": "commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam2",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -5435,41 +4345,63 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "projects_id,email",
- "oid": 203838,
+ "oldName": "commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam2",
+ "oid": 15488176,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "dm_repo_group_weekly",
- "size": "8",
+ "tableName": "commits",
+ "size": "3152",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "repo_group_id",
+ "name": "repo_id",
"collation": "",
"opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "repo_group_id",
+ "oldName": "repo_id",
"collationSchema": ""
},
{
"objectType": "IndexField_PGSQL",
- "name": "email",
+ "name": "cmt_committer_email",
"collation": "default",
"opClass": "text_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "email",
+ "oldName": "cmt_committer_email",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_committer_date",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_committer_date",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_committer_name",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_committer_name",
"collationSchema": "pg_catalog"
}
]
},
{
"objectType": "Index_PGSQL",
- "name": "projects_id,year,affiliation",
+ "name": "commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat2",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -5480,52 +4412,63 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "projects_id,year,affiliation",
- "oid": 203864,
+ "oldName": "commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat2",
+ "oid": 15488173,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "dm_repo_group_weekly",
- "size": "8",
+ "tableName": "commits",
+ "size": "3272",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "repo_group_id",
+ "name": "repo_id",
"collation": "",
"opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "repo_group_id",
+ "oldName": "repo_id",
"collationSchema": ""
},
{
"objectType": "IndexField_PGSQL",
- "name": "year",
- "collation": "",
- "opClass": "int2_ops",
+ "name": "cmt_author_email",
+ "collation": "default",
+ "opClass": "text_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "year",
- "collationSchema": ""
+ "oldName": "cmt_author_email",
+ "collationSchema": "pg_catalog"
},
{
"objectType": "IndexField_PGSQL",
- "name": "affiliation",
+ "name": "cmt_author_name",
"collation": "default",
"opClass": "text_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "affiliation",
+ "oldName": "cmt_author_name",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_author_date",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_author_date",
"collationSchema": "pg_catalog"
}
]
},
{
"objectType": "Index_PGSQL",
- "name": "projects_id,year,email",
+ "name": "commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat3",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -5536,224 +4479,395 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "projects_id,year,email",
- "oid": 203868,
+ "oldName": "commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat3",
+ "oid": 15488178,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "dm_repo_group_weekly",
- "size": "8",
+ "tableName": "commits",
+ "size": "3224",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "repo_group_id",
+ "name": "repo_id",
"collation": "",
"opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "repo_group_id",
+ "oldName": "repo_id",
"collationSchema": ""
},
{
"objectType": "IndexField_PGSQL",
- "name": "year",
- "collation": "",
- "opClass": "int2_ops",
+ "name": "cmt_committer_email",
+ "collation": "default",
+ "opClass": "text_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "year",
- "collationSchema": ""
+ "oldName": "cmt_committer_email",
+ "collationSchema": "pg_catalog"
},
{
"objectType": "IndexField_PGSQL",
- "name": "email",
+ "name": "cmt_committer_name",
"collation": "default",
"opClass": "text_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "email",
+ "oldName": "cmt_committer_name",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_author_date",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_author_date",
"collationSchema": "pg_catalog"
}
]
- }
- ],
- "rules": [],
- "foreignKeys": [],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "dm_repo_monthly",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "dm_repo_monthly",
- "oid": 188031,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
- {
- "objectType": "TableField_PGSQL",
- "name": "repo_id",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "repo_id",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
},
{
- "objectType": "TableField_PGSQL",
- "name": "email",
- "type": "varchar",
- "length": 128,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "Index_PGSQL",
+ "name": "committer_affiliation",
"comment": "",
- "oldName": "email",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 2,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "committer_affiliation",
+ "oid": 15486911,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "commits",
+ "size": "696",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_committer_affiliation",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_committer_affiliation",
+ "collationSchema": "pg_catalog"
+ }
+ ]
},
{
- "objectType": "TableField_PGSQL",
- "name": "affiliation",
- "type": "varchar",
- "length": 128,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "'NULL'::character varying",
+ "objectType": "Index_PGSQL",
+ "name": "committer_cntrb_id",
"comment": "",
- "oldName": "affiliation",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 3,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "committer_cntrb_id",
+ "oid": 15488142,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "commits",
+ "size": "696",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_ght_committer_id",
+ "collation": "",
+ "opClass": "int4_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_ght_committer_id",
+ "collationSchema": ""
+ }
+ ]
},
{
- "objectType": "TableField_PGSQL",
- "name": "month",
- "type": "int2",
- "length": 16,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "Index_PGSQL",
+ "name": "committer_email,committer_affiliation,committer_date",
"comment": "",
- "oldName": "month",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 4,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "committer_email,committer_affiliation,committer_date",
+ "oid": 15488174,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "commits",
+ "size": "2504",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_committer_email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_committer_email",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_committer_affiliation",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_committer_affiliation",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_committer_date",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_committer_date",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "committer_raw_email",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "committer_raw_email",
+ "oid": 15486913,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "commits",
+ "size": "1664",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_committer_raw_email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_committer_raw_email",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "repo_id,commit",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "repo_id,commit",
+ "oid": 15486914,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "commits",
+ "size": "3200",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cmt_commit_hash",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cmt_commit_hash",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ }
+ ],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "commits_pkey",
+ "fields": [
+ "cmt_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "commits_pkey"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_commits_contributors_1",
+ "fields": [
+ "cmt_ght_author_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "contributors",
+ "referenceFields": [
+ "cntrb_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_commits_contributors_1"
+ },
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_commits_contributors_2",
+ "fields": [
+ "cmt_ght_committer_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "contributors",
+ "referenceFields": [
+ "cntrb_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_commits_contributors_2"
},
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_commits_repo_1",
+ "fields": [
+ "repo_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "repo",
+ "referenceFields": [
+ "repo_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_commits_repo_1"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "contributor_affiliations",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "contributor_affiliations",
+ "oid": 15486458,
+ "rows": 703,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "year",
- "type": "int2",
- "length": 16,
+ "name": "ca_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.contributor_affiliations_ca_id_seq'::regclass)",
"comment": "",
- "oldName": "year",
+ "oldName": "ca_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 5,
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -5767,23 +4881,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "added",
- "type": "int8",
+ "name": "ca_domain",
+ "type": "varchar",
"length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "added",
+ "oldName": "ca_domain",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 6,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -5797,23 +4911,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "removed",
- "type": "int8",
- "length": 64,
+ "name": "ca_start_date",
+ "type": "date",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "'1970-01-01'::date",
"comment": "",
- "oldName": "removed",
+ "oldName": "ca_start_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 7,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -5827,22 +4941,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "whitespace",
- "type": "int8",
- "length": 64,
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "whitespace",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
@@ -5857,22 +4971,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "files",
- "type": "int8",
- "length": 64,
+ "name": "tool_version",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "files",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
@@ -5887,22 +5001,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "patches",
- "type": "int8",
- "length": 64,
+ "name": "data_source",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "patches",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
@@ -5917,22 +5031,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 255,
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
@@ -5947,22 +5061,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 255,
+ "name": "ca_last_used",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "ca_last_used",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
@@ -5977,9 +5091,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
+ "name": "ca_affiliation",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -5987,7 +5101,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "ca_affiliation",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -6007,17 +5121,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "ca_active",
+ "type": "int2",
+ "length": 16,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
"defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultValue": "1",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "ca_active",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -6036,213 +5150,37 @@
"isIdentityCycle": false
}
],
- "indexes": [
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "contributor_affiliations_pkey",
+ "fields": [
+ "ca_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "contributor_affiliations_pkey"
+ },
+ "foreignKeys": [],
+ "uniques": [
{
- "objectType": "Index_PGSQL",
- "name": "repo_id,affiliation_copy_2",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "repo_id,affiliation_copy_2",
- "oid": 203886,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "dm_repo_monthly",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "affiliation",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "affiliation",
- "collationSchema": "pg_catalog"
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "repo_id,email_copy_2",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "repo_id,email_copy_2",
- "oid": 203897,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "dm_repo_monthly",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "email",
- "collationSchema": "pg_catalog"
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "repo_id,year,affiliation_copy_1",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "repo_id,year,affiliation_copy_1",
- "oid": 203908,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "dm_repo_monthly",
- "size": "8",
+ "objectType": "Unique_PGSQL",
+ "name": "unique_domain",
"fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "year",
- "collation": "",
- "opClass": "int2_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "year",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "affiliation",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "affiliation",
- "collationSchema": "pg_catalog"
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "repo_id,year,email_copy_1",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
+ "ca_domain"
+ ],
"fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "repo_id,year,email_copy_1",
- "oid": 203914,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "dm_repo_monthly",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "year",
- "collation": "",
- "opClass": "int2_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "year",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "email",
- "collationSchema": "pg_catalog"
- }
- ]
+ "indexTablespace": "",
+ "comment": "Only one row should exist for any given top level domain or subdomain. ",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "unique_domain"
}
],
- "rules": [],
- "foreignKeys": [],
- "uniques": [],
"checks": [],
"excludes": [],
"triggers": [],
@@ -6251,16 +5189,16 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "dm_repo_weekly",
- "comment": "",
+ "name": "contributor_repo",
+ "comment": "Developed in Partnership with Andrew Brain. \nFrom: [\n {\n \"login\": \"octocat\",\n \"id\": 1,\n \"node_id\": \"MDQ6VXNlcjE=\",\n \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/octocat\",\n \"html_url\": \"https://github.com/octocat\",\n \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n \"type\": \"User\",\n \"site_admin\": false\n }\n]\n",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "dm_repo_weekly",
- "oid": 188098,
+ "oldName": "contributor_repo",
+ "oid": 15488491,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -6277,17 +5215,17 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
+ "name": "cntrb_repo_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.contributor_repo_cntrb_repo_id_seq'::regclass)",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "cntrb_repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -6307,22 +5245,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "email",
- "type": "varchar",
- "length": 128,
+ "name": "cntrb_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": false,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "email",
+ "comment": "This is not null because what is the point without the contributor in this table? ",
+ "oldName": "cntrb_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
@@ -6337,17 +5275,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "affiliation",
+ "name": "repo_git",
"type": "varchar",
- "length": 128,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "'NULL'::character varying",
- "comment": "",
- "oldName": "affiliation",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "Similar to cntrb_id, we need this data for the table to have meaningful data. ",
+ "oldName": "repo_git",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -6367,22 +5305,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "week",
- "type": "int2",
- "length": 16,
+ "name": "repo_name",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "week",
+ "oldName": "repo_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
@@ -6397,9 +5335,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "year",
- "type": "int2",
- "length": 16,
+ "name": "gh_repo_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -6407,7 +5345,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "year",
+ "oldName": "gh_repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -6427,22 +5365,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "added",
- "type": "int8",
- "length": 64,
+ "name": "cntrb_category",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "added",
+ "oldName": "cntrb_category",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
@@ -6457,17 +5395,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "removed",
+ "name": "event_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "removed",
+ "oldName": "event_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -6487,17 +5425,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "whitespace",
- "type": "int8",
- "length": 64,
+ "name": "created_at",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "whitespace",
+ "oldName": "created_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -6517,22 +5455,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "files",
- "type": "int8",
- "length": 64,
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "files",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
@@ -6547,22 +5485,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "patches",
- "type": "int8",
- "length": 64,
+ "name": "tool_version",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "patches",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
@@ -6577,9 +5515,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "data_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -6587,7 +5525,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -6607,7 +5545,154 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
+ "comment": "",
+ "oldName": "data_collection_date",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 12,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "cntrb_repo_id_key",
+ "fields": [
+ "cntrb_repo_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "cntrb_repo_id_key"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_contributor_repo_contributors_1",
+ "fields": [
+ "cntrb_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "contributors",
+ "referenceFields": [
+ "cntrb_id"
+ ],
+ "onDelete": "RESTRICT",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_contributor_repo_contributors_1"
+ }
+ ],
+ "uniques": [
+ {
+ "objectType": "Unique_PGSQL",
+ "name": "eventer",
+ "fields": [
+ "event_id",
+ "tool_version"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "eventer"
+ }
+ ],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "contributors",
+ "comment": "For GitHub, this should be repeated from gh_login. for other systems, it should be that systems login. ",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "contributors",
+ "oid": 15486469,
+ "rows": 3784,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "cntrb_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.contributors_cntrb_id_seq'::regclass)",
+ "comment": "",
+ "oldName": "cntrb_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 1,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "cntrb_login",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -6616,14 +5701,14 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "tool_version",
+ "comment": "Will be a double population with the same value as gh_login for github, but the local value for other systems. ",
+ "oldName": "cntrb_login",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 12,
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -6637,23 +5722,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
+ "name": "cntrb_email",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "data_source",
+ "comment": "This needs to be here for matching contributor ids, which are augur, to the commit information. ",
+ "oldName": "cntrb_email",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 13,
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -6667,23 +5752,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "cntrb_company",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultValue": "NULL::character varying",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "cntrb_company",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 14,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -6694,266 +5779,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [
- {
- "objectType": "Index_PGSQL",
- "name": "repo_id,affiliation",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "repo_id,affiliation",
- "oid": 203874,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "dm_repo_weekly",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "affiliation",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "affiliation",
- "collationSchema": "pg_catalog"
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "repo_id,email",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "repo_id,email",
- "oid": 203892,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "dm_repo_weekly",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "email",
- "collationSchema": "pg_catalog"
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "repo_id,year,affiliation",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "repo_id,year,affiliation",
- "oid": 203906,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "dm_repo_weekly",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "year",
- "collation": "",
- "opClass": "int2_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "year",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "affiliation",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "affiliation",
- "collationSchema": "pg_catalog"
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "repo_id,year,email",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "repo_id,year,email",
- "oid": 203910,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "dm_repo_weekly",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "year",
- "collation": "",
- "opClass": "int2_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "year",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "email",
- "collationSchema": "pg_catalog"
- }
- ]
- }
- ],
- "rules": [],
- "foreignKeys": [],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "exclude",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "exclude",
- "oid": 188171,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "id",
- "type": "int4",
- "length": 32,
+ "name": "cntrb_created_at",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "id",
+ "oldName": "cntrb_created_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 1,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -6967,23 +5812,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "projects_id",
- "type": "int4",
- "length": 32,
+ "name": "cntrb_type",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "projects_id",
+ "comment": "Present in another models. It is not currently used in Augur. ",
+ "oldName": "cntrb_type",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 2,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -6997,23 +5842,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "email",
- "type": "varchar",
- "length": 128,
+ "name": "cntrb_fake",
+ "type": "int2",
+ "length": 16,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "Others",
- "defaultValue": "'NULL'::character varying",
+ "defaultValue": "0",
"comment": "",
- "oldName": "email",
+ "oldName": "cntrb_fake",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 3,
+ "collationSchema": "",
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7027,23 +5872,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "domain",
- "type": "varchar",
- "length": 128,
+ "name": "cntrb_deleted",
+ "type": "int2",
+ "length": 16,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "Others",
- "defaultValue": "'NULL'::character varying",
+ "defaultValue": "0",
"comment": "",
- "oldName": "domain",
+ "oldName": "cntrb_deleted",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "collationSchema": "",
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7054,76 +5899,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "exclude_pkey",
- "fields": [
- "id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "exclude_pkey"
- },
- "foreignKeys": [],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "issue_labels",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "issue_labels",
- "oid": 188655,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "issue_label_id",
- "type": "int8",
- "length": 64,
- "decimals": 0,
+ "name": "cntrb_long",
+ "type": "numeric",
+ "length": 11,
+ "decimals": 8,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.issue_labels_issue_label_id_seq'::regclass)",
+ "defaultValue": "NULL::numeric",
"comment": "",
- "oldName": "issue_label_id",
+ "oldName": "cntrb_long",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 1,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7137,23 +5932,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issue_id",
- "type": "int8",
- "length": 64,
- "decimals": 0,
+ "name": "cntrb_lat",
+ "type": "numeric",
+ "length": 10,
+ "decimals": 8,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "NULL::numeric",
"comment": "",
- "oldName": "issue_id",
+ "oldName": "cntrb_lat",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 2,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7167,23 +5962,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "label_text",
- "type": "varchar",
- "length": 0,
+ "name": "cntrb_country_code",
+ "type": "char",
+ "length": 3,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "NULL::bpchar",
"comment": "",
- "oldName": "label_text",
+ "oldName": "cntrb_country_code",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 3,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7197,23 +5992,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "label_description",
+ "name": "cntrb_state",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
"comment": "",
- "oldName": "label_description",
+ "oldName": "cntrb_state",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7227,23 +6022,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "label_color",
+ "name": "cntrb_city",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
"comment": "",
- "oldName": "label_color",
+ "oldName": "cntrb_city",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7257,23 +6052,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "cntrb_location",
"type": "varchar",
"length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "cntrb_location",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7287,9 +6082,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "cntrb_canonical",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -7297,13 +6092,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "cntrb_canonical",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 15,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7317,23 +6112,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 255,
+ "name": "gh_user_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "gh_user_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "collationSchema": "",
+ "ordinalPosition": 16,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7347,23 +6142,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "gh_login",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
- "comment": "",
- "oldName": "data_collection_date",
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "populated with the github user name for github originated data. ",
+ "oldName": "gh_login",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 9,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 17,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7377,23 +6172,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "label_src_id",
- "type": "int8",
- "length": 64,
+ "name": "gh_url",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "This character based identifier (node) comes from the source. In the case of GitHub, it is the id that is the second field returned from the issue events API JSON subsection for issues.",
- "oldName": "label_src_id",
+ "comment": "",
+ "oldName": "gh_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 10,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 18,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7407,9 +6202,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "label_src_node_id",
+ "name": "gh_html_url",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -7417,13 +6212,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "label_src_node_id",
+ "oldName": "gh_html_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 11,
+ "ordinalPosition": 19,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7434,98 +6229,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "issue_labels_pkey",
- "fields": [
- "issue_label_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "issue_labels_pkey"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_issue_labels_issues_1",
- "fields": [
- "issue_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "issues",
- "referenceFields": [
- "issue_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_issue_labels_issues_1"
- }
- ],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "issue_message_ref",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "issue_message_ref",
- "oid": 188824,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "issue_msg_ref_id",
- "type": "int8",
- "length": 64,
+ "name": "gh_node_id",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.issue_message_ref_issue_msg_ref_id_seq'::regclass)",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "issue_msg_ref_id",
+ "oldName": "gh_node_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 20,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7539,23 +6262,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issue_id",
- "type": "int8",
- "length": 64,
+ "name": "gh_avatar_url",
+ "type": "varchar",
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "issue_id",
+ "oldName": "gh_avatar_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 2,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 21,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7569,23 +6292,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "msg_id",
- "type": "int8",
- "length": 64,
+ "name": "gh_gravatar_id",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "msg_id",
+ "oldName": "gh_gravatar_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 3,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 22,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7599,9 +6322,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "gh_followers_url",
"type": "varchar",
- "length": 255,
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -7609,13 +6332,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "gh_followers_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 23,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7629,9 +6352,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "gh_following_url",
"type": "varchar",
- "length": 255,
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -7639,13 +6362,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "gh_following_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 24,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7659,9 +6382,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
+ "name": "gh_gists_url",
"type": "varchar",
- "length": 255,
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -7669,13 +6392,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "gh_gists_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 25,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7689,23 +6412,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "gh_starred_url",
+ "type": "varchar",
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "gh_starred_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 7,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 26,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7719,23 +6442,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issue_msg_ref_src_comment_id",
- "type": "int8",
- "length": 64,
+ "name": "gh_subscriptions_url",
+ "type": "varchar",
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "This ID comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue comments API",
- "oldName": "issue_msg_ref_src_comment_id",
+ "comment": "",
+ "oldName": "gh_subscriptions_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 8,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 27,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7749,23 +6472,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issue_msg_ref_src_node_id",
+ "name": "gh_organizations_url",
"type": "varchar",
- "length": 0,
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "This character based identifier comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue comments API",
- "oldName": "issue_msg_ref_src_node_id",
+ "comment": "",
+ "oldName": "gh_organizations_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "ordinalPosition": 28,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7776,119 +6499,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "issue_message_ref_pkey",
- "fields": [
- "issue_msg_ref_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "issue_message_ref_pkey"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_issue_message_ref_issues_1",
- "fields": [
- "issue_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "issues",
- "referenceFields": [
- "issue_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_issue_message_ref_issues_1"
},
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_issue_message_ref_message_1",
- "fields": [
- "msg_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "message",
- "referenceFields": [
- "msg_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_issue_message_ref_message_1"
- }
- ],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "libraries",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "libraries",
- "oid": 189116,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "library_id",
- "type": "int8",
- "length": 64,
+ "name": "gh_repos_url",
+ "type": "varchar",
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.libraries_library_id_seq'::regclass)",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "library_id",
+ "oldName": "gh_repos_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 29,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7902,23 +6532,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
- "type": "int8",
- "length": 64,
+ "name": "gh_events_url",
+ "type": "varchar",
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "gh_events_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 2,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 30,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7932,23 +6562,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "platform",
+ "name": "gh_received_events_url",
"type": "varchar",
- "length": 255,
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "platform",
+ "oldName": "gh_received_events_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 3,
+ "ordinalPosition": 31,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7962,23 +6592,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "name",
+ "name": "gh_type",
"type": "varchar",
"length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "name",
+ "oldName": "gh_type",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 32,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -7992,23 +6622,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "created_timestamp",
- "type": "timestamp",
- "length": 0,
+ "name": "gh_site_admin",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::timestamp without time zone",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "created_timestamp",
+ "oldName": "gh_site_admin",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 5,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 33,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -8022,23 +6652,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "updated_timestamp",
- "type": "timestamp",
- "length": 0,
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::timestamp without time zone",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "updated_timestamp",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 6,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 34,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -8052,23 +6682,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "library_description",
+ "name": "tool_version",
"type": "varchar",
- "length": 2000,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "library_description",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 35,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -8082,23 +6712,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "keywords",
+ "name": "data_source",
"type": "varchar",
"length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "keywords",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 36,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -8112,23 +6742,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "library_homepage",
- "type": "varchar",
- "length": 1000,
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "library_homepage",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "collationSchema": "",
+ "ordinalPosition": 37,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -8142,23 +6772,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "license",
+ "name": "cntrb_full_name",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "license",
+ "oldName": "cntrb_full_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 10,
+ "ordinalPosition": 38,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -8172,23 +6802,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "version_count",
- "type": "int4",
- "length": 32,
+ "name": "cntrb_last_used",
+ "type": "timestamptz",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "NULL::timestamp with time zone",
"comment": "",
- "oldName": "version_count",
+ "oldName": "cntrb_last_used",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 11,
+ "ordinalPosition": 39,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -8202,23 +6832,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "latest_release_timestamp",
- "type": "varchar",
- "length": 255,
+ "name": "gl_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
- "comment": "",
- "oldName": "latest_release_timestamp",
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "\"id\" value from these API calls to GitLab, all for the same user\n\nhttps://gitlab.com/api/v4/users?username=computationalmystic\nhttps://gitlab.com/api/v4/users?search=s@goggins.com\nhttps://gitlab.com/api/v4/users?search=outdoors@acm.org\n\n[\n {\n \"id\": 5481034,\n \"name\": \"sean goggins\",\n \"username\": \"computationalmystic\",\n \"state\": \"active\",\n \"avatar_url\": \"https://secure.gravatar.com/avatar/fb1fb43953a6059df2fe8d94b21d575c?s=80&d=identicon\",\n \"web_url\": \"https://gitlab.com/computationalmystic\"\n }\n]",
+ "oldName": "gl_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 12,
+ "collationSchema": "",
+ "ordinalPosition": 40,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -8232,23 +6862,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "latest_release_number",
+ "name": "gl_full_name",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
- "comment": "",
- "oldName": "latest_release_number",
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "“name” value from these API calls to GitLab, all for the same user\n\nhttps://gitlab.com/api/v4/users?username=computationalmystic\nhttps://gitlab.com/api/v4/users?search=s@goggins.com\nhttps://gitlab.com/api/v4/users?search=outdoors@acm.org\n\n[\n {\n \"id\": 5481034,\n \"name\": \"sean goggins\",\n \"username\": \"computationalmystic\",\n \"state\": \"active\",\n \"avatar_url\": \"https://secure.gravatar.com/avatar/fb1fb43953a6059df2fe8d94b21d575c?s=80&d=identicon\",\n \"web_url\": \"https://gitlab.com/computationalmystic\"\n }\n]",
+ "oldName": "gl_full_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 13,
+ "ordinalPosition": 41,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -8257,289 +6887,608 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": {},
"isIdentityCycle": false
},
{
"objectType": "TableField_PGSQL",
- "name": "package_manager_id",
+ "name": "gl_username",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
- "comment": "",
- "oldName": "package_manager_id",
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "“username” value from these API calls to GitLab, all for the same user\n\nhttps://gitlab.com/api/v4/users?username=computationalmystic\nhttps://gitlab.com/api/v4/users?search=s@goggins.com\nhttps://gitlab.com/api/v4/users?search=outdoors@acm.org\n\n[\n {\n \"id\": 5481034,\n \"name\": \"sean goggins\",\n \"username\": \"computationalmystic\",\n \"state\": \"active\",\n \"avatar_url\": \"https://secure.gravatar.com/avatar/fb1fb43953a6059df2fe8d94b21d575c?s=80&d=identicon\",\n \"web_url\": \"https://gitlab.com/computationalmystic\"\n }\n]",
+ "oldName": "gl_username",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 14,
+ "ordinalPosition": 42,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": true,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": {},
"isIdentityCycle": false
},
{
"objectType": "TableField_PGSQL",
- "name": "dependency_count",
- "type": "int4",
- "length": 32,
+ "name": "gl_state",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "dependency_count",
+ "comment": "“state” value from these API calls to GitLab, all for the same user\n\nhttps://gitlab.com/api/v4/users?username=computationalmystic\nhttps://gitlab.com/api/v4/users?search=s@goggins.com\nhttps://gitlab.com/api/v4/users?search=outdoors@acm.org\n\n[\n {\n \"id\": 5481034,\n \"name\": \"sean goggins\",\n \"username\": \"computationalmystic\",\n \"state\": \"active\",\n \"avatar_url\": \"https://secure.gravatar.com/avatar/fb1fb43953a6059df2fe8d94b21d575c?s=80&d=identicon\",\n \"web_url\": \"https://gitlab.com/computationalmystic\"\n }\n]",
+ "oldName": "gl_state",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 15,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 43,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": {},
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": 0,
"isIdentityCycle": false
},
{
"objectType": "TableField_PGSQL",
- "name": "dependent_library_count",
- "type": "int4",
- "length": 32,
+ "name": "gl_avatar_url",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "dependent_library_count",
+ "comment": "“avatar_url” value from these API calls to GitLab, all for the same user\n\nhttps://gitlab.com/api/v4/users?username=computationalmystic\nhttps://gitlab.com/api/v4/users?search=s@goggins.com\nhttps://gitlab.com/api/v4/users?search=outdoors@acm.org\n\n[\n {\n \"id\": 5481034,\n \"name\": \"sean goggins\",\n \"username\": \"computationalmystic\",\n \"state\": \"active\",\n \"avatar_url\": \"https://secure.gravatar.com/avatar/fb1fb43953a6059df2fe8d94b21d575c?s=80&d=identicon\",\n \"web_url\": \"https://gitlab.com/computationalmystic\"\n }\n]",
+ "oldName": "gl_avatar_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 16,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 44,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": "",
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
},
{
"objectType": "TableField_PGSQL",
- "name": "primary_language",
+ "name": "gl_web_url",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
- "comment": "",
- "oldName": "primary_language",
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "“web_url” value from these API calls to GitLab, all for the same user\n\nhttps://gitlab.com/api/v4/users?username=computationalmystic\nhttps://gitlab.com/api/v4/users?search=s@goggins.com\nhttps://gitlab.com/api/v4/users?search=outdoors@acm.org\n\n[\n {\n \"id\": 5481034,\n \"name\": \"sean goggins\",\n \"username\": \"computationalmystic\",\n \"state\": \"active\",\n \"avatar_url\": \"https://secure.gravatar.com/avatar/fb1fb43953a6059df2fe8d94b21d575c?s=80&d=identicon\",\n \"web_url\": \"https://gitlab.com/computationalmystic\"\n }\n]",
+ "oldName": "gl_web_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 17,
+ "ordinalPosition": 45,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": {},
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": {},
"isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [
{
- "objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "Index_PGSQL",
+ "name": "cnt-fullname",
"comment": "",
- "oldName": "tool_source",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 18,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "Hash",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "cnt-fullname",
+ "oid": 15487993,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "contributors",
+ "size": "32",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_full_name",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_full_name",
+ "collationSchema": "pg_catalog"
+ }
+ ]
},
{
- "objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "Index_PGSQL",
+ "name": "cntrb-theemail",
"comment": "",
- "oldName": "tool_version",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 19,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "Hash",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "cntrb-theemail",
+ "oid": 15488164,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "contributors",
+ "size": "88",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_email",
+ "collationSchema": "pg_catalog"
+ }
+ ]
},
{
- "objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "Index_PGSQL",
+ "name": "cntrb_canonica-idx11",
"comment": "",
- "oldName": "data_source",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 20,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "cntrb_canonica-idx11",
+ "oid": 15488581,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "contributors",
+ "size": "136",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_canonical",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_canonical",
+ "collationSchema": "pg_catalog"
+ }
+ ]
},
{
- "objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "Index_PGSQL",
+ "name": "cntrb_login_platform_index",
"comment": "",
- "oldName": "data_collection_date",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 21,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "cntrb_login_platform_index",
+ "oid": 15487997,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "contributors",
+ "size": "168",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_login",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_login",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "contributor_delete_finder",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BRIN",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "contributor_delete_finder",
+ "oid": 15488165,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "contributors",
+ "size": "24",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_id",
+ "collation": "",
+ "opClass": "int8_minmax_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_email",
+ "collation": "default",
+ "opClass": "text_minmax_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_email",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "contributor_worker_email_finder",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BRIN",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "contributor_worker_email_finder",
+ "oid": 15488167,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "contributors",
+ "size": "24",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_email",
+ "collation": "default",
+ "opClass": "text_minmax_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_email",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "contributor_worker_finder",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BRIN",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "contributor_worker_finder",
+ "oid": 15488166,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "contributors",
+ "size": "24",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_login",
+ "collation": "default",
+ "opClass": "text_minmax_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_login",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_email",
+ "collation": "default",
+ "opClass": "text_minmax_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_email",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_id",
+ "collation": "",
+ "opClass": "int8_minmax_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_id",
+ "collationSchema": ""
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "contributor_worker_fullname_finder",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BRIN",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "contributor_worker_fullname_finder",
+ "oid": 15488037,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "contributors",
+ "size": "24",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_full_name",
+ "collation": "default",
+ "opClass": "text_minmax_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_full_name",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "contributors_idx_cntrb_email3",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "contributors_idx_cntrb_email3",
+ "oid": 15488168,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "contributors",
+ "size": "136",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_email",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "login",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "login",
+ "oid": 15486921,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "contributors",
+ "size": "168",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_login",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_login",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "login-contributor-idx",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "login-contributor-idx",
+ "oid": 15488137,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "contributors",
+ "size": "168",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_login",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_login",
+ "collationSchema": "pg_catalog"
+ }
+ ]
}
],
- "indexes": [],
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "libraries_pkey",
+ "name": "contributors_pkey",
"fields": [
- "library_id"
+ "cntrb_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "libraries_pkey"
+ "oldName": "contributors_pkey"
},
- "foreignKeys": [
+ "foreignKeys": [],
+ "uniques": [
{
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_libraries_repo_1",
+ "objectType": "Unique_PGSQL",
+ "name": "GH-UNIQUE-B",
"fields": [
- "repo_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "repo",
- "referenceFields": [
- "repo_id"
+ "gh_user_id"
],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
+ "fillFactor": -1,
+ "indexTablespace": "",
"comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_libraries_repo_1"
+ "isDeferrable": true,
+ "isDeferred": true,
+ "oldName": "GH-UNIQUE-B"
+ },
+ {
+ "objectType": "Unique_PGSQL",
+ "name": "GH-UNIQUE-C",
+ "fields": [
+ "gh_login"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": true,
+ "isDeferred": true,
+ "oldName": "GH-UNIQUE-C"
+ },
+ {
+ "objectType": "Unique_PGSQL",
+ "name": "GL-UNIQUE-B",
+ "fields": [
+ "gl_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "GL-UNIQUE-B"
+ },
+ {
+ "objectType": "Unique_PGSQL",
+ "name": "GL-UNIQUE-C",
+ "fields": [
+ "gl_username"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "GL-UNIQUE-C"
}
],
- "uniques": [],
"checks": [],
"excludes": [],
"triggers": [],
@@ -8548,16 +7497,16 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "library_dependencies",
- "comment": "",
+ "name": "contributors_aliases",
+ "comment": "An alias will need to be created for every contributor in this model, otherwise we will have to look in 2 places. ",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "library_dependencies",
- "oid": 189219,
+ "oldName": "contributors_aliases",
+ "oid": 15486486,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -8574,17 +7523,17 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "lib_dependency_id",
+ "name": "cntrb_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.library_dependencies_lib_dependency_id_seq'::regclass)",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "lib_dependency_id",
+ "oldName": "cntrb_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -8597,24 +7546,24 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": true,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
},
{
"objectType": "TableField_PGSQL",
- "name": "library_id",
+ "name": "cntrb_a_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.contributors_aliases_cntrb_a_id_seq'::regclass)",
"comment": "",
- "oldName": "library_id",
+ "oldName": "cntrb_a_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -8627,24 +7576,24 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": true,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
},
{
"objectType": "TableField_PGSQL",
- "name": "manifest_platform",
+ "name": "canonical_email",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "manifest_platform",
+ "oldName": "canonical_email",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -8664,17 +7613,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "manifest_filepath",
+ "name": "alias_email",
"type": "varchar",
- "length": 1000,
+ "length": 128,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "manifest_filepath",
+ "oldName": "alias_email",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -8694,22 +7643,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "manifest_kind",
- "type": "varchar",
- "length": 255,
+ "name": "cntrb_active",
+ "type": "int2",
+ "length": 16,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultValue": "1",
"comment": "",
- "oldName": "manifest_kind",
+ "oldName": "cntrb_active",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
@@ -8724,22 +7673,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_id_branch",
- "type": "varchar",
- "length": 255,
+ "name": "cntrb_last_modified",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "repo_id_branch",
+ "oldName": "cntrb_last_modified",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
@@ -8851,8 +7800,8 @@
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
"oldName": "data_collection_date",
"typeOID": 1,
@@ -8876,7 +7825,7 @@
"indexes": [
{
"objectType": "Index_PGSQL",
- "name": "REPO_DEP",
+ "name": "alias,active",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -8887,23 +7836,147 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "REPO_DEP",
- "oid": 203515,
+ "oldName": "alias,active",
+ "oid": 15486924,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "library_dependencies",
+ "tableName": "contributors_aliases",
"size": "8",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "library_id",
+ "name": "alias_email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "alias_email",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_active",
+ "collation": "",
+ "opClass": "int2_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_active",
+ "collationSchema": ""
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "canonical,alias",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": true,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "canonical,alias",
+ "oid": 15488179,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "contributors_aliases",
+ "size": "8",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "canonical_email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "canonical_email",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "alias_email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "alias_email",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "issue-alias-cntrb-idx1",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "issue-alias-cntrb-idx1",
+ "oid": 15488152,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "contributors_aliases",
+ "size": "8",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_id",
"collation": "",
"opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "library_id",
+ "oldName": "cntrb_id",
+ "collationSchema": ""
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "issue-alias-cntrb-idx2",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "issue-alias-cntrb-idx2",
+ "oid": 15488153,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "contributors_aliases",
+ "size": "8",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_a_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_a_id",
"collationSchema": ""
}
]
@@ -8912,38 +7985,60 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "library_dependencies_pkey",
+ "name": "contributors_aliases_pkey",
"fields": [
- "lib_dependency_id"
+ "cntrb_id",
+ "cntrb_a_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "library_dependencies_pkey"
+ "oldName": "contributors_aliases_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_library_dependencies_libraries_1",
+ "name": "fk_alias_id",
"fields": [
- "library_id"
+ "cntrb_a_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "libraries",
+ "referenceTable": "contributors",
"referenceFields": [
- "library_id"
+ "cntrb_id"
],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
"comment": "",
"isMatchFull": false,
"isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_library_dependencies_libraries_1"
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_alias_id"
+ },
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_contributors_aliases_contributors_1",
+ "fields": [
+ "cntrb_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "contributors",
+ "referenceFields": [
+ "cntrb_id"
+ ],
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_contributors_aliases_contributors_1"
}
],
"uniques": [],
@@ -8955,16 +8050,16 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "library_version",
- "comment": "",
+ "name": "contributors_history",
+ "comment": "For GitHub, this should be repeated from gh_login. for other systems, it should be that systems login. \n\nAt this time the table is not populated. ",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "library_version",
- "oid": 189326,
+ "oldName": "contributors_history",
+ "oid": 15486495,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -8981,7 +8076,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "library_version_id",
+ "name": "cntrb_history_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -8989,9 +8084,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.library_version_library_version_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.contributors_history_cntrb_history_id_seq'::regclass)",
"comment": "",
- "oldName": "library_version_id",
+ "oldName": "cntrb_history_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -9011,17 +8106,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "library_id",
+ "name": "cntrb_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "library_id",
+ "oldName": "cntrb_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -9041,22 +8136,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "library_platform",
- "type": "varchar",
- "length": 255,
+ "name": "cntrb_history_timestamp",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "library_platform",
+ "oldName": "cntrb_history_timestamp",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -9071,22 +8166,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "version_number",
- "type": "varchar",
- "length": 255,
+ "name": "cntrb_history_current_bool",
+ "type": "bool",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
- "comment": "",
- "oldName": "version_number",
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "At some point it would be great to have a boolean updated by a contributor worker that set the most recent contributor data to true. ",
+ "oldName": "cntrb_history_current_bool",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
@@ -9101,17 +8196,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "version_release_date",
- "type": "timestamp",
+ "name": "cntrb_organizations_list",
+ "type": "json",
"length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::timestamp without time zone",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "version_release_date",
+ "oldName": "cntrb_organizations_list",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -9131,22 +8226,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 255,
+ "name": "cntrb_gists_count",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "cntrb_gists_count",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
@@ -9161,22 +8256,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 255,
+ "name": "cntrb_starred_count",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "cntrb_starred_count",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
@@ -9191,22 +8286,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 255,
+ "name": "cntrb_following_count",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "cntrb_following_count",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
@@ -9221,9 +8316,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "cntrb_follower_count",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -9231,7 +8326,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "cntrb_follower_count",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -9248,98 +8343,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "library_version_pkey",
- "fields": [
- "library_version_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "library_version_pkey"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_library_version_libraries_1",
- "fields": [
- "library_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "libraries",
- "referenceFields": [
- "library_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_library_version_libraries_1"
- }
- ],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "lstm_anomaly_models",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "lstm_anomaly_models",
- "oid": 189442,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "model_id",
- "type": "int8",
- "length": 64,
+ "name": "cntrb_login",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.lstm_anomaly_models_model_id_seq'::regclass)",
- "comment": "",
- "oldName": "model_id",
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "Will be a double population with the same value as gh_login for github, but the local value for other systems. ",
+ "oldName": "cntrb_login",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9353,23 +8376,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "model_name",
+ "name": "cntrb_email",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "model_name",
+ "comment": "This needs to be here for matching contributor ids, which are augur, to the commit information. ",
+ "oldName": "cntrb_email",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 2,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9383,23 +8406,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "model_description",
+ "name": "cntrb_company",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
"comment": "",
- "oldName": "model_description",
+ "oldName": "cntrb_company",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 3,
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9413,23 +8436,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "look_back_days",
- "type": "int8",
- "length": 64,
+ "name": "cntrb_created_at",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "look_back_days",
+ "oldName": "cntrb_created_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 4,
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9443,23 +8466,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "training_days",
- "type": "int8",
- "length": 64,
+ "name": "cntrb_type",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "training_days",
+ "comment": "Present in another models. It is not currently used in Augur. ",
+ "oldName": "cntrb_type",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 5,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9473,23 +8496,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "batch_size",
- "type": "int8",
- "length": 64,
+ "name": "cntrb_fake",
+ "type": "int2",
+ "length": 16,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "0",
"comment": "",
- "oldName": "batch_size",
+ "oldName": "cntrb_fake",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 6,
+ "ordinalPosition": 15,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9503,23 +8526,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "metric",
- "type": "varchar",
- "length": 0,
+ "name": "cntrb_deleted",
+ "type": "int2",
+ "length": 16,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "0",
"comment": "",
- "oldName": "metric",
+ "oldName": "cntrb_deleted",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "collationSchema": "",
+ "ordinalPosition": 16,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9533,23 +8556,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 0,
- "decimals": 0,
+ "name": "cntrb_long",
+ "type": "numeric",
+ "length": 11,
+ "decimals": 8,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "NULL::numeric",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "cntrb_long",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "collationSchema": "",
+ "ordinalPosition": 17,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9563,23 +8586,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 0,
- "decimals": 0,
+ "name": "cntrb_lat",
+ "type": "numeric",
+ "length": 10,
+ "decimals": 8,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "NULL::numeric",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "cntrb_lat",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "collationSchema": "",
+ "ordinalPosition": 18,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9593,23 +8616,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 0,
+ "name": "cntrb_country_code",
+ "type": "char",
+ "length": 3,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "NULL::bpchar",
"comment": "",
- "oldName": "data_source",
+ "oldName": "cntrb_country_code",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 10,
+ "ordinalPosition": 19,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9623,23 +8646,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 6,
+ "name": "cntrb_state",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultValue": "NULL::character varying",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "cntrb_state",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 11,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 20,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9650,76 +8673,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "lstm_anomaly_models_pkey",
- "fields": [
- "model_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "lstm_anomaly_models_pkey"
- },
- "foreignKeys": [],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "lstm_anomaly_results",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "lstm_anomaly_results",
- "oid": 189543,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "result_id",
- "type": "int8",
- "length": 64,
+ "name": "cntrb_city",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.lstm_anomaly_results_result_id_seq'::regclass)",
+ "defaultValue": "NULL::character varying",
"comment": "",
- "oldName": "result_id",
+ "oldName": "cntrb_city",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 21,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9733,23 +8706,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
- "type": "int8",
- "length": 64,
+ "name": "cntrb_location",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "cntrb_location",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 2,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 22,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9763,9 +8736,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_category",
+ "name": "cntrb_canonical",
"type": "varchar",
- "length": 0,
+ "length": 128,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -9773,13 +8746,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_category",
+ "oldName": "cntrb_canonical",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 3,
+ "ordinalPosition": 23,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9793,7 +8766,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "model_id",
+ "name": "gh_user_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -9803,13 +8776,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "model_id",
+ "oldName": "gh_user_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 4,
+ "ordinalPosition": 24,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9823,23 +8796,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "metric",
+ "name": "gh_login",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "metric",
+ "comment": "populated with the github user name for github originated data. ",
+ "oldName": "gh_login",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 25,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9853,23 +8826,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "contamination_factor",
- "type": "float8",
- "length": 53,
+ "name": "gh_url",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "contamination_factor",
+ "oldName": "gh_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 6,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 26,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9883,23 +8856,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "mean_absolute_error",
- "type": "float8",
- "length": 53,
+ "name": "gh_html_url",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "mean_absolute_error",
+ "oldName": "gh_html_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 7,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 27,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9913,9 +8886,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "remarks",
+ "name": "gh_node_id",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -9923,13 +8896,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "remarks",
+ "oldName": "gh_node_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 28,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9943,23 +8916,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "metric_field",
+ "name": "gh_avatar_url",
"type": "varchar",
- "length": 0,
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "This is a listing of all of the endpoint fields included in the generation of the metric. Sometimes there is one, sometimes there is more than one. This will list them all. ",
- "oldName": "metric_field",
+ "comment": "",
+ "oldName": "gh_avatar_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "ordinalPosition": 29,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -9973,23 +8946,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "mean_absolute_actual_value",
- "type": "float8",
- "length": 53,
+ "name": "gh_gravatar_id",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "mean_absolute_actual_value",
+ "oldName": "gh_gravatar_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 10,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 30,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10003,23 +8976,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "mean_absolute_prediction_value",
- "type": "float8",
- "length": 53,
+ "name": "gh_followers_url",
+ "type": "varchar",
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "mean_absolute_prediction_value",
+ "oldName": "gh_followers_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 11,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 31,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10033,9 +9006,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "gh_following_url",
"type": "varchar",
- "length": 0,
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -10043,13 +9016,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "gh_following_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 12,
+ "ordinalPosition": 32,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10063,9 +9036,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "gh_gists_url",
"type": "varchar",
- "length": 0,
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -10073,13 +9046,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "gh_gists_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 13,
+ "ordinalPosition": 33,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10093,9 +9066,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
+ "name": "gh_starred_url",
"type": "varchar",
- "length": 0,
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -10103,13 +9076,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "gh_starred_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 14,
+ "ordinalPosition": 34,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10123,23 +9096,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 6,
+ "name": "gh_subscriptions_url",
+ "type": "varchar",
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "gh_subscriptions_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 15,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 35,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10150,119 +9123,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "lstm_anomaly_results_pkey",
- "fields": [
- "result_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "lstm_anomaly_results_pkey"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_lstm_anomaly_results_lstm_anomaly_models_1",
- "fields": [
- "model_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "lstm_anomaly_models",
- "referenceFields": [
- "model_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_lstm_anomaly_results_lstm_anomaly_models_1"
},
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_lstm_anomaly_results_repo_1",
- "fields": [
- "repo_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "repo",
- "referenceFields": [
- "repo_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_lstm_anomaly_results_repo_1"
- }
- ],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "message_analysis",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "message_analysis",
- "oid": 189840,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "msg_analysis_id",
- "type": "int8",
- "length": 64,
+ "name": "gh_organizations_url",
+ "type": "varchar",
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.message_analysis_msg_analysis_id_seq'::regclass)",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "msg_analysis_id",
+ "oldName": "gh_organizations_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 36,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10276,23 +9156,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "msg_id",
- "type": "int8",
- "length": 64,
+ "name": "gh_repos_url",
+ "type": "varchar",
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "msg_id",
+ "oldName": "gh_repos_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 2,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 37,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10306,23 +9186,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "worker_run_id",
- "type": "int8",
- "length": 64,
+ "name": "gh_events_url",
+ "type": "varchar",
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "This column is used to indicate analyses run by a worker during the same execution period, and is useful for grouping, and time series analysis. ",
- "oldName": "worker_run_id",
+ "comment": "",
+ "oldName": "gh_events_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 3,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 38,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10336,53 +9216,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "sentiment_score",
- "type": "float8",
- "length": 53,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "A sentiment analysis score. Zero is neutral, negative numbers are negative sentiment, and positive numbers are positive sentiment. ",
- "oldName": "sentiment_score",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 4,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "reconstruction_error",
- "type": "float8",
- "length": 53,
+ "name": "gh_received_events_url",
+ "type": "varchar",
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "Each message is converted to a 250 dimensin doc2vec vector, so the reconstruction error is the difference between what the predicted vector and the actual vector.",
- "oldName": "reconstruction_error",
+ "comment": "",
+ "oldName": "gh_received_events_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 5,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 39,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10396,23 +9246,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "novelty_flag",
- "type": "bool",
- "length": 0,
+ "name": "gh_type",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "This is an analysis of the degree to which the message is novel when compared to other messages in a repository. For example when bots are producing numerous identical messages, the novelty score is low. It would also be a low novelty score when several people are making the same coment. ",
- "oldName": "novelty_flag",
+ "comment": "",
+ "oldName": "gh_type",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 6,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 40,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10426,23 +9276,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "feedback_flag",
- "type": "bool",
- "length": 0,
+ "name": "gh_site_admin",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "This exists to provide the user with an opportunity provide feedback on the resulting the sentiment scores. ",
- "oldName": "feedback_flag",
+ "comment": "",
+ "oldName": "gh_site_admin",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 7,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 41,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10458,7 +9308,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -10472,7 +9322,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 42,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10488,7 +9338,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -10502,7 +9352,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "ordinalPosition": 43,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10518,7 +9368,7 @@
"objectType": "TableField_PGSQL",
"name": "data_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -10532,7 +9382,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 10,
+ "ordinalPosition": 44,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10562,7 +9412,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 11,
+ "ordinalPosition": 45,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10575,32 +9425,101 @@
"isIdentityCycle": false
}
],
- "indexes": [],
+ "indexes": [
+ {
+ "objectType": "Index_PGSQL",
+ "name": "contrb-history-dix1",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "contrb-history-dix1",
+ "oid": 15488154,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "contributors_history",
+ "size": "8",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_id",
+ "collationSchema": ""
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "login_index_2",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "login_index_2",
+ "oid": 15486928,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "contributors_history",
+ "size": "8",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_login",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_login",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ }
+ ],
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "message_analysis_pkey",
+ "name": "contributors_history_pkey",
"fields": [
- "msg_analysis_id"
+ "cntrb_history_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "message_analysis_pkey"
+ "oldName": "contributors_history_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_message_analysis_message_1",
+ "name": "fk_contributors_history_contributors_1",
"fields": [
- "msg_id"
+ "cntrb_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "message",
+ "referenceTable": "contributors",
"referenceFields": [
- "msg_id"
+ "cntrb_id"
],
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
@@ -10609,8 +9528,8 @@
"isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_message_analysis_message_1"
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_contributors_history_contributors_1"
}
],
"uniques": [],
@@ -10622,16 +9541,16 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "message_analysis_summary",
- "comment": "In a relationally perfect world, we would have a table called “message_analysis_run” the incremented the “worker_run_id” for both message_analysis and message_analysis_summary. For now, we decided this was overkill. ",
+ "name": "discourse_insights",
+ "comment": "",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "message_analysis_summary",
- "oid": 189994,
+ "oldName": "discourse_insights",
+ "oid": 15488222,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -10648,7 +9567,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "msg_summary_id",
+ "name": "msg_discourse_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -10656,9 +9575,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.message_analysis_summary_msg_summary_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.discourse_insights_msg_discourse_id_seq1'::regclass)",
"comment": "",
- "oldName": "msg_summary_id",
+ "oldName": "msg_discourse_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -10678,7 +9597,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
+ "name": "msg_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -10688,7 +9607,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "msg_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -10708,143 +9627,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "worker_run_id",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "This value should reflect the worker_run_id for the messages summarized in the table. There is not a relation between these two tables for that purpose because its not *really*, relationaly a concept unless we create a third table for \"worker_run_id\", which we determined was unnecessarily complex. ",
- "oldName": "worker_run_id",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 3,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "positive_ratio",
- "type": "float8",
- "length": 53,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "positive_ratio",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 4,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "negative_ratio",
- "type": "float8",
- "length": 53,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "negative_ratio",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 5,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "novel_count",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "The number of messages identified as novel during the analyzed period",
- "oldName": "novel_count",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 6,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "period",
- "type": "timestamp",
+ "name": "discourse_act",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "The whole timeline is divided into periods based on the definition of time period for analysis, which is user specified. Timestamp of the first period to look at, until the end of messages at the data of execution. ",
- "oldName": "period",
+ "comment": "",
+ "oldName": "discourse_act",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 7,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10874,7 +9673,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10904,7 +9703,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10934,7 +9733,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 10,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10949,8 +9748,8 @@
{
"objectType": "TableField_PGSQL",
"name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "type": "timestamptz",
+ "length": 6,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -10964,7 +9763,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 11,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -10981,28 +9780,28 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "message_analysis_summary_pkey",
+ "name": "discourse_insights_pkey",
"fields": [
- "msg_summary_id"
+ "msg_discourse_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "message_analysis_summary_pkey"
+ "oldName": "discourse_insights_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_message_analysis_summary_repo_1",
+ "name": "fk_discourse_insights_message_1",
"fields": [
- "repo_id"
+ "msg_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "repo",
+ "referenceTable": "message",
"referenceFields": [
- "repo_id"
+ "msg_id"
],
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
@@ -11012,7 +9811,7 @@
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_message_analysis_summary_repo_1"
+ "oldName": "fk_discourse_insights_message_1"
}
],
"uniques": [],
@@ -11024,7 +9823,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "message_sentiment",
+ "name": "dm_repo_annual",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -11032,9 +9831,9 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "message_sentiment",
- "oid": 190022,
- "rows": 0,
+ "oldName": "dm_repo_annual",
+ "oid": 15486513,
+ "rows": 4879,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -11050,17 +9849,17 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "msg_analysis_id",
+ "name": "repo_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.message_sentiment_msg_analysis_id_seq'::regclass)",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "msg_analysis_id",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -11080,22 +9879,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "msg_id",
- "type": "int8",
- "length": 64,
+ "name": "email",
+ "type": "varchar",
+ "length": 128,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": true,
+ "collation": "default",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "msg_id",
+ "oldName": "email",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
@@ -11110,22 +9909,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "worker_run_id",
- "type": "int8",
- "length": 64,
+ "name": "affiliation",
+ "type": "varchar",
+ "length": 128,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "This column is used to indicate analyses run by a worker during the same execution period, and is useful for grouping, and time series analysis. ",
- "oldName": "worker_run_id",
+ "defaultType": "Others",
+ "defaultValue": "'NULL'::character varying",
+ "comment": "",
+ "oldName": "affiliation",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -11140,17 +9939,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "sentiment_score",
- "type": "float8",
- "length": 53,
+ "name": "year",
+ "type": "int2",
+ "length": 16,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
- "comment": "A sentiment analysis score. Zero is neutral, negative numbers are negative sentiment, and positive numbers are positive sentiment. ",
- "oldName": "sentiment_score",
+ "comment": "",
+ "oldName": "year",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -11170,17 +9969,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "reconstruction_error",
- "type": "float8",
- "length": 53,
+ "name": "added",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
- "comment": "Each message is converted to a 250 dimensin doc2vec vector, so the reconstruction error is the difference between what the predicted vector and the actual vector.",
- "oldName": "reconstruction_error",
+ "comment": "",
+ "oldName": "added",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -11200,17 +9999,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "novelty_flag",
- "type": "bool",
- "length": 0,
+ "name": "removed",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
- "comment": "This is an analysis of the degree to which the message is novel when compared to other messages in a repository. For example when bots are producing numerous identical messages, the novelty score is low. It would also be a low novelty score when several people are making the same coment. ",
- "oldName": "novelty_flag",
+ "comment": "",
+ "oldName": "removed",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -11230,17 +10029,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "feedback_flag",
- "type": "bool",
- "length": 0,
+ "name": "whitespace",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
- "comment": "This exists to provide the user with an opportunity provide feedback on the resulting the sentiment scores. ",
- "oldName": "feedback_flag",
+ "comment": "",
+ "oldName": "whitespace",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -11260,22 +10059,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 0,
+ "name": "files",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "files",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
@@ -11290,22 +10089,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 0,
+ "name": "patches",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "patches",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
@@ -11320,9 +10119,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
+ "name": "tool_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -11330,7 +10129,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -11350,22 +10149,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "tool_version",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
@@ -11377,46 +10176,162 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "message_sentiment_pkey",
- "fields": [
- "msg_analysis_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "message_sentiment_pkey"
- },
- "foreignKeys": [
+ },
{
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_message_sentiment_message_1",
+ "objectType": "TableField_PGSQL",
+ "name": "data_source",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "data_source",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 12,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
+ "comment": "",
+ "oldName": "data_collection_date",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 13,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ }
+ ],
+ "indexes": [
+ {
+ "objectType": "Index_PGSQL",
+ "name": "repo_id,affiliation_copy_1",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "repo_id,affiliation_copy_1",
+ "oid": 15486931,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_annual",
+ "size": "696",
"fields": [
- "msg_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "message",
- "referenceFields": [
- "msg_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "affiliation",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "affiliation",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "repo_id,email_copy_1",
"comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_message_sentiment_message_1"
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "repo_id,email_copy_1",
+ "oid": 15486932,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_annual",
+ "size": "632",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "email",
+ "collationSchema": "pg_catalog"
+ }
+ ]
}
],
+ "rules": [],
+ "foreignKeys": [],
"uniques": [],
"checks": [],
"excludes": [],
@@ -11426,17 +10341,17 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "message_sentiment_summary",
- "comment": "In a relationally perfect world, we would have a table called “message_sentiment_run” the incremented the “worker_run_id” for both message_sentiment and message_sentiment_summary. For now, we decided this was overkill. ",
+ "name": "dm_repo_group_annual",
+ "comment": "",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "message_sentiment_summary",
- "oid": 190146,
- "rows": 0,
+ "oldName": "dm_repo_group_annual",
+ "oid": 15486521,
+ "rows": 4879,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -11452,17 +10367,17 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "msg_summary_id",
+ "name": "repo_group_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.message_sentiment_summary_msg_summary_id_seq'::regclass)",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "msg_summary_id",
+ "oldName": "repo_group_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -11482,23 +10397,83 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
- "type": "int8",
- "length": 64,
+ "name": "email",
+ "type": "varchar",
+ "length": 128,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "email",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 2,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "affiliation",
+ "type": "varchar",
+ "length": 128,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
"isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "'NULL'::character varying",
+ "comment": "",
+ "oldName": "affiliation",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 3,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "year",
+ "type": "int2",
+ "length": 16,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "year",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 2,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -11512,23 +10487,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "worker_run_id",
+ "name": "added",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
- "comment": "This value should reflect the worker_run_id for the messages summarized in the table. There is not a relation between these two tables for that purpose because its not *really*, relationaly a concept unless we create a third table for \"worker_run_id\", which we determined was unnecessarily complex. ",
- "oldName": "worker_run_id",
+ "comment": "",
+ "oldName": "added",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 3,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -11542,23 +10517,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "positive_ratio",
- "type": "float8",
- "length": 53,
+ "name": "removed",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "positive_ratio",
+ "oldName": "removed",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 4,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -11572,23 +10547,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "negative_ratio",
- "type": "float8",
- "length": 53,
+ "name": "whitespace",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "negative_ratio",
+ "oldName": "whitespace",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 5,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -11602,23 +10577,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "novel_count",
+ "name": "files",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
- "comment": "The number of messages identified as novel during the analyzed period",
- "oldName": "novel_count",
+ "comment": "",
+ "oldName": "files",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 6,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -11632,23 +10607,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "period",
- "type": "timestamp",
- "length": 0,
+ "name": "patches",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
- "comment": "The whole timeline is divided into periods based on the definition of time period for analysis, which is user specified. Timestamp of the first period to look at, until the end of messages at the data of execution. ",
- "oldName": "period",
+ "comment": "",
+ "oldName": "patches",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 7,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -11664,7 +10639,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -11678,7 +10653,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -11694,7 +10669,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -11708,7 +10683,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -11724,7 +10699,7 @@
"objectType": "TableField_PGSQL",
"name": "data_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -11738,7 +10713,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 10,
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -11768,7 +10743,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 11,
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -11781,44 +10756,100 @@
"isIdentityCycle": false
}
],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "message_sentiment_summary_pkey",
- "fields": [
- "msg_summary_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "message_sentiment_summary_pkey"
- },
- "foreignKeys": [
+ "indexes": [
{
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_message_sentiment_summary_repo_1",
+ "objectType": "Index_PGSQL",
+ "name": "projects_id,affiliation_copy_1",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "projects_id,affiliation_copy_1",
+ "oid": 15486933,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_group_annual",
+ "size": "696",
"fields": [
- "repo_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "repo",
- "referenceFields": [
- "repo_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_group_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_group_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "affiliation",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "affiliation",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "projects_id,email_copy_1",
"comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_message_sentiment_summary_repo_1"
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "projects_id,email_copy_1",
+ "oid": 15486934,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_group_annual",
+ "size": "632",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_group_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_group_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "email",
+ "collationSchema": "pg_catalog"
+ }
+ ]
}
],
+ "rules": [],
+ "foreignKeys": [],
"uniques": [],
"checks": [],
"excludes": [],
@@ -11828,7 +10859,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "platform",
+ "name": "dm_repo_group_monthly",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -11836,9 +10867,9 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "platform",
- "oid": 190264,
- "rows": 1,
+ "oldName": "dm_repo_group_monthly",
+ "oid": 15486529,
+ "rows": 9339,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -11854,17 +10885,17 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "pltfrm_id",
+ "name": "repo_group_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.platform_pltfrm_id_seq'::regclass)",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "pltfrm_id",
+ "oldName": "repo_group_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -11884,17 +10915,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pltfrm_name",
+ "name": "email",
"type": "varchar",
- "length": 255,
+ "length": 128,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pltfrm_name",
+ "oldName": "email",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -11914,17 +10945,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pltfrm_version",
+ "name": "affiliation",
"type": "varchar",
- "length": 255,
+ "length": 128,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "'NULL'::character varying",
"comment": "",
- "oldName": "pltfrm_version",
+ "oldName": "affiliation",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -11944,17 +10975,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pltfrm_release_date",
- "type": "date",
- "length": 0,
+ "name": "month",
+ "type": "int2",
+ "length": 16,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pltfrm_release_date",
+ "oldName": "month",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -11974,22 +11005,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 255,
+ "name": "year",
+ "type": "int2",
+ "length": 16,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "year",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
@@ -12004,22 +11035,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 255,
+ "name": "added",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "added",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
@@ -12034,22 +11065,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 255,
+ "name": "removed",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "removed",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
@@ -12064,17 +11095,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "whitespace",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "whitespace",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -12091,111 +11122,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [
- {
- "objectType": "Index_PGSQL",
- "name": "plat",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": true,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "plat",
- "oid": 203791,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "platform",
- "size": "16",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "pltfrm_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "pltfrm_id",
- "collationSchema": ""
- }
- ]
- }
- ],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "theplat",
- "fields": [
- "pltfrm_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "theplat"
- },
- "foreignKeys": [],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "pull_request_analysis",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "pull_request_analysis",
- "oid": 190293,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "pull_request_analysis_id",
+ "name": "files",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.pull_request_analysis_pull_request_analysis_id_seq'::regclass)",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "pull_request_analysis_id",
+ "oldName": "files",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 1,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -12209,83 +11155,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pull_request_id",
+ "name": "patches",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "It would be better if the pull request worker is run first to fetch the latest PRs before analyzing",
- "oldName": "pull_request_id",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 2,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "merge_probability",
- "type": "numeric",
- "length": 256,
- "decimals": 250,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
- "comment": "Indicates the probability of the PR being merged",
- "oldName": "merge_probability",
+ "comment": "",
+ "oldName": "patches",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 3,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "mechanism",
- "type": "varchar",
- "length": 0,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "the ML model used for prediction (It is XGBoost Classifier at present)",
- "oldName": "mechanism",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -12301,7 +11187,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -12315,7 +11201,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -12331,7 +11217,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -12345,7 +11231,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -12361,7 +11247,7 @@
"objectType": "TableField_PGSQL",
"name": "data_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -12375,7 +11261,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -12390,12 +11276,12 @@
{
"objectType": "TableField_PGSQL",
"name": "data_collection_date",
- "type": "timestamptz",
- "length": 6,
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "Others",
"defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
@@ -12405,7 +11291,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 8,
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -12421,7 +11307,7 @@
"indexes": [
{
"objectType": "Index_PGSQL",
- "name": "pr_anal_idx",
+ "name": "projects_id,affiliation_copy_2",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -12432,30 +11318,41 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "pr_anal_idx",
- "oid": 203805,
+ "oldName": "projects_id,affiliation_copy_2",
+ "oid": 15486935,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "pull_request_analysis",
- "size": "8",
+ "tableName": "dm_repo_group_monthly",
+ "size": "1344",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "pull_request_id",
+ "name": "repo_group_id",
"collation": "",
"opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "pull_request_id",
+ "oldName": "repo_group_id",
"collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "affiliation",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "affiliation",
+ "collationSchema": "pg_catalog"
}
]
},
{
"objectType": "Index_PGSQL",
- "name": "probability_idx",
+ "name": "projects_id,email_copy_2",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -12466,65 +11363,153 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "probability_idx",
- "oid": 203822,
+ "oldName": "projects_id,email_copy_2",
+ "oid": 15486936,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "pull_request_analysis",
- "size": "8",
+ "tableName": "dm_repo_group_monthly",
+ "size": "1328",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "merge_probability",
+ "name": "repo_group_id",
"collation": "",
- "opClass": "numeric_ops",
+ "opClass": "int8_ops",
"opClassSchema": "pg_catalog",
- "order": "DESC",
+ "order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "merge_probability",
+ "oldName": "repo_group_id",
"collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "email",
+ "collationSchema": "pg_catalog"
}
]
- }
- ],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "pull_request_analysis_pkey",
- "fields": [
- "pull_request_analysis_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "pull_request_analysis_pkey"
- },
- "foreignKeys": [
+ },
{
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_analysis_pull_requests_1",
+ "objectType": "Index_PGSQL",
+ "name": "projects_id,year,affiliation_copy_1",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "projects_id,year,affiliation_copy_1",
+ "oid": 15486937,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_group_monthly",
+ "size": "1304",
"fields": [
- "pull_request_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "pull_requests",
- "referenceFields": [
- "pull_request_id"
- ],
- "onDelete": "CASCADE",
- "onUpdate": "CASCADE",
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_group_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_group_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "year",
+ "collation": "",
+ "opClass": "int2_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "year",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "affiliation",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "affiliation",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "projects_id,year,email_copy_1",
"comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pull_request_analysis_pull_requests_1"
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "projects_id,year,email_copy_1",
+ "oid": 15486938,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_group_monthly",
+ "size": "1240",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_group_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_group_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "year",
+ "collation": "",
+ "opClass": "int2_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "year",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "email",
+ "collationSchema": "pg_catalog"
+ }
+ ]
}
],
+ "rules": [],
+ "foreignKeys": [],
"uniques": [],
"checks": [],
"excludes": [],
@@ -12534,17 +11519,17 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "pull_request_files",
- "comment": "Pull request commits are an enumeration of each commit associated with a pull request. \nNot all pull requests are from a branch or fork into master. \nThe commits table intends to count only commits that end up in the master branch (i.e., part of the deployed code base for a project).\nTherefore, there will be commit “SHA”’s in this table that are no associated with a commit SHA in the commits table. \nIn cases where the PR is to the master branch of a project, you will find a match. In cases where the PR does not involve the master branch, you will not find a corresponding commit SHA in the commits table. This is expected. ",
+ "name": "dm_repo_group_weekly",
+ "comment": "",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "pull_request_files",
- "oid": 190683,
- "rows": 0,
+ "oldName": "dm_repo_group_weekly",
+ "oid": 15486537,
+ "rows": 15640,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -12560,17 +11545,17 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "pull_request_id",
+ "name": "repo_group_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pull_request_id",
+ "oldName": "repo_group_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -12590,22 +11575,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_file_id",
- "type": "int8",
- "length": 64,
+ "name": "email",
+ "type": "varchar",
+ "length": 128,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.pull_request_files_pr_file_id_seq'::regclass)",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "pr_file_id",
+ "oldName": "email",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
@@ -12620,22 +11605,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_file_additions",
- "type": "int8",
- "length": 64,
+ "name": "affiliation",
+ "type": "varchar",
+ "length": 128,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "'NULL'::character varying",
"comment": "",
- "oldName": "pr_file_additions",
+ "oldName": "affiliation",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -12650,17 +11635,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_file_deletions",
- "type": "int8",
- "length": 64,
+ "name": "week",
+ "type": "int2",
+ "length": 16,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_file_deletions",
+ "oldName": "week",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -12680,22 +11665,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_file_path",
- "type": "varchar",
- "length": 0,
+ "name": "year",
+ "type": "int2",
+ "length": 16,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_file_path",
+ "oldName": "year",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
@@ -12710,22 +11695,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 0,
+ "name": "added",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "added",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
@@ -12740,22 +11725,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 0,
+ "name": "removed",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "removed",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
@@ -12770,22 +11755,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 0,
+ "name": "whitespace",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "whitespace",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
@@ -12800,17 +11785,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "files",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "files",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -12827,98 +11812,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "pull_request_files_pkey",
- "fields": [
- "pr_file_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "pull_request_files_pkey"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_commits_pull_requests_1",
- "fields": [
- "pull_request_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "pull_requests",
- "referenceFields": [
- "pull_request_id"
- ],
- "onDelete": "CASCADE",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pull_request_commits_pull_requests_1"
- }
- ],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "pull_request_labels",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "pull_request_labels",
- "oid": 190754,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "pr_label_id",
+ "name": "patches",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.pull_request_labels_pr_label_id_seq'::regclass)",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "pr_label_id",
+ "oldName": "patches",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 1,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -12932,23 +11845,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pull_request_id",
- "type": "int8",
- "length": 64,
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pull_request_id",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 2,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -12962,23 +11875,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_id",
- "type": "int8",
- "length": 64,
+ "name": "tool_version",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_id",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 3,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -12992,9 +11905,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_node_id",
+ "name": "data_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -13002,13 +11915,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_node_id",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -13022,23 +11935,293 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_url",
- "type": "varchar",
+ "name": "data_collection_date",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
+ "comment": "",
+ "oldName": "data_collection_date",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 14,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ }
+ ],
+ "indexes": [
+ {
+ "objectType": "Index_PGSQL",
+ "name": "projects_id,affiliation",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "projects_id,affiliation",
+ "oid": 15486939,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_group_weekly",
+ "size": "2536",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_group_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_group_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "affiliation",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "affiliation",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "projects_id,email",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "projects_id,email",
+ "oid": 15486940,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_group_weekly",
+ "size": "2424",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_group_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_group_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "email",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "projects_id,year,affiliation",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "projects_id,year,affiliation",
+ "oid": 15486941,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_group_weekly",
+ "size": "2224",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_group_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_group_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "year",
+ "collation": "",
+ "opClass": "int2_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "year",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "affiliation",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "affiliation",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "projects_id,year,email",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "projects_id,year,email",
+ "oid": 15486942,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_group_weekly",
+ "size": "2152",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_group_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_group_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "year",
+ "collation": "",
+ "opClass": "int2_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "year",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "email",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ }
+ ],
+ "rules": [],
+ "foreignKeys": [],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "dm_repo_monthly",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "dm_repo_monthly",
+ "oid": 15486545,
+ "rows": 9339,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "repo_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_url",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "collationSchema": "",
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -13052,23 +12235,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_description",
+ "name": "email",
"type": "varchar",
- "length": 0,
+ "length": 128,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_description",
+ "oldName": "email",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -13082,23 +12265,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_color",
+ "name": "affiliation",
"type": "varchar",
- "length": 0,
+ "length": 128,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "'NULL'::character varying",
"comment": "",
- "oldName": "pr_src_color",
+ "oldName": "affiliation",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -13112,23 +12295,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_default_bool",
- "type": "bool",
- "length": 0,
+ "name": "month",
+ "type": "int2",
+ "length": 16,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_default_bool",
+ "oldName": "month",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 8,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -13142,23 +12325,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 255,
+ "name": "year",
+ "type": "int2",
+ "length": 16,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "year",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "collationSchema": "",
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -13172,23 +12355,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 255,
+ "name": "added",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "added",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 10,
+ "collationSchema": "",
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -13202,23 +12385,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 255,
+ "name": "removed",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "removed",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 11,
+ "collationSchema": "",
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -13232,155 +12415,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "whitespace",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "whitespace",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 12,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "pull_request_labels_pkey",
- "fields": [
- "pr_label_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "pull_request_labels_pkey"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_labels_pull_requests_1",
- "fields": [
- "pull_request_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "pull_requests",
- "referenceFields": [
- "pull_request_id"
- ],
- "onDelete": "CASCADE",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pull_request_labels_pull_requests_1"
- }
- ],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "pull_request_message_ref",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "pull_request_message_ref",
- "oid": 190820,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
- {
- "objectType": "TableField_PGSQL",
- "name": "pr_msg_ref_id",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.pull_request_message_ref_pr_msg_ref_id_seq'::regclass)",
- "comment": "",
- "oldName": "pr_msg_ref_id",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "pull_request_id",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "pull_request_id",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 2,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -13394,23 +12445,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "msg_id",
+ "name": "files",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "msg_id",
+ "oldName": "files",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 3,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -13424,53 +12475,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_message_ref_src_comment_id",
+ "name": "patches",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_message_ref_src_comment_id",
+ "oldName": "patches",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 4,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "pr_message_ref_src_node_id",
- "type": "varchar",
- "length": 0,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "pr_message_ref_src_node_id",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -13500,7 +12521,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -13530,7 +12551,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -13560,7 +12581,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -13590,7 +12611,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 9,
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -13603,65 +12624,212 @@
"isIdentityCycle": false
}
],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "pull_request_message_ref_pkey",
- "fields": [
- "pr_msg_ref_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "pull_request_message_ref_pkey"
- },
- "foreignKeys": [
+ "indexes": [
{
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_message_ref_message_1",
+ "objectType": "Index_PGSQL",
+ "name": "repo_id,affiliation_copy_2",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "repo_id,affiliation_copy_2",
+ "oid": 15486943,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_monthly",
+ "size": "1344",
"fields": [
- "msg_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "message",
- "referenceFields": [
- "msg_id"
- ],
- "onDelete": "CASCADE",
- "onUpdate": "CASCADE",
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "affiliation",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "affiliation",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "repo_id,email_copy_2",
"comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pull_request_message_ref_message_1"
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "repo_id,email_copy_2",
+ "oid": 15486944,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_monthly",
+ "size": "1328",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "email",
+ "collationSchema": "pg_catalog"
+ }
+ ]
},
{
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_message_ref_pull_requests_1",
+ "objectType": "Index_PGSQL",
+ "name": "repo_id,year,affiliation_copy_1",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "repo_id,year,affiliation_copy_1",
+ "oid": 15486945,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_monthly",
+ "size": "1304",
"fields": [
- "pull_request_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "pull_requests",
- "referenceFields": [
- "pull_request_id"
- ],
- "onDelete": "CASCADE",
- "onUpdate": "CASCADE",
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "year",
+ "collation": "",
+ "opClass": "int2_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "year",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "affiliation",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "affiliation",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "repo_id,year,email_copy_1",
"comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pull_request_message_ref_pull_requests_1"
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "repo_id,year,email_copy_1",
+ "oid": 15486946,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_monthly",
+ "size": "1240",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "year",
+ "collation": "",
+ "opClass": "int2_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "year",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "email",
+ "collationSchema": "pg_catalog"
+ }
+ ]
}
],
+ "rules": [],
+ "foreignKeys": [],
"uniques": [],
"checks": [],
"excludes": [],
@@ -13671,7 +12839,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "pull_request_review_message_ref",
+ "name": "dm_repo_weekly",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -13679,9 +12847,9 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "pull_request_review_message_ref",
- "oid": 191077,
- "rows": 0,
+ "oldName": "dm_repo_weekly",
+ "oid": 15486553,
+ "rows": 15640,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -13697,17 +12865,17 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_ref_id",
+ "name": "repo_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.pull_request_review_message_ref_pr_review_msg_ref_id_seq'::regclass)",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "pr_review_msg_ref_id",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -13727,22 +12895,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_id",
- "type": "int8",
- "length": 64,
+ "name": "email",
+ "type": "varchar",
+ "length": 128,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_id",
+ "oldName": "email",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
@@ -13757,22 +12925,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "msg_id",
- "type": "int8",
- "length": 64,
+ "name": "affiliation",
+ "type": "varchar",
+ "length": 128,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "'NULL'::character varying",
"comment": "",
- "oldName": "msg_id",
+ "oldName": "affiliation",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -13787,22 +12955,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_url",
- "type": "varchar",
- "length": 0,
+ "name": "week",
+ "type": "int2",
+ "length": 16,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_msg_url",
+ "oldName": "week",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
@@ -13817,17 +12985,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_src_id",
- "type": "int8",
- "length": 64,
+ "name": "year",
+ "type": "int2",
+ "length": 16,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_src_id",
+ "oldName": "year",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -13847,17 +13015,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_src_id",
+ "name": "added",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_msg_src_id",
+ "oldName": "added",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -13877,22 +13045,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_node_id",
- "type": "varchar",
- "length": 0,
+ "name": "removed",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_msg_node_id",
+ "oldName": "removed",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
@@ -13907,22 +13075,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_diff_hunk",
- "type": "varchar",
- "length": 0,
+ "name": "whitespace",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_msg_diff_hunk",
+ "oldName": "whitespace",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
@@ -13937,22 +13105,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_path",
- "type": "varchar",
- "length": 0,
+ "name": "files",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_msg_path",
+ "oldName": "files",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
@@ -13967,22 +13135,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_position",
- "type": "varchar",
- "length": 0,
+ "name": "patches",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_msg_position",
+ "oldName": "patches",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
@@ -13997,9 +13165,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_original_position",
+ "name": "tool_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -14007,7 +13175,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_msg_original_position",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -14027,9 +13195,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_commit_id",
+ "name": "tool_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -14037,7 +13205,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_msg_commit_id",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -14057,9 +13225,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_original_commit_id",
+ "name": "data_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -14067,7 +13235,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_msg_original_commit_id",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -14087,17 +13255,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_updated_at",
+ "name": "data_collection_date",
"type": "timestamp",
- "length": 6,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "pr_review_msg_updated_at",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -14114,26 +13282,266 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
+ }
+ ],
+ "indexes": [
+ {
+ "objectType": "Index_PGSQL",
+ "name": "repo_id,affiliation",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "repo_id,affiliation",
+ "oid": 15486947,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_weekly",
+ "size": "2536",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "affiliation",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "affiliation",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "repo_id,email",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "repo_id,email",
+ "oid": 15486948,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_weekly",
+ "size": "2424",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "email",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "repo_id,year,affiliation",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "repo_id,year,affiliation",
+ "oid": 15486949,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_weekly",
+ "size": "2224",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "year",
+ "collation": "",
+ "opClass": "int2_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "year",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "affiliation",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "affiliation",
+ "collationSchema": "pg_catalog"
+ }
+ ]
},
+ {
+ "objectType": "Index_PGSQL",
+ "name": "repo_id,year,email",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "repo_id,year,email",
+ "oid": 15486950,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "dm_repo_weekly",
+ "size": "2152",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "year",
+ "collation": "",
+ "opClass": "int2_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "year",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "email",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "email",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ }
+ ],
+ "rules": [],
+ "foreignKeys": [],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "exclude",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "exclude",
+ "oid": 15486561,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_html_url",
- "type": "varchar",
- "length": 0,
+ "name": "id",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_msg_html_url",
+ "oldName": "id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 15,
+ "collationSchema": "",
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -14147,23 +13555,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_url",
- "type": "varchar",
- "length": 0,
+ "name": "projects_id",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_url",
+ "oldName": "projects_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 16,
+ "collationSchema": "",
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -14177,23 +13585,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_author_association",
+ "name": "email",
"type": "varchar",
- "length": 0,
+ "length": 128,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "'NULL'::character varying",
"comment": "",
- "oldName": "pr_review_msg_author_association",
+ "oldName": "email",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 17,
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -14207,23 +13615,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_start_line",
+ "name": "domain",
"type": "varchar",
- "length": 0,
+ "length": 128,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "'NULL'::character varying",
"comment": "",
- "oldName": "pr_review_msg_start_line",
+ "oldName": "domain",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 18,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -14234,26 +13642,76 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "exclude_pkey",
+ "fields": [
+ "id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "exclude_pkey"
+ },
+ "foreignKeys": [],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "issue_assignees",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "issue_assignees",
+ "oid": 15486566,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_original_start_line",
- "type": "varchar",
- "length": 0,
+ "name": "issue_assignee_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.issue_assignees_issue_assignee_id_seq'::regclass)",
"comment": "",
- "oldName": "pr_review_msg_original_start_line",
+ "oldName": "issue_assignee_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 19,
+ "collationSchema": "",
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -14267,23 +13725,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_start_side",
- "type": "varchar",
- "length": 0,
+ "name": "issue_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_msg_start_side",
+ "oldName": "issue_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 20,
+ "collationSchema": "",
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -14297,23 +13755,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_line",
- "type": "varchar",
- "length": 0,
+ "name": "cntrb_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_msg_line",
+ "oldName": "cntrb_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 21,
+ "collationSchema": "",
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -14327,7 +13785,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_original_line",
+ "name": "tool_source",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -14337,13 +13795,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_msg_original_line",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 22,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -14357,7 +13815,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_msg_side",
+ "name": "tool_version",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -14367,13 +13825,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_msg_side",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 23,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -14387,7 +13845,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "data_source",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -14397,13 +13855,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 24,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -14417,23 +13875,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
+ "name": "data_collection_date",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 25,
+ "collationSchema": "",
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -14447,23 +13905,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 0,
+ "name": "issue_assignee_src_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "data_source",
+ "comment": "This ID comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue events API in the issue_assignees embedded JSON object. We may discover it is an ID for the person themselves; but my hypothesis is that its not.",
+ "oldName": "issue_assignee_src_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 26,
+ "collationSchema": "",
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -14477,24 +13935,24 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
+ "name": "issue_assignee_src_node",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
- "comment": "",
- "oldName": "data_collection_date",
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "This character based identifier comes from the source. In the case of GitHub, it is the id that is the second field returned from the issue events API in the issue_assignees embedded JSON object. We may discover it is an ID for the person themselves; but my hypothesis is that its not.",
+ "oldName": "issue_assignee_src_node",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 27,
- "foreignOptions": [],
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 9,
+ "foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
"identityStart": 0,
@@ -14506,32 +13964,67 @@
"isIdentityCycle": false
}
],
- "indexes": [],
+ "indexes": [
+ {
+ "objectType": "Index_PGSQL",
+ "name": "issue-cntrb-assign-idx-1",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "issue-cntrb-assign-idx-1",
+ "oid": 15488149,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "issue_assignees",
+ "size": "8",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_id",
+ "collationSchema": ""
+ }
+ ]
+ }
+ ],
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "pr_review_msg_ref_id",
+ "name": "issue_assignees_pkey",
"fields": [
- "pr_review_msg_ref_id"
+ "issue_assignee_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "pr_review_msg_ref_id"
+ "oldName": "issue_assignees_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_review_message_ref_message_1",
+ "name": "fk_issue_assignees_contributors_1",
"fields": [
- "msg_id"
+ "cntrb_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "message",
+ "referenceTable": "contributors",
"referenceFields": [
- "msg_id"
+ "cntrb_id"
],
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
@@ -14540,29 +14033,29 @@
"isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_pull_request_review_message_ref_message_1"
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_issue_assignees_contributors_1"
},
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_review_message_ref_pull_request_reviews_1",
+ "name": "fk_issue_assignees_issues_1",
"fields": [
- "pr_review_id"
+ "issue_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "pull_request_reviews",
+ "referenceTable": "issues",
"referenceFields": [
- "pr_review_id"
+ "issue_id"
],
- "onDelete": "CASCADE",
- "onUpdate": "CASCADE",
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
"comment": "",
"isMatchFull": false,
"isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_pull_request_review_message_ref_pull_request_reviews_1"
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_issue_assignees_issues_1"
}
],
"uniques": [],
@@ -14574,7 +14067,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "pull_request_teams",
+ "name": "issue_events",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -14582,8 +14075,8 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "pull_request_teams",
- "oid": 191424,
+ "oldName": "issue_events",
+ "oid": 15486574,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -14600,7 +14093,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "pr_team_id",
+ "name": "event_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -14608,9 +14101,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.pull_request_teams_pr_team_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.issue_events_event_id_seq'::regclass)",
"comment": "",
- "oldName": "pr_team_id",
+ "oldName": "event_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -14630,17 +14123,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pull_request_id",
+ "name": "issue_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pull_request_id",
+ "oldName": "issue_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -14660,17 +14153,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_team_id",
+ "name": "cntrb_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_team_id",
+ "oldName": "cntrb_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -14690,17 +14183,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_team_node",
+ "name": "action",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_team_node",
+ "oldName": "action",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -14720,7 +14213,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_team_url",
+ "name": "action_commit_hash",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -14730,7 +14223,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_team_url",
+ "oldName": "action_commit_hash",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -14750,22 +14243,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_team_name",
- "type": "varchar",
+ "name": "created_at",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "pr_team_name",
+ "oldName": "created_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
@@ -14780,7 +14273,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_team_slug",
+ "name": "node_id",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -14789,8 +14282,8 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "pr_team_slug",
+ "comment": "This should be renamed to issue_event_src_node_id, as its the varchar identifier in GitHub and likely common in other sources as well. However, since it was created before we came to this naming standard and workers are built around it, we have it simply named as node_id. Anywhere you see node_id in the schema, it comes from GitHubs terminology.",
+ "oldName": "node_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -14810,7 +14303,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_team_description",
+ "name": "node_url",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -14820,7 +14313,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_team_description",
+ "oldName": "node_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -14835,14 +14328,14 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": 0,
"isIdentityCycle": false
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_team_privacy",
+ "name": "tool_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -14850,7 +14343,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_team_privacy",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -14870,9 +14363,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_team_permission",
+ "name": "tool_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -14880,7 +14373,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_team_permission",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -14900,9 +14393,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_team_src_members_url",
+ "name": "data_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -14910,7 +14403,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_team_src_members_url",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -14930,22 +14423,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_team_src_repositories_url",
- "type": "varchar",
+ "name": "data_collection_date",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "pr_team_src_repositories_url",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
@@ -14960,7 +14453,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_team_parent_id",
+ "name": "issue_event_src_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -14969,8 +14462,8 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "pr_team_parent_id",
+ "comment": "This ID comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue events API",
+ "oldName": "issue_event_src_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -14987,164 +14480,168 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "tool_source",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 14,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [
{
- "objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "Index_PGSQL",
+ "name": "issue-cntrb-idx2",
"comment": "",
- "oldName": "tool_version",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 15,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "issue-cntrb-idx2",
+ "oid": 15488151,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "issue_events",
+ "size": "8",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "issue_event_src_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "issue_event_src_id",
+ "collationSchema": ""
+ }
+ ]
},
{
- "objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "Index_PGSQL",
+ "name": "issue_events_ibfk_1",
"comment": "",
- "oldName": "data_source",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 16,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "issue_events_ibfk_1",
+ "oid": 15486955,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "issue_events",
+ "size": "8",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "issue_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "issue_id",
+ "collationSchema": ""
+ }
+ ]
},
{
- "objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "objectType": "Index_PGSQL",
+ "name": "issue_events_ibfk_2",
"comment": "",
- "oldName": "data_collection_date",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 17,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "issue_events_ibfk_2",
+ "oid": 15486956,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "issue_events",
+ "size": "8",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_id",
+ "collationSchema": ""
+ }
+ ]
}
],
- "indexes": [],
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "pull_request_teams_pkey",
+ "name": "issue_events_pkey",
"fields": [
- "pr_team_id"
+ "event_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "pull_request_teams_pkey"
+ "oldName": "issue_events_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_teams_pull_requests_1",
+ "name": "fk_issue_events_contributors_1",
"fields": [
- "pull_request_id"
+ "cntrb_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "pull_requests",
+ "referenceTable": "contributors",
"referenceFields": [
- "pull_request_id"
+ "cntrb_id"
],
- "onDelete": "CASCADE",
- "onUpdate": "CASCADE",
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
"comment": "",
"isMatchFull": false,
"isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pull_request_teams_pull_requests_1"
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_issue_events_contributors_1"
+ },
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_issue_events_issues_1",
+ "fields": [
+ "issue_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "issues",
+ "referenceFields": [
+ "issue_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_issue_events_issues_1"
}
],
"uniques": [],
@@ -15156,7 +14653,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "repo_cluster_messages",
+ "name": "issue_labels",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -15164,8 +14661,8 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "repo_cluster_messages",
- "oid": 192186,
+ "oldName": "issue_labels",
+ "oid": 15486583,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -15182,7 +14679,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "msg_cluster_id",
+ "name": "issue_label_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -15190,9 +14687,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_cluster_messages_msg_cluster_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.issue_labels_issue_label_id_seq'::regclass)",
"comment": "",
- "oldName": "msg_cluster_id",
+ "oldName": "issue_label_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -15212,7 +14709,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
+ "name": "issue_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -15222,7 +14719,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "issue_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -15242,22 +14739,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cluster_content",
- "type": "int4",
- "length": 32,
+ "name": "label_text",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cluster_content",
+ "oldName": "label_text",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -15272,22 +14769,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cluster_mechanism",
- "type": "int4",
- "length": 32,
+ "name": "label_description",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cluster_mechanism",
+ "oldName": "label_description",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
@@ -15302,7 +14799,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "label_color",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -15312,7 +14809,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "label_color",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -15330,11 +14827,41 @@
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
},
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "tool_source",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 6,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
{
"objectType": "TableField_PGSQL",
"name": "tool_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -15348,7 +14875,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -15364,7 +14891,7 @@
"objectType": "TableField_PGSQL",
"name": "data_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -15378,7 +14905,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -15408,7 +14935,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 8,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -15419,34 +14946,94 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "repo_cluster_messages_pkey",
- "fields": [
- "msg_cluster_id"
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "label_src_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "This character based identifier (node) comes from the source. In the case of GitHub, it is the id that is the second field returned from the issue events API JSON subsection for issues.",
+ "oldName": "label_src_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 10,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "label_src_node_id",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "label_src_node_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 11,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "issue_labels_pkey",
+ "fields": [
+ "issue_label_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "repo_cluster_messages_pkey"
+ "oldName": "issue_labels_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_repo_cluster_messages_repo_1",
+ "name": "fk_issue_labels_issues_1",
"fields": [
- "repo_id"
+ "issue_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "repo",
+ "referenceTable": "issues",
"referenceFields": [
- "repo_id"
+ "issue_id"
],
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
@@ -15456,7 +15043,7 @@
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_repo_cluster_messages_repo_1"
+ "oldName": "fk_issue_labels_issues_1"
}
],
"uniques": [],
@@ -15468,16 +15055,16 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "repo_dependencies",
- "comment": "Contains the dependencies for a repo.",
+ "name": "issue_message_ref",
+ "comment": "",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "repo_dependencies",
- "oid": 19043821,
+ "oldName": "issue_message_ref",
+ "oid": 15486591,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -15494,7 +15081,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "repo_dependencies_id",
+ "name": "issue_msg_ref_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -15502,9 +15089,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_dependencies_repo_dependencies_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.issue_message_ref_issue_msg_ref_id_seq'::regclass)",
"comment": "",
- "oldName": "repo_dependencies_id",
+ "oldName": "issue_msg_ref_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -15524,7 +15111,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
+ "name": "issue_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -15533,8 +15120,8 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "Forign key for repo id. ",
- "oldName": "repo_id",
+ "comment": "",
+ "oldName": "issue_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -15554,22 +15141,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "dep_name",
- "type": "varchar",
- "length": 255,
+ "name": "msg_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "Name of the dependancy found in project. ",
- "oldName": "dep_name",
+ "comment": "",
+ "oldName": "msg_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -15584,22 +15171,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "dep_count",
- "type": "int4",
- "length": 32,
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "Number of times the dependancy was found. ",
- "oldName": "dep_count",
+ "comment": "",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
@@ -15614,7 +15201,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "dep_language",
+ "name": "tool_version",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -15623,8 +15210,8 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "Language of the dependancy. ",
- "oldName": "dep_language",
+ "comment": "",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -15644,9 +15231,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "data_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -15654,7 +15241,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -15674,22 +15261,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
+ "name": "data_collection_date",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
@@ -15704,7 +15291,37 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
+ "name": "issue_msg_ref_src_comment_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "This ID comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue comments API",
+ "oldName": "issue_msg_ref_src_comment_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 8,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "issue_msg_ref_src_node_id",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -15713,14 +15330,14 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "data_source",
+ "comment": "This character based identifier comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue comments API",
+ "oldName": "issue_msg_ref_src_node_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -15734,23 +15351,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "repo_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 9,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -15767,38 +15384,59 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "repo_dependencies_pkey",
+ "name": "issue_message_ref_pkey",
"fields": [
- "repo_dependencies_id"
+ "issue_msg_ref_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "repo_dependencies_pkey"
+ "oldName": "issue_message_ref_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "repo_id",
+ "name": "fk_issue_message_ref_issues_1",
"fields": [
- "repo_id"
+ "issue_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "repo",
+ "referenceTable": "issues",
"referenceFields": [
- "repo_id"
+ "issue_id"
],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
+ "onDelete": "RESTRICT",
+ "onUpdate": "CASCADE",
"comment": "",
"isMatchFull": false,
"isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ZeroOrOneRelationship",
- "oldName": "repo_id"
+ "oldName": "fk_issue_message_ref_issues_1"
+ },
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_issue_message_ref_message_1",
+ "fields": [
+ "msg_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "message",
+ "referenceFields": [
+ "msg_id"
+ ],
+ "onDelete": "RESTRICT",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_issue_message_ref_message_1"
}
],
"uniques": [],
@@ -15810,17 +15448,17 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "repo_group_insights",
- "comment": "This table is output from an analytical worker inside of Augur. It runs through the different metrics on a REPOSITORY_GROUP and identifies the five to ten most “interesting” metrics as defined by some kind of delta or other factor. The algorithm is going to evolve. \n\nWorker Design Notes: The idea is that the \"insight worker\" will scan through a bunch of active metrics or \"synthetic metrics\" to list the most important insights. ",
+ "name": "issues",
+ "comment": "",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "repo_group_insights",
- "oid": 192348,
- "rows": 0,
+ "oldName": "issues",
+ "oid": 15486599,
+ "rows": 12103,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -15836,7 +15474,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "rgi_id",
+ "name": "issue_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -15844,9 +15482,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_group_insights_rgi_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.issue_seq'::regclass)",
"comment": "",
- "oldName": "rgi_id",
+ "oldName": "issue_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -15866,7 +15504,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_group_id",
+ "name": "repo_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -15876,7 +15514,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_group_id",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -15896,22 +15534,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rgi_metric",
- "type": "varchar",
- "length": 0,
+ "name": "reporter_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "rgi_metric",
+ "comment": "The ID of the person who opened the issue. ",
+ "oldName": "reporter_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -15926,22 +15564,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rgi_value",
- "type": "varchar",
- "length": 0,
+ "name": "pull_request",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "rgi_value",
+ "oldName": "pull_request",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
@@ -15956,7 +15594,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cms_id",
+ "name": "pull_request_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -15966,7 +15604,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cms_id",
+ "oldName": "pull_request_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -15986,8 +15624,8 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rgi_fresh",
- "type": "bool",
+ "name": "created_at",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
@@ -15995,8 +15633,8 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "false if the date is before the statistic that triggered the insight, true if after. This allows us to automatically display only \"fresh insights\" and avoid displaying \"stale insights\". The insight worker will populate this table. ",
- "oldName": "rgi_fresh",
+ "comment": "",
+ "oldName": "created_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -16016,9 +15654,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "issue_title",
"type": "varchar",
- "length": 0,
+ "length": 500,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -16026,7 +15664,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "issue_title",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -16046,8 +15684,8 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
+ "name": "issue_body",
+ "type": "text",
"length": 0,
"decimals": 0,
"dimensions": 0,
@@ -16056,7 +15694,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "issue_body",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -16076,22 +15714,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 0,
+ "name": "cntrb_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "data_source",
+ "comment": "The ID of the person who closed the issue. ",
+ "oldName": "cntrb_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
@@ -16106,17 +15744,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "comment_count",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "comment_count",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -16133,98 +15771,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "repo_group_insights_pkey",
- "fields": [
- "rgi_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "repo_group_insights_pkey"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_repo_group_insights_repo_groups_1",
- "fields": [
- "repo_group_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "repo_groups",
- "referenceFields": [
- "repo_group_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_repo_group_insights_repo_groups_1"
- }
- ],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "repo_groups",
- "comment": "rg_type is intended to be either a GitHub Organization or a User Created Repo Group. ",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "repo_groups",
- "oid": 192466,
- "rows": 1,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "repo_group_id",
- "type": "int8",
- "length": 64,
+ "name": "updated_at",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_groups_repo_group_id_seq'::regclass)",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "repo_group_id",
+ "oldName": "updated_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 1,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16238,23 +15804,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rg_name",
- "type": "varchar",
+ "name": "closed_at",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": false,
+ "collation": "",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "rg_name",
+ "oldName": "closed_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 2,
+ "collationSchema": "",
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16268,23 +15834,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rg_description",
- "type": "varchar",
+ "name": "due_on",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "'NULL'::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "rg_description",
+ "oldName": "due_on",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 3,
+ "collationSchema": "",
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16298,23 +15864,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rg_website",
+ "name": "repository_url",
"type": "varchar",
- "length": 128,
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "'NULL'::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "rg_website",
+ "oldName": "repository_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16328,23 +15894,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rg_recache",
- "type": "int2",
- "length": 16,
+ "name": "issue_url",
+ "type": "varchar",
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "1",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "rg_recache",
+ "oldName": "issue_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 5,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 15,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16358,23 +15924,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rg_last_modified",
- "type": "timestamp",
- "length": 0,
+ "name": "labels_url",
+ "type": "varchar",
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "rg_last_modified",
+ "oldName": "labels_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 6,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 16,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16388,9 +15954,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rg_type",
+ "name": "comments_url",
"type": "varchar",
- "length": 0,
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -16398,13 +15964,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "rg_type",
+ "oldName": "comments_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 17,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16418,9 +15984,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "events_url",
"type": "varchar",
- "length": 255,
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -16428,13 +15994,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "events_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 18,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16448,9 +16014,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "html_url",
"type": "varchar",
- "length": 255,
+ "length": 4000,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -16458,13 +16024,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "html_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "ordinalPosition": 19,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16478,7 +16044,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
+ "name": "issue_state",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -16488,13 +16054,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "issue_state",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 10,
+ "ordinalPosition": 20,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16508,23 +16074,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
+ "name": "issue_node_id",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "issue_node_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 11,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 21,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16535,145 +16101,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [
- {
- "objectType": "Index_PGSQL",
- "name": "rgidm",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": true,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "rgidm",
- "oid": 203958,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "repo_groups",
- "size": "16",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_group_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_group_id",
- "collationSchema": ""
- }
- ]
},
- {
- "objectType": "Index_PGSQL",
- "name": "rgnameindex",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "rgnameindex",
- "oid": 203960,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "repo_groups",
- "size": "16",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "rg_name",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "rg_name",
- "collationSchema": "pg_catalog"
- }
- ]
- }
- ],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "rgid",
- "fields": [
- "repo_group_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "rgid"
- },
- "foreignKeys": [],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "repo_groups_list_serve",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "repo_groups_list_serve",
- "oid": 192557,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "rgls_id",
+ "name": "gh_issue_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_groups_list_serve_rgls_id_seq'::regclass)",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "rgls_id",
+ "oldName": "gh_issue_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 1,
+ "ordinalPosition": 22,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16687,113 +16134,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_group_id",
+ "name": "gh_user_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "repo_group_id",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 2,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "rgls_name",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "rgls_name",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 3,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "rgls_description",
- "type": "varchar",
- "length": 3000,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "rgls_description",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 4,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "rgls_sponsor",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "rgls_sponsor",
+ "oldName": "gh_user_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "collationSchema": "",
+ "ordinalPosition": 23,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16807,7 +16164,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rgls_email",
+ "name": "tool_source",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -16817,13 +16174,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "rgls_email",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 24,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16837,7 +16194,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "tool_version",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -16847,13 +16204,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 25,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16867,7 +16224,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "data_source",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -16877,13 +16234,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 26,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16897,23 +16254,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 255,
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "data_source",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "collationSchema": "",
+ "ordinalPosition": 27,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16927,9 +16284,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "gh_issue_number",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -16937,13 +16294,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "gh_issue_number",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 10,
+ "ordinalPosition": 28,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -16959,45 +16316,136 @@
"indexes": [
{
"objectType": "Index_PGSQL",
- "name": "lister",
+ "name": "issue-cntrb-dix2",
"comment": "",
"isClustered": false,
"isConcurrently": false,
- "isUnique": true,
+ "isUnique": false,
"fastUpdate": "",
"buffering": "",
"fillFactor": -1,
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "lister",
- "oid": 203763,
+ "oldName": "issue-cntrb-dix2",
+ "oid": 15488150,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "repo_groups_list_serve",
- "size": "8",
+ "tableName": "issues",
+ "size": "264",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "rgls_id",
+ "name": "cntrb_id",
"collation": "",
"opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "rgls_id",
+ "oldName": "cntrb_id",
"collationSchema": ""
- },
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "issues_ibfk_1",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "issues_ibfk_1",
+ "oid": 15486963,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "issues",
+ "size": "272",
+ "fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "repo_group_id",
+ "name": "repo_id",
"collation": "",
"opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "repo_group_id",
+ "oldName": "repo_id",
+ "collationSchema": ""
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "issues_ibfk_2",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "issues_ibfk_2",
+ "oid": 15486964,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "issues",
+ "size": "408",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "reporter_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "reporter_id",
+ "collationSchema": ""
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "issues_ibfk_4",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "issues_ibfk_4",
+ "oid": 15486965,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "issues",
+ "size": "376",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "pull_request_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "pull_request_id",
"collationSchema": ""
}
]
@@ -17006,28 +16454,28 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "repo_groups_list_serve_pkey",
+ "name": "issues_pkey",
"fields": [
- "rgls_id"
+ "issue_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "repo_groups_list_serve_pkey"
+ "oldName": "issues_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_repo_groups_list_serve_repo_groups_1",
+ "name": "fk_issues_contributors_1",
"fields": [
- "repo_group_id"
+ "cntrb_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "repo_groups",
+ "referenceTable": "contributors",
"referenceFields": [
- "repo_group_id"
+ "cntrb_id"
],
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
@@ -17036,26 +16484,53 @@
"isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_repo_groups_list_serve_repo_groups_1"
- }
- ],
- "uniques": [
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_issues_contributors_1"
+ },
{
- "objectType": "Unique_PGSQL",
- "name": "rglistserve",
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_issues_contributors_2",
"fields": [
- "rgls_id",
- "repo_group_id"
+ "reporter_id"
],
- "fillFactor": -1,
- "indexTablespace": "",
+ "referenceSchema": "augur_data",
+ "referenceTable": "contributors",
+ "referenceFields": [
+ "cntrb_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
"comment": "",
+ "isMatchFull": false,
"isDeferrable": false,
"isDeferred": false,
- "oldName": "rglistserve"
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_issues_contributors_2"
+ },
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_issues_repo",
+ "fields": [
+ "repo_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "repo",
+ "referenceFields": [
+ "repo_id"
+ ],
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_issues_repo"
}
],
+ "uniques": [],
"checks": [],
"excludes": [],
"triggers": [],
@@ -17064,7 +16539,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "repo_insights_records",
+ "name": "libraries",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -17072,8 +16547,8 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "repo_insights_records",
- "oid": 193096,
+ "oldName": "libraries",
+ "oid": 15486607,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -17090,7 +16565,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "ri_id",
+ "name": "library_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -17098,9 +16573,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_insights_records_ri_id_seq'::regclass)",
- "comment": "Primary key. ",
- "oldName": "ri_id",
+ "defaultValue": "nextval('augur_data.libraries_library_id_seq'::regclass)",
+ "comment": "",
+ "oldName": "library_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -17129,7 +16604,7 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "Refers to repo table primary key. Will have a foreign key",
+ "comment": "",
"oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
@@ -17150,17 +16625,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "ri_metric",
+ "name": "platform",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "The metric endpoint",
- "oldName": "ri_metric",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "platform",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -17180,17 +16655,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "ri_field",
+ "name": "name",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "The field in the metric endpoint",
- "oldName": "ri_field",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -17210,22 +16685,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "ri_value",
- "type": "varchar",
+ "name": "created_timestamp",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "The value of the endpoint in ri_field",
- "oldName": "ri_value",
+ "defaultType": "Others",
+ "defaultValue": "NULL::timestamp without time zone",
+ "comment": "",
+ "oldName": "created_timestamp",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
@@ -17240,17 +16715,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "ri_date",
+ "name": "updated_timestamp",
"type": "timestamp",
- "length": 6,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "The date the insight is for; in other words, some anomaly occurred on this date. ",
- "oldName": "ri_date",
+ "defaultType": "Others",
+ "defaultValue": "NULL::timestamp without time zone",
+ "comment": "",
+ "oldName": "updated_timestamp",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -17270,22 +16745,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "ri_score",
- "type": "float8",
- "length": 53,
+ "name": "library_description",
+ "type": "varchar",
+ "length": 2000,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "A Score, derived from the algorithm used. ",
- "oldName": "ri_score",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "library_description",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
@@ -17300,17 +16775,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "ri_detection_method",
+ "name": "keywords",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "A confidence interval or other expression of the type of threshold and the value of a threshold met in order for it to be \"an insight\". Example. \"95% confidence interval\". ",
- "oldName": "ri_detection_method",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "keywords",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -17330,17 +16805,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "library_homepage",
"type": "varchar",
- "length": 0,
+ "length": 1000,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "Standard Augur Metadata",
- "oldName": "tool_source",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "library_homepage",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -17360,17 +16835,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "license",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "Standard Augur Metadata",
- "oldName": "tool_version",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "license",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -17390,22 +16865,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 0,
+ "name": "version_count",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "Standard Augur Metadata",
- "oldName": "data_source",
+ "comment": "",
+ "oldName": "version_count",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
@@ -17420,22 +16895,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 6,
+ "name": "latest_release_timestamp",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
- "comment": "Standard Augur Metadata",
- "oldName": "data_collection_date",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "latest_release_timestamp",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
@@ -17447,133 +16922,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [
- {
- "objectType": "Index_PGSQL",
- "name": "dater",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "dater",
- "oid": 203716,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "repo_insights_records",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "ri_date",
- "collation": "",
- "opClass": "timestamp_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "ri_date",
- "collationSchema": ""
- }
- ]
- }
- ],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "repo_insights_records_pkey",
- "fields": [
- "ri_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "repo_insights_records_pkey"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "repo_id_ref",
- "fields": [
- "repo_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "repo",
- "referenceFields": [
- "repo_id"
- ],
- "onDelete": "SET NULL",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "repo_id_ref"
- }
- ],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "repo_labor",
- "comment": "repo_labor is a derivative of tables used to store scc code and complexity counting statistics that are inputs to labor analysis, which are components of CHAOSS value metric calculations. ",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "repo_labor",
- "oid": 193547,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "repo_labor_id",
- "type": "int8",
- "length": 64,
+ "name": "latest_release_number",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_labor_repo_labor_id_seq'::regclass)",
+ "defaultValue": "NULL::character varying",
"comment": "",
- "oldName": "repo_labor_id",
+ "oldName": "latest_release_number",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -17587,23 +16955,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
- "type": "int8",
- "length": 64,
+ "name": "package_manager_id",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "package_manager_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 2,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -17617,9 +16985,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_clone_date",
- "type": "timestamp",
- "length": 0,
+ "name": "dependency_count",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -17627,13 +16995,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_clone_date",
+ "oldName": "dependency_count",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 3,
+ "ordinalPosition": 15,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -17647,9 +17015,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rl_analysis_date",
- "type": "timestamp",
- "length": 0,
+ "name": "dependent_library_count",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -17657,13 +17025,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "rl_analysis_date",
+ "oldName": "dependent_library_count",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 4,
+ "ordinalPosition": 16,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -17677,7 +17045,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "programming_language",
+ "name": "primary_language",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -17687,13 +17055,13 @@
"defaultType": "Others",
"defaultValue": "NULL::character varying",
"comment": "",
- "oldName": "programming_language",
+ "oldName": "primary_language",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 17,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -17707,23 +17075,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "file_path",
+ "name": "tool_source",
"type": "varchar",
- "length": 500,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "file_path",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 18,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -17737,23 +17105,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "file_name",
+ "name": "tool_version",
"type": "varchar",
"length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "file_name",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 19,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -17767,23 +17135,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "total_lines",
- "type": "int4",
- "length": 32,
+ "name": "data_source",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "total_lines",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 8,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 20,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -17797,9 +17165,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "code_lines",
- "type": "int4",
- "length": 32,
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -17807,13 +17175,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "code_lines",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 9,
+ "ordinalPosition": 21,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -17824,26 +17192,98 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "libraries_pkey",
+ "fields": [
+ "library_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "libraries_pkey"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_libraries_repo_1",
+ "fields": [
+ "repo_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "repo",
+ "referenceFields": [
+ "repo_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_libraries_repo_1"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "library_dependencies",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "library_dependencies",
+ "oid": 15486626,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "comment_lines",
- "type": "int4",
- "length": 32,
+ "name": "lib_dependency_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.library_dependencies_lib_dependency_id_seq'::regclass)",
"comment": "",
- "oldName": "comment_lines",
+ "oldName": "lib_dependency_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 10,
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -17857,9 +17297,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "blank_lines",
- "type": "int4",
- "length": 32,
+ "name": "library_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -17867,13 +17307,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "blank_lines",
+ "oldName": "library_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 11,
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -17887,23 +17327,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "code_complexity",
- "type": "int4",
- "length": 32,
+ "name": "manifest_platform",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
"comment": "",
- "oldName": "code_complexity",
+ "oldName": "manifest_platform",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 12,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -17917,23 +17357,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_url",
+ "name": "manifest_filepath",
"type": "varchar",
- "length": 500,
+ "length": 1000,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "NULL::character varying",
- "comment": "This is a convenience column to simplify analysis against external datasets",
- "oldName": "repo_url",
+ "comment": "",
+ "oldName": "manifest_filepath",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 13,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -17947,23 +17387,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "manifest_kind",
"type": "varchar",
"length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "manifest_kind",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 14,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -17977,23 +17417,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "repo_id_branch",
"type": "varchar",
"length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "repo_id_branch",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 15,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -18007,7 +17447,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
+ "name": "tool_source",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -18017,13 +17457,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 16,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -18037,23 +17477,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "tool_version",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 17,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -18064,34 +17504,129 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "repo_labor_pkey",
- "fields": [
- "repo_labor_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "data_source",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "data_source",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 9,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "data_collection_date",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 10,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ }
+ ],
+ "indexes": [
+ {
+ "objectType": "Index_PGSQL",
+ "name": "REPO_DEP",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "REPO_DEP",
+ "oid": 15486970,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "library_dependencies",
+ "size": "8",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "library_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "library_id",
+ "collationSchema": ""
+ }
+ ]
+ }
+ ],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "library_dependencies_pkey",
+ "fields": [
+ "lib_dependency_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
"isDeferred": false,
- "oldName": "repo_labor_pkey"
+ "oldName": "library_dependencies_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_repo_labor_repo_1",
+ "name": "fk_library_dependencies_libraries_1",
"fields": [
- "repo_id"
+ "library_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "repo",
+ "referenceTable": "libraries",
"referenceFields": [
- "repo_id"
+ "library_id"
],
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
@@ -18101,7 +17636,7 @@
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_repo_labor_repo_1"
+ "oldName": "fk_library_dependencies_libraries_1"
}
],
"uniques": [],
@@ -18113,16 +17648,16 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "repo_meta",
- "comment": "Project Languages",
+ "name": "library_version",
+ "comment": "",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "repo_meta",
- "oid": 193738,
+ "oldName": "library_version",
+ "oid": 15486636,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -18139,17 +17674,17 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
+ "name": "library_version_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.library_version_library_version_id_seq'::regclass)",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "library_version_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -18169,17 +17704,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rmeta_id",
+ "name": "library_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_meta_rmeta_id_seq'::regclass)",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "rmeta_id",
+ "oldName": "library_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -18199,17 +17734,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rmeta_name",
+ "name": "library_platform",
"type": "varchar",
"length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
"comment": "",
- "oldName": "rmeta_name",
+ "oldName": "library_platform",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -18229,7 +17764,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rmeta_value",
+ "name": "version_number",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -18237,9 +17772,9 @@
"collation": "default",
"isNullable": true,
"defaultType": "Others",
- "defaultValue": "0",
+ "defaultValue": "NULL::character varying",
"comment": "",
- "oldName": "rmeta_value",
+ "oldName": "version_number",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -18257,6 +17792,36 @@
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
},
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "version_release_date",
+ "type": "timestamp",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::timestamp without time zone",
+ "comment": "",
+ "oldName": "version_release_date",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 5,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
{
"objectType": "TableField_PGSQL",
"name": "tool_source",
@@ -18275,7 +17840,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -18305,7 +17870,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -18335,7 +17900,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -18365,7 +17930,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 8,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -18382,29 +17947,28 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "repo_meta_pkey",
+ "name": "library_version_pkey",
"fields": [
- "rmeta_id",
- "repo_id"
+ "library_version_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "repo_meta_pkey"
+ "oldName": "library_version_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_repo_meta_repo_1",
+ "name": "fk_library_version_libraries_1",
"fields": [
- "repo_id"
+ "library_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "repo",
+ "referenceTable": "libraries",
"referenceFields": [
- "repo_id"
+ "library_id"
],
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
@@ -18413,8 +17977,8 @@
"isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_repo_meta_repo_1"
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_library_version_libraries_1"
}
],
"uniques": [],
@@ -18426,7 +17990,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "repo_sbom_scans",
+ "name": "lstm_anomaly_models",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -18434,8 +17998,8 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "repo_sbom_scans",
- "oid": 193871,
+ "oldName": "lstm_anomaly_models",
+ "oid": 15488067,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -18452,7 +18016,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "rsb_id",
+ "name": "model_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -18460,9 +18024,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_sbom_scans_rsb_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.lstm_anomaly_models_model_id_seq'::regclass)",
"comment": "",
- "oldName": "rsb_id",
+ "oldName": "model_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -18482,22 +18046,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
- "type": "int4",
- "length": 32,
+ "name": "model_name",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "model_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
@@ -18512,22 +18076,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "sbom_scan",
- "type": "json",
+ "name": "model_description",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "sbom_scan",
+ "oldName": "model_description",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -18539,98 +18103,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "repo_sbom_scans_pkey",
- "fields": [
- "rsb_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "repo_sbom_scans_pkey"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "repo_linker_sbom",
- "fields": [
- "repo_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "repo",
- "referenceFields": [
- "repo_id"
- ],
- "onDelete": "CASCADE",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "repo_linker_sbom"
- }
- ],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "repo_stats",
- "comment": "Project Watchers",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "repo_stats",
- "oid": 193992,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
+ "name": "look_back_days",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "look_back_days",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 1,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -18644,23 +18136,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rstat_id",
+ "name": "training_days",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_stats_rstat_id_seq'::regclass)",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "rstat_id",
+ "oldName": "training_days",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 2,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -18674,23 +18166,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rstat_name",
- "type": "varchar",
- "length": 400,
+ "name": "batch_size",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "rstat_name",
+ "oldName": "batch_size",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 3,
+ "collationSchema": "",
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -18704,23 +18196,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rstat_value",
- "type": "int8",
- "length": 64,
+ "name": "metric",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "rstat_value",
+ "oldName": "metric",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 4,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -18736,7 +18228,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -18750,7 +18242,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -18766,7 +18258,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_version",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -18780,7 +18272,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -18796,7 +18288,7 @@
"objectType": "TableField_PGSQL",
"name": "data_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -18810,7 +18302,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -18826,13 +18318,13 @@
"objectType": "TableField_PGSQL",
"name": "data_collection_date",
"type": "timestamp",
- "length": 0,
+ "length": 6,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
"oldName": "data_collection_date",
"typeOID": 1,
@@ -18840,7 +18332,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 8,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -18857,41 +18349,18 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "repo_stats_pkey",
+ "name": "lstm_anomaly_models_pkey",
"fields": [
- "rstat_id",
- "repo_id"
+ "model_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "repo_stats_pkey"
+ "oldName": "lstm_anomaly_models_pkey"
},
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_repo_stats_repo_1",
- "fields": [
- "repo_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "repo",
- "referenceFields": [
- "repo_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_repo_stats_repo_1"
- }
- ],
+ "foreignKeys": [],
"uniques": [],
"checks": [],
"excludes": [],
@@ -18901,7 +18370,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "repo_test_coverage",
+ "name": "lstm_anomaly_results",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -18909,8 +18378,8 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "repo_test_coverage",
- "oid": 194167,
+ "oldName": "lstm_anomaly_results",
+ "oid": 15488077,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -18927,7 +18396,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
+ "name": "result_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -18935,9 +18404,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_test_coverage_repo_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.lstm_anomaly_results_result_id_seq'::regclass)",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "result_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -18957,9 +18426,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_clone_date",
- "type": "timestamp",
- "length": 0,
+ "name": "repo_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -18967,7 +18436,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_clone_date",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -18987,22 +18456,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rtc_analysis_date",
- "type": "timestamp",
+ "name": "repo_category",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "rtc_analysis_date",
+ "oldName": "repo_category",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -19017,22 +18486,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "programming_language",
- "type": "varchar",
- "length": 0,
+ "name": "model_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "programming_language",
+ "oldName": "model_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
@@ -19047,7 +18516,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "file_path",
+ "name": "metric",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -19057,7 +18526,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "file_path",
+ "oldName": "metric",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -19077,22 +18546,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "file_name",
- "type": "varchar",
- "length": 0,
+ "name": "contamination_factor",
+ "type": "float8",
+ "length": 53,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "file_name",
+ "oldName": "contamination_factor",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
@@ -19107,22 +18576,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "testing_tool",
- "type": "varchar",
- "length": 0,
+ "name": "mean_absolute_error",
+ "type": "float8",
+ "length": 53,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "testing_tool",
+ "oldName": "mean_absolute_error",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
@@ -19137,22 +18606,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "file_statement_count",
- "type": "int8",
- "length": 64,
+ "name": "remarks",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "file_statement_count",
+ "oldName": "remarks",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
@@ -19167,22 +18636,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "file_subroutine_count",
- "type": "int8",
- "length": 64,
+ "name": "metric_field",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "file_subroutine_count",
+ "comment": "This is a listing of all of the endpoint fields included in the generation of the metric. Sometimes there is one, sometimes there is more than one. This will list them all. ",
+ "oldName": "metric_field",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
@@ -19197,9 +18666,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "file_statements_tested",
- "type": "int8",
- "length": 64,
+ "name": "mean_absolute_actual_value",
+ "type": "float8",
+ "length": 53,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -19207,7 +18676,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "file_statements_tested",
+ "oldName": "mean_absolute_actual_value",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -19227,9 +18696,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "file_subroutines_tested",
- "type": "int8",
- "length": 64,
+ "name": "mean_absolute_prediction_value",
+ "type": "float8",
+ "length": 53,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -19237,7 +18706,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "file_subroutines_tested",
+ "oldName": "mean_absolute_prediction_value",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -19349,7 +18818,7 @@
"objectType": "TableField_PGSQL",
"name": "data_collection_date",
"type": "timestamp",
- "length": 0,
+ "length": 6,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -19380,21 +18849,42 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "repo_test_coverage_pkey",
+ "name": "lstm_anomaly_results_pkey",
"fields": [
- "repo_id"
+ "result_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "repo_test_coverage_pkey"
+ "oldName": "lstm_anomaly_results_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_repo_test_coverage_repo_1",
+ "name": "fk_lstm_anomaly_results_lstm_anomaly_models_1",
+ "fields": [
+ "model_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "lstm_anomaly_models",
+ "referenceFields": [
+ "model_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_lstm_anomaly_results_lstm_anomaly_models_1"
+ },
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_lstm_anomaly_results_repo_1",
"fields": [
"repo_id"
],
@@ -19409,9 +18899,9 @@
"isMatchFull": false,
"isDeferrable": false,
"isDeferred": false,
- "sourceCardinality": "ZeroOrOneRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_repo_test_coverage_repo_1"
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_lstm_anomaly_results_repo_1"
}
],
"uniques": [],
@@ -19423,7 +18913,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "repo_topic",
+ "name": "message",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -19431,8 +18921,8 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "repo_topic",
- "oid": 194262,
+ "oldName": "message",
+ "oid": 15486646,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -19449,7 +18939,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "repo_topic_id",
+ "name": "msg_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -19457,9 +18947,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_topic_repo_topic_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.message_msg_id_seq'::regclass)",
"comment": "",
- "oldName": "repo_topic_id",
+ "oldName": "msg_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -19479,9 +18969,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
- "type": "int4",
- "length": 32,
+ "name": "rgls_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -19489,7 +18979,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "rgls_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -19509,22 +18999,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "topic_id",
- "type": "int4",
- "length": 32,
+ "name": "msg_text",
+ "type": "text",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "topic_id",
+ "oldName": "msg_text",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -19539,9 +19029,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "topic_prob",
- "type": "float8",
- "length": 53,
+ "name": "msg_timestamp",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -19549,7 +19039,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "topic_prob",
+ "oldName": "msg_timestamp",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -19567,11 +19057,101 @@
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
},
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "msg_sender_email",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "msg_sender_email",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 5,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "msg_header",
+ "type": "varchar",
+ "length": 4000,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "msg_header",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 6,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pltfrm_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "pltfrm_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 7,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
{
"objectType": "TableField_PGSQL",
"name": "tool_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -19585,7 +19165,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -19601,7 +19181,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -19615,7 +19195,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -19631,7 +19211,7 @@
"objectType": "TableField_PGSQL",
"name": "data_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -19645,7 +19225,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -19675,7 +19255,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 8,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -19686,98 +19266,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "repo_topic_pkey",
- "fields": [
- "repo_topic_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "repo_topic_pkey"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_repo_topic_repo_1",
- "fields": [
- "repo_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "repo",
- "referenceFields": [
- "repo_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_repo_topic_repo_1"
- }
- ],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "repos_fetch_log",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "repos_fetch_log",
- "oid": 194327,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "repos_id",
- "type": "int4",
- "length": 32,
+ "name": "cntrb_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "repos_id",
+ "comment": "Not populated for mailing lists. Populated for GitHub issues. ",
+ "oldName": "cntrb_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 1,
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -19791,23 +19299,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "status",
- "type": "varchar",
- "length": 128,
+ "name": "platform_msg_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": false,
+ "collation": "",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "status",
+ "oldName": "platform_msg_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 2,
+ "collationSchema": "",
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -19821,23 +19329,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "date",
- "type": "timestamp",
+ "name": "platform_node_id",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "date",
+ "oldName": "platform_node_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 3,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -19853,52 +19361,52 @@
"indexes": [
{
"objectType": "Index_PGSQL",
- "name": "repos_id,status",
+ "name": "messagegrouper",
"comment": "",
"isClustered": false,
"isConcurrently": false,
- "isUnique": false,
+ "isUnique": true,
"fastUpdate": "",
"buffering": "",
"fillFactor": -1,
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "repos_id,status",
- "oid": 203942,
+ "oldName": "messagegrouper",
+ "oid": 15486975,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "repos_fetch_log",
+ "tableName": "message",
"size": "8",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "repos_id",
+ "name": "msg_id",
"collation": "",
- "opClass": "int4_ops",
+ "opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "repos_id",
+ "oldName": "msg_id",
"collationSchema": ""
},
{
"objectType": "IndexField_PGSQL",
- "name": "status",
- "collation": "default",
- "opClass": "text_ops",
+ "name": "rgls_id",
+ "collation": "",
+ "opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "status",
- "collationSchema": "pg_catalog"
+ "oldName": "rgls_id",
+ "collationSchema": ""
}
]
},
{
"objectType": "Index_PGSQL",
- "name": "repos_id,statusops",
+ "name": "msg-cntrb-id-idx",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -19909,42 +19417,182 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "repos_id,statusops",
- "oid": 203946,
+ "oldName": "msg-cntrb-id-idx",
+ "oid": 15488145,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "repos_fetch_log",
+ "tableName": "message",
"size": "8",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "repos_id",
+ "name": "cntrb_id",
"collation": "",
- "opClass": "int4_ops",
+ "opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "repos_id",
+ "oldName": "cntrb_id",
+ "collationSchema": ""
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "platformgrouper",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "platformgrouper",
+ "oid": 15486976,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "message",
+ "size": "8",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "msg_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "msg_id",
"collationSchema": ""
},
{
"objectType": "IndexField_PGSQL",
- "name": "status",
- "collation": "default",
- "opClass": "text_ops",
+ "name": "pltfrm_id",
+ "collation": "",
+ "opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "status",
- "collationSchema": "pg_catalog"
+ "oldName": "pltfrm_id",
+ "collationSchema": ""
}
]
}
],
"rules": [],
- "foreignKeys": [],
- "uniques": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "message_pkey",
+ "fields": [
+ "msg_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "message_pkey"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_message_contributors_1",
+ "fields": [
+ "cntrb_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "contributors",
+ "referenceFields": [
+ "cntrb_id"
+ ],
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_message_contributors_1"
+ },
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_message_platform_1",
+ "fields": [
+ "pltfrm_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "platform",
+ "referenceFields": [
+ "pltfrm_id"
+ ],
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_message_platform_1"
+ },
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_message_repo_groups_list_serve_1",
+ "fields": [
+ "rgls_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "repo_groups_list_serve",
+ "referenceFields": [
+ "rgls_id"
+ ],
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_message_repo_groups_list_serve_1"
+ }
+ ],
+ "uniques": [
+ {
+ "objectType": "Unique_PGSQL",
+ "name": "REPOGROUPLISTER",
+ "fields": [
+ "msg_id",
+ "rgls_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "REPOGROUPLISTER"
+ },
+ {
+ "objectType": "Unique_PGSQL",
+ "name": "platformer",
+ "fields": [
+ "msg_id",
+ "pltfrm_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "platformer"
+ }
+ ],
"checks": [],
"excludes": [],
"triggers": [],
@@ -19953,7 +19601,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "settings",
+ "name": "message_analysis",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -19961,9 +19609,9 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "settings",
- "oid": 194386,
- "rows": 13,
+ "oldName": "message_analysis",
+ "oid": 15488001,
+ "rows": 0,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -19979,17 +19627,17 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "id",
- "type": "int4",
- "length": 32,
- "decimals": 0,
+ "name": "msg_analysis_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.message_analysis_msg_analysis_id_seq'::regclass)",
"comment": "",
- "oldName": "id",
+ "oldName": "msg_analysis_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -20009,22 +19657,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "setting",
- "type": "varchar",
- "length": 32,
+ "name": "msg_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": false,
+ "collation": "",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "setting",
+ "oldName": "msg_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
@@ -20039,22 +19687,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "value",
- "type": "varchar",
- "length": 0,
+ "name": "worker_run_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": false,
+ "collation": "",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "value",
+ "comment": "This column is used to indicate analyses run by a worker during the same execution period, and is useful for grouping, and time series analysis. ",
+ "oldName": "worker_run_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -20069,17 +19717,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "last_modified",
- "type": "timestamp",
- "length": 0,
+ "name": "sentiment_score",
+ "type": "float8",
+ "length": 53,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
- "comment": "",
- "oldName": "last_modified",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "A sentiment analysis score. Zero is neutral, negative numbers are negative sentiment, and positive numbers are positive sentiment. ",
+ "oldName": "sentiment_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -20096,106 +19744,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "settings_pkey",
- "fields": [
- "id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "settings_pkey"
- },
- "foreignKeys": [],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "topic_words",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "topic_words",
- "oid": 194532,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
- {
- "objectType": "TableField_PGSQL",
- "name": "topic_words_id",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.topic_words_topic_words_id_seq'::regclass)",
- "comment": "",
- "oldName": "topic_words_id",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
},
{
"objectType": "TableField_PGSQL",
- "name": "topic_id",
- "type": "int8",
- "length": 64,
+ "name": "reconstruction_error",
+ "type": "float8",
+ "length": 53,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "topic_id",
+ "comment": "Each message is converted to a 250 dimensin doc2vec vector, so the reconstruction error is the difference between what the predicted vector and the actual vector.",
+ "oldName": "reconstruction_error",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 2,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -20209,23 +19777,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "word",
- "type": "varchar",
+ "name": "novelty_flag",
+ "type": "bool",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "word",
+ "comment": "This is an analysis of the degree to which the message is novel when compared to other messages in a repository. For example when bots are producing numerous identical messages, the novelty score is low. It would also be a low novelty score when several people are making the same coment. ",
+ "oldName": "novelty_flag",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 3,
+ "collationSchema": "",
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -20239,23 +19807,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "word_prob",
- "type": "float8",
- "length": 53,
+ "name": "feedback_flag",
+ "type": "bool",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "word_prob",
+ "comment": "This exists to provide the user with an opportunity provide feedback on the resulting the sentiment scores. ",
+ "oldName": "feedback_flag",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 4,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -20285,7 +19853,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -20315,7 +19883,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -20345,7 +19913,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -20375,7 +19943,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 8,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -20392,18 +19960,40 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "topic_words_pkey",
+ "name": "message_analysis_pkey",
"fields": [
- "topic_words_id"
+ "msg_analysis_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "topic_words_pkey"
+ "oldName": "message_analysis_pkey"
},
- "foreignKeys": [],
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_message_analysis_message_1",
+ "fields": [
+ "msg_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "message",
+ "referenceFields": [
+ "msg_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_message_analysis_message_1"
+ }
+ ],
"uniques": [],
"checks": [],
"excludes": [],
@@ -20413,16 +20003,16 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "unknown_cache",
- "comment": "",
+ "name": "message_analysis_summary",
+ "comment": "In a relationally perfect world, we would have a table called “message_analysis_run” the incremented the “worker_run_id” for both message_analysis and message_analysis_summary. For now, we decided this was overkill. ",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "unknown_cache",
- "oid": 194612,
+ "oldName": "message_analysis_summary",
+ "oid": 15488013,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -20439,22 +20029,22 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "type",
- "type": "varchar",
- "length": 10,
+ "name": "msg_summary_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.message_analysis_summary_msg_summary_id_seq'::regclass)",
"comment": "",
- "oldName": "type",
+ "oldName": "msg_summary_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
@@ -20469,17 +20059,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_group_id",
- "type": "int4",
- "length": 32,
+ "name": "repo_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_group_id",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -20499,22 +20089,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "email",
- "type": "varchar",
- "length": 128,
+ "name": "worker_run_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": false,
+ "collation": "",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "email",
+ "comment": "This value should reflect the worker_run_id for the messages summarized in the table. There is not a relation between these two tables for that purpose because its not *really*, relationaly a concept unless we create a third table for \"worker_run_id\", which we determined was unnecessarily complex. ",
+ "oldName": "worker_run_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -20529,22 +20119,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "domain",
- "type": "varchar",
- "length": 128,
+ "name": "positive_ratio",
+ "type": "float8",
+ "length": 53,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "'NULL'::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "domain",
+ "oldName": "positive_ratio",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
@@ -20559,17 +20149,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "added",
- "type": "int8",
- "length": 64,
+ "name": "negative_ratio",
+ "type": "float8",
+ "length": 53,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "added",
+ "oldName": "negative_ratio",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -20587,11 +20177,71 @@
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
},
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "novel_count",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "The number of messages identified as novel during the analyzed period",
+ "oldName": "novel_count",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 6,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "period",
+ "type": "timestamp",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "The whole timeline is divided into periods based on the definition of time period for analysis, which is user specified. Timestamp of the first period to look at, until the end of messages at the data of execution. ",
+ "oldName": "period",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 7,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
{
"objectType": "TableField_PGSQL",
"name": "tool_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -20605,7 +20255,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -20621,7 +20271,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_version",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -20635,7 +20285,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -20651,7 +20301,7 @@
"objectType": "TableField_PGSQL",
"name": "data_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -20665,7 +20315,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -20695,7 +20345,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 9,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -20708,55 +20358,44 @@
"isIdentityCycle": false
}
],
- "indexes": [
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "message_analysis_summary_pkey",
+ "fields": [
+ "msg_summary_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "message_analysis_summary_pkey"
+ },
+ "foreignKeys": [
{
- "objectType": "Index_PGSQL",
- "name": "type,projects_id",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "type,projects_id",
- "oid": 203971,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "unknown_cache",
- "size": "8",
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_message_analysis_summary_repo_1",
"fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "type",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "type",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_group_id",
- "collation": "",
- "opClass": "int4_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_group_id",
- "collationSchema": ""
- }
- ]
+ "repo_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "repo",
+ "referenceFields": [
+ "repo_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_message_analysis_summary_repo_1"
}
],
- "rules": [],
- "foreignKeys": [],
"uniques": [],
"checks": [],
"excludes": [],
@@ -20766,7 +20405,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "utility_log",
+ "name": "message_sentiment",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -20774,8 +20413,8 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "utility_log",
- "oid": 194757,
+ "oldName": "message_sentiment",
+ "oid": 15488117,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -20792,7 +20431,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "id",
+ "name": "msg_analysis_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -20800,9 +20439,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.utility_log_id_seq1'::regclass)",
+ "defaultValue": "nextval('augur_data.message_sentiment_msg_analysis_id_seq'::regclass)",
"comment": "",
- "oldName": "id",
+ "oldName": "msg_analysis_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -20822,22 +20461,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "level",
- "type": "varchar",
- "length": 8,
+ "name": "msg_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": false,
+ "collation": "",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "level",
+ "oldName": "msg_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
@@ -20852,22 +20491,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "status",
- "type": "varchar",
- "length": 0,
+ "name": "worker_run_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": false,
+ "collation": "",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "status",
+ "comment": "This column is used to indicate analyses run by a worker during the same execution period, and is useful for grouping, and time series analysis. ",
+ "oldName": "worker_run_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -20882,17 +20521,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "attempted",
- "type": "timestamp",
- "length": 0,
+ "name": "sentiment_score",
+ "type": "float8",
+ "length": 53,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
- "comment": "",
- "oldName": "attempted",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "A sentiment analysis score. Zero is neutral, negative numbers are negative sentiment, and positive numbers are positive sentiment. ",
+ "oldName": "sentiment_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -20909,76 +20548,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "utility_log_pkey",
- "fields": [
- "id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "utility_log_pkey"
- },
- "foreignKeys": [],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "working_commits",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "working_commits",
- "oid": 194888,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "repos_id",
- "type": "int4",
- "length": 32,
+ "name": "reconstruction_error",
+ "type": "float8",
+ "length": 53,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "repos_id",
+ "comment": "Each message is converted to a 250 dimensin doc2vec vector, so the reconstruction error is the difference between what the predicted vector and the actual vector.",
+ "oldName": "reconstruction_error",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 1,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -20992,23 +20581,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "working_commit",
- "type": "varchar",
- "length": 40,
+ "name": "novelty_flag",
+ "type": "bool",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "'NULL'::character varying",
- "comment": "",
- "oldName": "working_commit",
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "This is an analysis of the degree to which the message is novel when compared to other messages in a repository. For example when bots are producing numerous identical messages, the novelty score is low. It would also be a low novelty score when several people are making the same coment. ",
+ "oldName": "novelty_flag",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 2,
+ "collationSchema": "",
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21019,63 +20608,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "foreignKeys": [],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "pull_request_reviews",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "pull_request_reviews",
- "oid": 191281,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_id",
- "type": "int8",
- "length": 64,
+ "name": "feedback_flag",
+ "type": "bool",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.pull_request_reviews_pr_review_id_seq'::regclass)",
- "comment": "",
- "oldName": "pr_review_id",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "This exists to provide the user with an opportunity provide feedback on the resulting the sentiment scores. ",
+ "oldName": "feedback_flag",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 1,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21089,23 +20641,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pull_request_id",
- "type": "int8",
- "length": 64,
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pull_request_id",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 2,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21119,23 +20671,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_id",
- "type": "int8",
- "length": 64,
+ "name": "tool_version",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cntrb_id",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 3,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21149,7 +20701,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_author_association",
+ "name": "data_source",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -21159,13 +20711,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_author_association",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21179,23 +20731,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_state",
- "type": "varchar",
+ "name": "data_collection_date",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "pr_review_state",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "collationSchema": "",
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21206,26 +20758,98 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "message_sentiment_pkey",
+ "fields": [
+ "msg_analysis_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "message_sentiment_pkey"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_message_sentiment_message_1",
+ "fields": [
+ "msg_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "message",
+ "referenceFields": [
+ "msg_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_message_sentiment_message_1"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "message_sentiment_summary",
+ "comment": "In a relationally perfect world, we would have a table called “message_sentiment_run” the incremented the “worker_run_id” for both message_sentiment and message_sentiment_summary. For now, we decided this was overkill. ",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "message_sentiment_summary",
+ "oid": 15488127,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_body",
- "type": "varchar",
- "length": 0,
+ "name": "msg_summary_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.message_sentiment_summary_msg_summary_id_seq'::regclass)",
"comment": "",
- "oldName": "pr_review_body",
+ "oldName": "msg_summary_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "collationSchema": "",
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21239,9 +20863,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_submitted_at",
- "type": "timestamp",
- "length": 6,
+ "name": "repo_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -21249,13 +20873,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_submitted_at",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 7,
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21269,7 +20893,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_src_id",
+ "name": "worker_run_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -21278,14 +20902,14 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "pr_review_src_id",
+ "comment": "This value should reflect the worker_run_id for the messages summarized in the table. There is not a relation between these two tables for that purpose because its not *really*, relationaly a concept unless we create a third table for \"worker_run_id\", which we determined was unnecessarily complex. ",
+ "oldName": "worker_run_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 8,
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21299,23 +20923,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_node_id",
- "type": "varchar",
- "length": 0,
+ "name": "positive_ratio",
+ "type": "float8",
+ "length": 53,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_node_id",
+ "oldName": "positive_ratio",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "collationSchema": "",
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21329,23 +20953,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_html_url",
- "type": "varchar",
- "length": 0,
+ "name": "negative_ratio",
+ "type": "float8",
+ "length": 53,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_html_url",
+ "oldName": "negative_ratio",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 10,
+ "collationSchema": "",
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21359,23 +20983,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_pull_request_url",
- "type": "varchar",
- "length": 0,
+ "name": "novel_count",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "pr_review_pull_request_url",
+ "comment": "The number of messages identified as novel during the analyzed period",
+ "oldName": "novel_count",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 11,
+ "collationSchema": "",
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21389,23 +21013,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_commit_id",
- "type": "varchar",
+ "name": "period",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "pr_review_commit_id",
+ "comment": "The whole timeline is divided into periods based on the definition of time period for analysis, which is user specified. Timestamp of the first period to look at, until the end of messages at the data of execution. ",
+ "oldName": "period",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 12,
+ "collationSchema": "",
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21435,7 +21059,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 13,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21465,7 +21089,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 14,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21495,7 +21119,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 15,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21525,7 +21149,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 16,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -21542,59 +21166,38 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "pull_request_review_id",
+ "name": "message_sentiment_summary_pkey",
"fields": [
- "pr_review_id"
+ "msg_summary_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "pull_request_review_id"
+ "oldName": "message_sentiment_summary_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_reviews_contributors_1",
- "fields": [
- "cntrb_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "contributors",
- "referenceFields": [
- "cntrb_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_pull_request_reviews_contributors_1"
- },
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_reviews_pull_requests_1",
+ "name": "fk_message_sentiment_summary_repo_1",
"fields": [
- "pull_request_id"
+ "repo_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "pull_requests",
+ "referenceTable": "repo",
"referenceFields": [
- "pull_request_id"
+ "repo_id"
],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
"comment": "",
"isMatchFull": false,
- "isDeferrable": true,
+ "isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_pull_request_reviews_pull_requests_1"
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_message_sentiment_summary_repo_1"
}
],
"uniques": [],
@@ -21606,17 +21209,17 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "pull_request_repo",
- "comment": "This table is for storing information about forks that exist as part of a pull request. Generally we do not want to track these like ordinary repositories. ",
+ "name": "platform",
+ "comment": "",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "pull_request_repo",
- "oid": 190990,
- "rows": 0,
+ "oldName": "platform",
+ "oid": 15486653,
+ "rows": 2,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -21632,7 +21235,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "pr_repo_id",
+ "name": "pltfrm_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -21640,9 +21243,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.pull_request_repo_pr_repo_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.platform_pltfrm_id_seq'::regclass)",
"comment": "",
- "oldName": "pr_repo_id",
+ "oldName": "pltfrm_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -21662,22 +21265,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_repo_meta_id",
- "type": "int8",
- "length": 64,
+ "name": "pltfrm_name",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_repo_meta_id",
+ "oldName": "pltfrm_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
@@ -21692,17 +21295,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_repo_head_or_base",
+ "name": "pltfrm_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "For ease of validation checking, we should determine if the repository referenced is the head or base of the pull request. Each pull request should have one and only one of these, which is not enforcable easily in the database.",
- "oldName": "pr_repo_head_or_base",
+ "comment": "",
+ "oldName": "pltfrm_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -21722,9 +21325,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_repo_id",
- "type": "int8",
- "length": 64,
+ "name": "pltfrm_release_date",
+ "type": "date",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -21732,7 +21335,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_repo_id",
+ "oldName": "pltfrm_release_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -21752,9 +21355,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_node_id",
+ "name": "tool_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -21762,7 +21365,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_node_id",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -21782,9 +21385,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_repo_name",
+ "name": "tool_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -21792,7 +21395,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_repo_name",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -21812,9 +21415,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_repo_full_name",
+ "name": "data_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -21822,7 +21425,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_repo_full_name",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -21842,8 +21445,8 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_repo_private_bool",
- "type": "bool",
+ "name": "data_collection_date",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
@@ -21852,7 +21455,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_repo_private_bool",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -21869,189 +21472,39 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "pr_cntrb_id",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "pr_cntrb_id",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 9,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [
{
- "objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "tool_source",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 10,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "tool_version",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 11,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "data_source",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 12,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
- "comment": "",
- "oldName": "data_collection_date",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 13,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- }
- ],
- "indexes": [
- {
- "objectType": "Index_PGSQL",
- "name": "pr-cntrb-idx-repo",
+ "objectType": "Index_PGSQL",
+ "name": "plat",
"comment": "",
"isClustered": false,
"isConcurrently": false,
- "isUnique": false,
+ "isUnique": true,
"fastUpdate": "",
"buffering": "",
"fillFactor": -1,
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "pr-cntrb-idx-repo",
- "oid": 203793,
+ "oldName": "plat",
+ "oid": 15486983,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "pull_request_repo",
- "size": "8",
+ "tableName": "platform",
+ "size": "16",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "pr_cntrb_id",
+ "name": "pltfrm_id",
"collation": "",
"opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "pr_cntrb_id",
+ "oldName": "pltfrm_id",
"collationSchema": ""
}
]
@@ -22060,61 +21513,18 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "pull_request_repo_pkey",
+ "name": "theplat",
"fields": [
- "pr_repo_id"
+ "pltfrm_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "pull_request_repo_pkey"
+ "oldName": "theplat"
},
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_repo_contributors_1",
- "fields": [
- "pr_cntrb_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "contributors",
- "referenceFields": [
- "cntrb_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pull_request_repo_contributors_1"
- },
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_repo_pull_request_meta_1",
- "fields": [
- "pr_repo_meta_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "pull_request_meta",
- "referenceFields": [
- "pr_repo_meta_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pull_request_repo_pull_request_meta_1"
- }
- ],
+ "foreignKeys": [],
"uniques": [],
"checks": [],
"excludes": [],
@@ -22124,16 +21534,16 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "pull_request_meta",
- "comment": "Pull requests contain referencing metadata. There are a few columns that are discrete. There are also head and base designations for the repo on each side of the pull request. Similar functions exist in GitLab, though the language here is based on GitHub. The JSON Being adapted to as of the development of this schema is here: \"base\": { \"label\": \"chaoss:dev\", \"ref\": \"dev\", \"sha\": \"dc6c6f3947f7dc84ecba3d8bda641ef786e7027d\", \"user\": { \"login\": \"chaoss\", \"id\": 29740296, \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2\", \"avatar_url\": \"https://avatars2.githubusercontent.com/u/29740296?v=4\", \"gravatar_id\": \"\", \"url\": \"https://api.github.com/users/chaoss\", \"html_url\": \"https://github.com/chaoss\", \"followers_url\": \"https://api.github.com/users/chaoss/followers\", \"following_url\": \"https://api.github.com/users/chaoss/following{/other_user}\", \"gists_url\": \"https://api.github.com/users/chaoss/gists{/gist_id}\", \"starred_url\": \"https://api.github.com/users/chaoss/starred{/owner}{/repo}\", \"subscriptions_url\": \"https://api.github.com/users/chaoss/subscriptions\", \"organizations_url\": \"https://api.github.com/users/chaoss/orgs\", \"repos_url\": \"https://api.github.com/users/chaoss/repos\", \"events_url\": \"https://api.github.com/users/chaoss/events{/privacy}\", \"received_events_url\": \"https://api.github.com/users/chaoss/received_events\", \"type\": \"Organization\", \"site_admin\": false }, \"repo\": { \"id\": 78134122, \"node_id\": \"MDEwOlJlcG9zaXRvcnk3ODEzNDEyMg==\", \"name\": \"augur\", \"full_name\": \"chaoss/augur\", \"private\": false, \"owner\": { \"login\": \"chaoss\", \"id\": 29740296, \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2\", \"avatar_url\": \"https://avatars2.githubusercontent.com/u/29740296?v=4\", \"gravatar_id\": \"\", \"url\": \"https://api.github.com/users/chaoss\", \"html_url\": \"https://github.com/chaoss\", \"followers_url\": \"https://api.github.com/users/chaoss/followers\", \"following_url\": \"https://api.github.com/users/chaoss/following{/other_user}\", \"gists_url\": \"https://api.github.com/users/chaoss/gists{/gist_id}\", \"starred_url\": \"https://api.github.com/users/chaoss/starred{/owner}{/repo}\", \"subscriptions_url\": \"https://api.github.com/users/chaoss/subscriptions\", \"organizations_url\": \"https://api.github.com/users/chaoss/orgs\", \"repos_url\": \"https://api.github.com/users/chaoss/repos\", \"events_url\": \"https://api.github.com/users/chaoss/events{/privacy}\", \"received_events_url\": \"https://api.github.com/users/chaoss/received_events\", \"type\": \"Organization\", \"site_admin\": false }, ",
+ "name": "pull_request_analysis",
+ "comment": "",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "pull_request_meta",
- "oid": 190880,
+ "oldName": "pull_request_analysis",
+ "oid": 15488239,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -22150,7 +21560,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "pr_repo_meta_id",
+ "name": "pull_request_analysis_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -22158,9 +21568,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.pull_request_meta_pr_repo_meta_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.pull_request_analysis_pull_request_analysis_id_seq'::regclass)",
"comment": "",
- "oldName": "pr_repo_meta_id",
+ "oldName": "pull_request_analysis_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -22189,7 +21599,7 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
+ "comment": "It would be better if the pull request worker is run first to fetch the latest PRs before analyzing",
"oldName": "pull_request_id",
"typeOID": 1,
"fieldObjectType": "",
@@ -22210,22 +21620,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_head_or_base",
- "type": "varchar",
- "length": 0,
- "decimals": 0,
+ "name": "merge_probability",
+ "type": "numeric",
+ "length": 256,
+ "decimals": 250,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "Each pull request should have one and only one head record; and one and only one base record. ",
- "oldName": "pr_head_or_base",
+ "comment": "Indicates the probability of the PR being merged",
+ "oldName": "merge_probability",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -22240,7 +21650,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_meta_label",
+ "name": "mechanism",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -22249,8 +21659,8 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "This is a representation of the repo:branch information in the pull request. Head is issueing the pull request and base is taking the pull request. For example: (We do not store all of this)\n\n \"head\": {\n \"label\": \"chaoss:pull-request-worker\",\n \"ref\": \"pull-request-worker\",\n \"sha\": \"6b380c3d6d625616f79d702612ebab6d204614f2\",\n \"user\": {\n \"login\": \"chaoss\",\n \"id\": 29740296,\n \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2\",\n \"avatar_url\": \"https://avatars2.githubusercontent.com/u/29740296?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/chaoss\",\n \"html_url\": \"https://github.com/chaoss\",\n \"followers_url\": \"https://api.github.com/users/chaoss/followers\",\n \"following_url\": \"https://api.github.com/users/chaoss/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/chaoss/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/chaoss/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/chaoss/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/chaoss/orgs\",\n \"repos_url\": \"https://api.github.com/users/chaoss/repos\",\n \"events_url\": \"https://api.github.com/users/chaoss/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/chaoss/received_events\",\n \"type\": \"Organization\",\n \"site_admin\": false\n },\n \"repo\": {\n \"id\": 78134122,\n \"node_id\": \"MDEwOlJlcG9zaXRvcnk3ODEzNDEyMg==\",\n \"name\": \"augur\",\n \"full_name\": \"chaoss/augur\",\n \"private\": false,\n \"owner\": {\n \"login\": \"chaoss\",\n \"id\": 29740296,\n \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2\",\n \"avatar_url\": \"https://avatars2.githubusercontent.com/u/29740296?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/chaoss\",\n \"html_url\": \"https://github.com/chaoss\",\n \"followers_url\": \"https://api.github.com/users/chaoss/followers\",\n \"following_url\": \"https://api.github.com/users/chaoss/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/chaoss/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/chaoss/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/chaoss/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/chaoss/orgs\",\n \"repos_url\": \"https://api.github.com/users/chaoss/repos\",\n \"events_url\": \"https://api.github.com/users/chaoss/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/chaoss/received_events\",\n \"type\": \"Organization\",\n \"site_admin\": false\n },\n \"html_url\": \"https://github.com/chaoss/augur\",\n \"description\": \"Python library and web service for Open Source Software Health and Sustainability metrics & data collection.\",\n \"fork\": false,\n \"url\": \"https://api.github.com/repos/chaoss/augur\",\n \"forks_url\": \"https://api.github.com/repos/chaoss/augur/forks\",\n \"keys_url\": \"https://api.github.com/repos/chaoss/augur/keys{/key_id}\",\n \"collaborators_url\": \"https://api.github.com/repos/chaoss/augur/collaborators{/collaborator}\",\n \"teams_url\": \"https://api.github.com/repos/chaoss/augur/teams\",\n \"hooks_url\": \"https://api.github.com/repos/chaoss/augur/hooks\",\n \"issue_events_url\": \"https://api.github.com/repos/chaoss/augur/issues/events{/number}\",\n \"events_url\": \"https://api.github.com/repos/chaoss/augur/events\",\n \"assignees_url\": \"https://api.github.com/repos/chaoss/augur/assignees{/user}\",\n \"branches_url\": \"https://api.github.com/repos/chaoss/augur/branches{/branch}\",\n \"tags_url\": \"https://api.github.com/repos/chaoss/augur/tags\",\n \"blobs_url\": \"https://api.github.com/repos/chaoss/augur/git/blobs{/sha}\",\n \"git_tags_url\": \"https://api.github.com/repos/chaoss/augur/git/tags{/sha}\",\n \"git_refs_url\": \"https://api.github.com/repos/chaoss/augur/git/refs{/sha}\",\n \"trees_url\": \"https://api.github.com/repos/chaoss/augur/git/trees{/sha}\",\n \"statuses_url\": \"https://api.github.com/repos/chaoss/augur/statuses/{sha}\",\n \"languages_url\": \"https://api.github.com/repos/chaoss/augur/languages\",\n \"stargazers_url\": \"https://api.github.com/repos/chaoss/augur/stargazers\",\n \"contributors_url\": \"https://api.github.com/repos/chaoss/augur/contributors\",\n \"subscribers_url\": \"https://api.github.com/repos/chaoss/augur/subscribers\",\n \"subscription_url\": \"https://api.github.com/repos/chaoss/augur/subscription\",\n \"commits_url\": \"https://api.github.com/repos/chaoss/augur/commits{/sha}\",\n \"git_commits_url\": \"https://api.github.com/repos/chaoss/augur/git/commits{/sha}\",\n \"comments_url\": \"https://api.github.com/repos/chaoss/augur/comments{/number}\",\n \"issue_comment_url\": \"https://api.github.com/repos/chaoss/augur/issues/comments{/number}\",\n \"contents_url\": \"https://api.github.com/repos/chaoss/augur/contents/{+path}\",\n \"compare_url\": \"https://api.github.com/repos/chaoss/augur/compare/{base}...{head}\",\n \"merges_url\": \"https://api.github.com/repos/chaoss/augur/merges\",\n \"archive_url\": \"https://api.github.com/repos/chaoss/augur/{archive_format}{/ref}\",\n \"downloads_url\": \"https://api.github.com/repos/chaoss/augur/downloads\",\n \"issues_url\": \"https://api.github.com/repos/chaoss/augur/issues{/number}\",\n \"pulls_url\": \"https://api.github.com/repos/chaoss/augur/pulls{/number}\",\n \"milestones_url\": \"https://api.github.com/repos/chaoss/augur/milestones{/number}\",\n \"notifications_url\": \"https://api.github.com/repos/chaoss/augur/notifications{?since,all,participating}\",\n \"labels_url\": \"https://api.github.com/repos/chaoss/augur/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/chaoss/augur/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/chaoss/augur/deployments\",\n \"created_at\": \"2017-01-05T17:34:54Z\",\n \"updated_at\": \"2019-11-15T00:56:12Z\",\n \"pushed_at\": \"2019-12-02T06:27:26Z\",\n \"git_url\": \"git://github.com/chaoss/augur.git\",\n \"ssh_url\": \"git@github.com:chaoss/augur.git\",\n \"clone_url\": \"https://github.com/chaoss/augur.git\",\n \"svn_url\": \"https://github.com/chaoss/augur\",\n \"homepage\": \"http://augur.osshealth.io/\",\n \"size\": 82004,\n \"stargazers_count\": 153,\n \"watchers_count\": 153,\n \"language\": \"Python\",\n \"has_issues\": true,\n \"has_projects\": false,\n \"has_downloads\": true,\n \"has_wiki\": false,\n \"has_pages\": true,\n \"forks_count\": 205,\n \"mirror_url\": null,\n \"archived\": false,\n \"disabled\": false,\n \"open_issues_count\": 14,\n \"license\": {\n \"key\": \"mit\",\n \"name\": \"MIT License\",\n \"spdx_id\": \"MIT\",\n \"url\": \"https://api.github.com/licenses/mit\",\n \"node_id\": \"MDc6TGljZW5zZTEz\"\n },\n \"forks\": 205,\n \"open_issues\": 14,\n \"watchers\": 153,\n \"default_branch\": \"master\"\n }\n },\n \"base\": {\n \"label\": \"chaoss:dev\",\n \"ref\": \"dev\",\n \"sha\": \"bfd2d34b51659613dd842cf83c3873f7699c2a0e\",\n \"user\": {\n \"login\": \"chaoss\",\n \"id\": 29740296,\n \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2\",\n \"avatar_url\": \"https://avatars2.githubusercontent.com/u/29740296?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/chaoss\",\n \"html_url\": \"https://github.com/chaoss\",\n \"followers_url\": \"https://api.github.com/users/chaoss/followers\",\n \"following_url\": \"https://api.github.com/users/chaoss/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/chaoss/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/chaoss/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/chaoss/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/chaoss/orgs\",\n \"repos_url\": \"https://api.github.com/users/chaoss/repos\",\n \"events_url\": \"https://api.github.com/users/chaoss/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/chaoss/received_events\",\n \"type\": \"Organization\",\n \"site_admin\": false\n },\n \"repo\": {\n \"id\": 78134122,\n \"node_id\": \"MDEwOlJlcG9zaXRvcnk3ODEzNDEyMg==\",\n \"name\": \"augur\",\n \"full_name\": \"chaoss/augur\",\n \"private\": false,\n \"owner\": {\n \"login\": \"chaoss\",\n \"id\": 29740296,\n \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2\",\n \"avatar_url\": \"https://avatars2.githubusercontent.com/u/29740296?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/chaoss\",\n \"html_url\": \"https://github.com/chaoss\",\n \"followers_url\": \"https://api.github.com/users/chaoss/followers\",\n \"following_url\": \"https://api.github.com/users/chaoss/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/chaoss/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/chaoss/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/chaoss/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/chaoss/orgs\",\n \"repos_url\": \"https://api.github.com/users/chaoss/repos\",\n \"events_url\": \"https://api.github.com/users/chaoss/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/chaoss/received_events\",\n \"type\": \"Organization\",\n \"site_admin\": false\n },\n",
- "oldName": "pr_src_meta_label",
+ "comment": "the ML model used for prediction (It is XGBoost Classifier at present)",
+ "oldName": "mechanism",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -22268,101 +21678,11 @@
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
},
- {
- "objectType": "TableField_PGSQL",
- "name": "pr_src_meta_ref",
- "type": "varchar",
- "length": 0,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "pr_src_meta_ref",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 5,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "pr_sha",
- "type": "varchar",
- "length": 0,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "pr_sha",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 6,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "cntrb_id",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "cntrb_id",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 7,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
{
"objectType": "TableField_PGSQL",
"name": "tool_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -22376,7 +21696,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -22392,7 +21712,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_version",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -22406,7 +21726,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -22422,7 +21742,7 @@
"objectType": "TableField_PGSQL",
"name": "data_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -22436,7 +21756,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 10,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -22451,12 +21771,12 @@
{
"objectType": "TableField_PGSQL",
"name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "type": "timestamptz",
+ "length": 6,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "Others",
"defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
@@ -22466,7 +21786,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 11,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -22482,7 +21802,7 @@
"indexes": [
{
"objectType": "Index_PGSQL",
- "name": "pr_meta-cntrbid-idx",
+ "name": "pr_anal_idx",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -22493,23 +21813,57 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "pr_meta-cntrbid-idx",
- "oid": 203818,
+ "oldName": "pr_anal_idx",
+ "oid": 15488255,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "pull_request_meta",
+ "tableName": "pull_request_analysis",
"size": "8",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "cntrb_id",
+ "name": "pull_request_id",
"collation": "",
"opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "cntrb_id",
+ "oldName": "pull_request_id",
+ "collationSchema": ""
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "probability_idx",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "probability_idx",
+ "oid": 15488452,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "pull_request_analysis",
+ "size": "8",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "merge_probability",
+ "collation": "",
+ "opClass": "numeric_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "DESC",
+ "nullSort": "NULLS LAST",
+ "oldName": "merge_probability",
"collationSchema": ""
}
]
@@ -22518,42 +21872,21 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "pull_request_meta_pkey",
+ "name": "pull_request_analysis_pkey",
"fields": [
- "pr_repo_meta_id"
+ "pull_request_analysis_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "pull_request_meta_pkey"
+ "oldName": "pull_request_analysis_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_meta_contributors_2",
- "fields": [
- "cntrb_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "contributors",
- "referenceFields": [
- "cntrb_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pull_request_meta_contributors_2"
- },
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_meta_pull_requests_1",
+ "name": "fk_pull_request_analysis_pull_requests_1",
"fields": [
"pull_request_id"
],
@@ -22562,15 +21895,15 @@
"referenceFields": [
"pull_request_id"
],
- "onDelete": "RESTRICT",
+ "onDelete": "CASCADE",
"onUpdate": "CASCADE",
"comment": "",
"isMatchFull": false,
- "isDeferrable": true,
+ "isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pull_request_meta_pull_requests_1"
+ "oldName": "fk_pull_request_analysis_pull_requests_1"
}
],
"uniques": [],
@@ -22582,7 +21915,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "pull_request_events",
+ "name": "pull_request_assignees",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -22590,8 +21923,8 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "pull_request_events",
- "oid": 190583,
+ "oldName": "pull_request_assignees",
+ "oid": 15486660,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -22608,7 +21941,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "pr_event_id",
+ "name": "pr_assignee_map_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -22616,9 +21949,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.pull_request_events_pr_event_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.pull_request_assignees_pr_assignee_map_id_seq'::regclass)",
"comment": "",
- "oldName": "pr_event_id",
+ "oldName": "pr_assignee_map_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -22644,7 +21977,7 @@
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
@@ -22668,17 +22001,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_id",
+ "name": "contrib_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cntrb_id",
+ "oldName": "contrib_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -22698,17 +22031,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "action",
+ "name": "tool_source",
"type": "varchar",
"length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "action",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -22728,9 +22061,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "action_commit_hash",
+ "name": "tool_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -22738,7 +22071,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "action_commit_hash",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -22758,22 +22091,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "created_at",
- "type": "timestamp",
- "length": 0,
+ "name": "data_source",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "created_at",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
@@ -22788,17 +22121,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issue_event_src_id",
- "type": "int8",
- "length": 64,
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "This ID comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue events API",
- "oldName": "issue_event_src_id",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
+ "comment": "",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -22818,22 +22151,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "node_id",
- "type": "varchar",
- "length": 0,
+ "name": "pr_assignee_src_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "This should be renamed to issue_event_src_node_id, as its the varchar identifier in GitHub and likely common in other sources as well. However, since it was created before we came to this naming standard and workers are built around it, we have it simply named as node_id. Anywhere you see node_id in the schema, it comes from GitHubs terminology.",
- "oldName": "node_id",
+ "comment": "",
+ "oldName": "pr_assignee_src_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
@@ -22845,196 +22178,12 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [
{
- "objectType": "TableField_PGSQL",
- "name": "node_url",
- "type": "varchar",
- "length": 0,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "node_url",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 9,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "tool_source",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 10,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "tool_version",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 11,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "data_source",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 12,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
- "comment": "",
- "oldName": "data_collection_date",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 13,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- }
- ],
- "indexes": [
- {
- "objectType": "Index_PGSQL",
- "name": "pr_events_ibfk_1",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "pr_events_ibfk_1",
- "oid": 203813,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "pull_request_events",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "pull_request_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "pull_request_id",
- "collationSchema": ""
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "pr_events_ibfk_2",
+ "objectType": "Index_PGSQL",
+ "name": "pr_meta_cntrb-idx",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -23045,23 +22194,23 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "pr_events_ibfk_2",
- "oid": 203817,
+ "oldName": "pr_meta_cntrb-idx",
+ "oid": 15488147,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "pull_request_events",
+ "tableName": "pull_request_assignees",
"size": "8",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "cntrb_id",
+ "name": "contrib_id",
"collation": "",
"opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "cntrb_id",
+ "oldName": "contrib_id",
"collationSchema": ""
}
]
@@ -23070,42 +22219,42 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "pr_events_pkey",
+ "name": "pull_request_assignees_pkey",
"fields": [
- "pr_event_id"
+ "pr_assignee_map_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "pr_events_pkey"
+ "oldName": "pull_request_assignees_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_events_contributors_1",
+ "name": "fk_pull_request_assignees_contributors_1",
"fields": [
- "cntrb_id"
+ "contrib_id"
],
"referenceSchema": "augur_data",
"referenceTable": "contributors",
"referenceFields": [
"cntrb_id"
],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
"comment": "",
"isMatchFull": false,
- "isDeferrable": true,
+ "isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_pull_request_events_contributors_1"
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_pull_request_assignees_contributors_1"
},
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_events_pull_requests_1",
+ "name": "fk_pull_request_assignees_pull_requests_1",
"fields": [
"pull_request_id"
],
@@ -23114,15 +22263,15 @@
"referenceFields": [
"pull_request_id"
],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
"comment": "",
"isMatchFull": false,
- "isDeferrable": true,
+ "isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_pull_request_events_pull_requests_1"
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_pull_request_assignees_pull_requests_1"
}
],
"uniques": [],
@@ -23134,17 +22283,17 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "pull_requests",
- "comment": "",
+ "name": "pull_request_commits",
+ "comment": "Pull request commits are an enumeration of each commit associated with a pull request. \nNot all pull requests are from a branch or fork into master. \nThe commits table intends to count only commits that end up in the master branch (i.e., part of the deployed code base for a project).\nTherefore, there will be commit “SHA”’s in this table that are no associated with a commit SHA in the commits table. \nIn cases where the PR is to the master branch of a project, you will find a match. In cases where the PR does not involve the master branch, you will not find a corresponding commit SHA in the commits table. This is expected. ",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "pull_requests",
- "oid": 191527,
- "rows": 0,
+ "oldName": "pull_request_commits",
+ "oid": 15487903,
+ "rows": 23068,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -23160,7 +22309,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "pull_request_id",
+ "name": "pr_cmt_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -23168,9 +22317,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.pull_requests_pull_request_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.pull_request_commits_pr_cmt_id_seq'::regclass)",
"comment": "",
- "oldName": "pull_request_id",
+ "oldName": "pr_cmt_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -23190,22 +22339,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_url",
- "type": "varchar",
- "length": 0,
+ "name": "pull_request_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_url",
+ "oldName": "pull_request_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
@@ -23220,22 +22369,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_id",
- "type": "int8",
- "length": 64,
+ "name": "pr_cmt_sha",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "The pr_src_id is unique across all of github.",
- "oldName": "pr_src_id",
+ "comment": "This is the commit SHA for a pull request commit. If the PR is not to the master branch of the main repository (or, in rare cases, from it), then you will NOT find a corresponding commit SHA in the commit table. (see table comment for further explanation). ",
+ "oldName": "pr_cmt_sha",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -23250,7 +22399,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_node_id",
+ "name": "pr_cmt_node_id",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -23260,7 +22409,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_node_id",
+ "oldName": "pr_cmt_node_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -23280,7 +22429,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_html_url",
+ "name": "pr_cmt_message",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -23290,7 +22439,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_html_url",
+ "oldName": "pr_cmt_message",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -23310,22 +22459,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_diff_url",
- "type": "varchar",
+ "name": "pr_cmt_comments_url",
+ "type": "varbit",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_diff_url",
+ "oldName": "pr_cmt_comments_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
@@ -23340,7 +22489,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_patch_url",
+ "name": "tool_source",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -23350,7 +22499,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_patch_url",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -23370,7 +22519,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_issue_url",
+ "name": "tool_version",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -23380,7 +22529,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_issue_url",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -23400,22 +22549,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_augur_issue_id",
- "type": "int8",
- "length": 64,
+ "name": "data_source",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "This is to link to the augur stored related issue",
- "oldName": "pr_augur_issue_id",
+ "comment": "",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
@@ -23430,17 +22579,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_number",
- "type": "int8",
- "length": 64,
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "The pr_src_number is unique within a repository.",
- "oldName": "pr_src_number",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
+ "comment": "",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -23460,22 +22609,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_state",
- "type": "varchar",
- "length": 0,
+ "name": "pr_cmt_author_cntrb_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_state",
+ "oldName": "pr_cmt_author_cntrb_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
@@ -23490,8 +22639,8 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_locked",
- "type": "bool",
+ "name": "pr_cmt_timestamp",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
@@ -23500,7 +22649,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_locked",
+ "oldName": "pr_cmt_timestamp",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -23520,7 +22669,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_title",
+ "name": "pr_cmt_author_email",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -23530,7 +22679,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_title",
+ "oldName": "pr_cmt_author_email",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -23547,26 +22696,119 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "pull_request_commits_pkey",
+ "fields": [
+ "pr_cmt_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "pull_request_commits_pkey"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_pr_commit_cntrb_id",
+ "fields": [
+ "pr_cmt_author_cntrb_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "contributors",
+ "referenceFields": [
+ "cntrb_id"
+ ],
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_pr_commit_cntrb_id"
},
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_pull_request_commits_pull_requests_1",
+ "fields": [
+ "pull_request_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "pull_requests",
+ "referenceFields": [
+ "pull_request_id"
+ ],
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_pull_request_commits_pull_requests_1"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "pull_request_events",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "pull_request_events",
+ "oid": 15486668,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "pr_augur_contributor_id",
+ "name": "pr_event_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "This is to link to the augur contributor record. ",
- "oldName": "pr_augur_contributor_id",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.pull_request_events_pr_event_id_seq'::regclass)",
+ "comment": "",
+ "oldName": "pr_event_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 14,
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -23580,23 +22822,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_body",
- "type": "text",
- "length": 0,
+ "name": "pull_request_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_body",
+ "oldName": "pull_request_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 15,
+ "collationSchema": "",
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -23610,23 +22852,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_created_at",
- "type": "timestamp",
- "length": 0,
+ "name": "cntrb_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_created_at",
+ "oldName": "cntrb_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 16,
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -23640,23 +22882,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_updated_at",
- "type": "timestamp",
- "length": 0,
+ "name": "action",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": true,
+ "collation": "default",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_updated_at",
+ "oldName": "action",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 17,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -23670,23 +22912,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_closed_at",
- "type": "timestamp",
+ "name": "action_commit_hash",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_closed_at",
+ "oldName": "action_commit_hash",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 18,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -23700,23 +22942,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_merged_at",
+ "name": "created_at",
"type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "pr_merged_at",
+ "oldName": "created_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 19,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -23730,23 +22972,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_merge_commit_sha",
- "type": "varchar",
- "length": 0,
+ "name": "issue_event_src_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "pr_merge_commit_sha",
+ "comment": "This ID comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue events API",
+ "oldName": "issue_event_src_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 20,
+ "collationSchema": "",
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -23760,23 +23002,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_teams",
- "type": "int8",
- "length": 64,
+ "name": "node_id",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "One to many with pull request teams. ",
- "oldName": "pr_teams",
- "typeOID": 1,
+ "comment": "This should be renamed to issue_event_src_node_id, as its the varchar identifier in GitHub and likely common in other sources as well. However, since it was created before we came to this naming standard and workers are built around it, we have it simply named as node_id. Anywhere you see node_id in the schema, it comes from GitHubs terminology.",
+ "oldName": "node_id",
+ "typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 21,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -23790,7 +23032,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_milestone",
+ "name": "node_url",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -23800,13 +23042,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_milestone",
+ "oldName": "node_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 22,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -23815,14 +23057,14 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": 0,
"isIdentityCycle": false
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_commits_url",
+ "name": "tool_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -23830,13 +23072,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_commits_url",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 23,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -23850,9 +23092,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_comments_url",
+ "name": "tool_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -23860,13 +23102,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_review_comments_url",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 24,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -23880,23 +23122,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_review_comment_url",
+ "name": "data_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "This is a field with limited utility. It does expose how to access a specific comment if needed with parameters. If the source changes URL structure, it may be useful",
- "oldName": "pr_review_comment_url",
+ "comment": "",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 25,
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -23910,23 +23152,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_comments_url",
- "type": "varchar",
+ "name": "data_collection_date",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "pr_comments_url",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 26,
+ "collationSchema": "",
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -23937,26 +23179,188 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
+ }
+ ],
+ "indexes": [
+ {
+ "objectType": "Index_PGSQL",
+ "name": "pr_events_ibfk_1",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "pr_events_ibfk_1",
+ "oid": 15486988,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "pull_request_events",
+ "size": "8",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "pull_request_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "pull_request_id",
+ "collationSchema": ""
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "pr_events_ibfk_2",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "pr_events_ibfk_2",
+ "oid": 15486989,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "pull_request_events",
+ "size": "8",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "cntrb_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "cntrb_id",
+ "collationSchema": ""
+ }
+ ]
+ }
+ ],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "pr_events_pkey",
+ "fields": [
+ "pr_event_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "pr_events_pkey"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_pull_request_events_contributors_1",
+ "fields": [
+ "cntrb_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "contributors",
+ "referenceFields": [
+ "cntrb_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_pull_request_events_contributors_1"
},
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_pull_request_events_pull_requests_1",
+ "fields": [
+ "pull_request_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "pull_requests",
+ "referenceFields": [
+ "pull_request_id"
+ ],
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_pull_request_events_pull_requests_1"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "pull_request_files",
+ "comment": "Pull request commits are an enumeration of each commit associated with a pull request. \nNot all pull requests are from a branch or fork into master. \nThe commits table intends to count only commits that end up in the master branch (i.e., part of the deployed code base for a project).\nTherefore, there will be commit “SHA”’s in this table that are no associated with a commit SHA in the commits table. \nIn cases where the PR is to the master branch of a project, you will find a match. In cases where the PR does not involve the master branch, you will not find a corresponding commit SHA in the commits table. This is expected. ",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "pull_request_files",
+ "oid": 15487944,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "pr_statuses_url",
- "type": "varchar",
- "length": 0,
+ "name": "pull_request_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_statuses_url",
+ "oldName": "pull_request_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 27,
+ "collationSchema": "",
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -23970,7 +23374,37 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_meta_head_id",
+ "name": "pr_file_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.pull_request_files_pr_file_id_seq'::regclass)",
+ "comment": "",
+ "oldName": "pr_file_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 2,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_file_additions",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -23979,14 +23413,14 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "The metadata for the head repo that links to the pull_request_meta table. ",
- "oldName": "pr_meta_head_id",
+ "comment": "",
+ "oldName": "pr_file_additions",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 28,
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -24000,7 +23434,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_meta_base_id",
+ "name": "pr_file_deletions",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -24009,14 +23443,14 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "The metadata for the base repo that links to the pull_request_meta table. ",
- "oldName": "pr_meta_base_id",
+ "comment": "",
+ "oldName": "pr_file_deletions",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 29,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -24030,7 +23464,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_issue_url",
+ "name": "pr_file_path",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -24040,13 +23474,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_issue_url",
+ "oldName": "pr_file_path",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 30,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -24060,7 +23494,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_comments_url",
+ "name": "tool_source",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -24070,13 +23504,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_comments_url",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 31,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -24090,7 +23524,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_review_comments_url",
+ "name": "tool_version",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -24100,13 +23534,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_review_comments_url",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 32,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -24120,7 +23554,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_commits_url",
+ "name": "data_source",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -24130,13 +23564,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_commits_url",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 33,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -24150,23 +23584,155 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_statuses_url",
- "type": "varchar",
+ "name": "data_collection_date",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
+ "comment": "",
+ "oldName": "data_collection_date",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 9,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "pull_request_files_pkey",
+ "fields": [
+ "pr_file_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "pull_request_files_pkey"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_pull_request_commits_pull_requests_1",
+ "fields": [
+ "pull_request_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "pull_requests",
+ "referenceFields": [
+ "pull_request_id"
+ ],
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_pull_request_commits_pull_requests_1"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "pull_request_labels",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "pull_request_labels",
+ "oid": 15486677,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_label_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.pull_request_labels_pr_label_id_seq'::regclass)",
+ "comment": "",
+ "oldName": "pr_label_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 1,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pull_request_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_statuses_url",
+ "oldName": "pull_request_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 34,
+ "collationSchema": "",
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -24180,23 +23746,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_src_author_association",
- "type": "varchar",
- "length": 0,
+ "name": "pr_src_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_src_author_association",
+ "oldName": "pr_src_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 35,
+ "collationSchema": "",
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -24210,9 +23776,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "pr_src_node_id",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -24220,13 +23786,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "pr_src_node_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 36,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -24240,9 +23806,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "pr_src_url",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -24250,13 +23816,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "pr_src_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 37,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -24270,9 +23836,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
+ "name": "pr_src_description",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -24280,13 +23846,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "pr_src_description",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 38,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -24300,23 +23866,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
+ "name": "pr_src_color",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "pr_src_color",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 39,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -24330,23 +23896,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
- "type": "int8",
- "length": 64,
+ "name": "pr_src_default_bool",
+ "type": "bool",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "0",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "pr_src_default_bool",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 40,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -24357,156 +23923,164 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [
+ },
{
- "objectType": "Index_PGSQL",
- "name": "id_node",
+ "objectType": "TableField_PGSQL",
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "id_node",
- "oid": 203718,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "pull_requests",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "pr_src_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "DESC",
- "nullSort": "NULLS FIRST",
- "oldName": "pr_src_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "pr_src_node_id",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "DESC",
- "nullSort": "NULLS LAST",
- "oldName": "pr_src_node_id",
- "collationSchema": "pg_catalog"
- }
- ]
+ "oldName": "tool_source",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 9,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "pull_requests_idx_repo_id_data_datex",
+ "objectType": "TableField_PGSQL",
+ "name": "tool_version",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "pull_requests_idx_repo_id_data_datex",
- "oid": 203870,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "pull_requests",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "data_collection_date",
- "collation": "",
- "opClass": "timestamp_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "data_collection_date",
- "collationSchema": ""
- }
- ]
+ "oldName": "tool_version",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 10,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "data_source",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "data_source",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 11,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
+ "comment": "",
+ "oldName": "data_collection_date",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 12,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
}
],
+ "indexes": [],
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "pull_requests_pkey",
+ "name": "pull_request_labels_pkey",
"fields": [
- "pull_request_id"
+ "pr_label_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "pull_requests_pkey"
+ "oldName": "pull_request_labels_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_pr_contribs",
- "fields": [
- "pr_augur_contributor_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "contributors",
- "referenceFields": [
- "cntrb_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pr_contribs"
- },
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_requests_repo_1",
+ "name": "fk_pull_request_labels_pull_requests_1",
"fields": [
- "repo_id"
+ "pull_request_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "repo",
+ "referenceTable": "pull_requests",
"referenceFields": [
- "repo_id"
+ "pull_request_id"
],
- "onDelete": "RESTRICT",
+ "onDelete": "CASCADE",
"onUpdate": "CASCADE",
"comment": "",
"isMatchFull": false,
- "isDeferrable": true,
+ "isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pull_requests_repo_1"
+ "oldName": "fk_pull_request_labels_pull_requests_1"
}
],
"uniques": [],
@@ -24518,7 +24092,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "issue_events",
+ "name": "pull_request_message_ref",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -24526,8 +24100,8 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "issue_events",
- "oid": 188512,
+ "oldName": "pull_request_message_ref",
+ "oid": 15486685,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -24544,7 +24118,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "event_id",
+ "name": "pr_msg_ref_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -24552,9 +24126,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.issue_events_event_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.pull_request_message_ref_pr_msg_ref_id_seq'::regclass)",
"comment": "",
- "oldName": "event_id",
+ "oldName": "pr_msg_ref_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -24574,17 +24148,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issue_id",
+ "name": "pull_request_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "issue_id",
+ "oldName": "pull_request_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -24604,17 +24178,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_id",
+ "name": "msg_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cntrb_id",
+ "oldName": "msg_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -24634,22 +24208,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "action",
- "type": "varchar",
- "length": 255,
+ "name": "pr_message_ref_src_comment_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": false,
+ "collation": "",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "action",
+ "oldName": "pr_message_ref_src_comment_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
@@ -24664,7 +24238,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "action_commit_hash",
+ "name": "pr_message_ref_src_node_id",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -24674,7 +24248,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "action_commit_hash",
+ "oldName": "pr_message_ref_src_node_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -24694,22 +24268,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "created_at",
- "type": "timestamp",
- "length": 0,
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "created_at",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
@@ -24724,17 +24298,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "node_id",
+ "name": "tool_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "This should be renamed to issue_event_src_node_id, as its the varchar identifier in GitHub and likely common in other sources as well. However, since it was created before we came to this naming standard and workers are built around it, we have it simply named as node_id. Anywhere you see node_id in the schema, it comes from GitHubs terminology.",
- "oldName": "node_id",
+ "comment": "",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -24754,9 +24328,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "node_url",
+ "name": "data_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -24764,7 +24338,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "node_url",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -24784,22 +24358,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 255,
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
@@ -24814,22 +24388,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 255,
+ "name": "repo_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
@@ -24841,26 +24415,119 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "pull_request_message_ref_pkey",
+ "fields": [
+ "pr_msg_ref_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "pull_request_message_ref_pkey"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_pull_request_message_ref_message_1",
+ "fields": [
+ "msg_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "message",
+ "referenceFields": [
+ "msg_id"
+ ],
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_pull_request_message_ref_message_1"
},
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_pull_request_message_ref_pull_requests_1",
+ "fields": [
+ "pull_request_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "pull_requests",
+ "referenceFields": [
+ "pull_request_id"
+ ],
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_pull_request_message_ref_pull_requests_1"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "pull_request_meta",
+ "comment": "Pull requests contain referencing metadata. There are a few columns that are discrete. There are also head and base designations for the repo on each side of the pull request. Similar functions exist in GitLab, though the language here is based on GitHub. The JSON Being adapted to as of the development of this schema is here: \"base\": { \"label\": \"chaoss:dev\", \"ref\": \"dev\", \"sha\": \"dc6c6f3947f7dc84ecba3d8bda641ef786e7027d\", \"user\": { \"login\": \"chaoss\", \"id\": 29740296, \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2\", \"avatar_url\": \"https://avatars2.githubusercontent.com/u/29740296?v=4\", \"gravatar_id\": \"\", \"url\": \"https://api.github.com/users/chaoss\", \"html_url\": \"https://github.com/chaoss\", \"followers_url\": \"https://api.github.com/users/chaoss/followers\", \"following_url\": \"https://api.github.com/users/chaoss/following{/other_user}\", \"gists_url\": \"https://api.github.com/users/chaoss/gists{/gist_id}\", \"starred_url\": \"https://api.github.com/users/chaoss/starred{/owner}{/repo}\", \"subscriptions_url\": \"https://api.github.com/users/chaoss/subscriptions\", \"organizations_url\": \"https://api.github.com/users/chaoss/orgs\", \"repos_url\": \"https://api.github.com/users/chaoss/repos\", \"events_url\": \"https://api.github.com/users/chaoss/events{/privacy}\", \"received_events_url\": \"https://api.github.com/users/chaoss/received_events\", \"type\": \"Organization\", \"site_admin\": false }, \"repo\": { \"id\": 78134122, \"node_id\": \"MDEwOlJlcG9zaXRvcnk3ODEzNDEyMg==\", \"name\": \"augur\", \"full_name\": \"chaoss/augur\", \"private\": false, \"owner\": { \"login\": \"chaoss\", \"id\": 29740296, \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2\", \"avatar_url\": \"https://avatars2.githubusercontent.com/u/29740296?v=4\", \"gravatar_id\": \"\", \"url\": \"https://api.github.com/users/chaoss\", \"html_url\": \"https://github.com/chaoss\", \"followers_url\": \"https://api.github.com/users/chaoss/followers\", \"following_url\": \"https://api.github.com/users/chaoss/following{/other_user}\", \"gists_url\": \"https://api.github.com/users/chaoss/gists{/gist_id}\", \"starred_url\": \"https://api.github.com/users/chaoss/starred{/owner}{/repo}\", \"subscriptions_url\": \"https://api.github.com/users/chaoss/subscriptions\", \"organizations_url\": \"https://api.github.com/users/chaoss/orgs\", \"repos_url\": \"https://api.github.com/users/chaoss/repos\", \"events_url\": \"https://api.github.com/users/chaoss/events{/privacy}\", \"received_events_url\": \"https://api.github.com/users/chaoss/received_events\", \"type\": \"Organization\", \"site_admin\": false }, ",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "pull_request_meta",
+ "oid": 15486693,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 255,
+ "name": "pr_repo_meta_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.pull_request_meta_pr_repo_meta_id_seq'::regclass)",
"comment": "",
- "oldName": "data_source",
+ "oldName": "pr_repo_meta_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 11,
+ "collationSchema": "",
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -24874,23 +24541,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "pull_request_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "pull_request_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 12,
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -24904,23 +24571,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issue_event_src_id",
- "type": "int8",
- "length": 64,
+ "name": "pr_head_or_base",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "This ID comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue events API",
- "oldName": "issue_event_src_id",
+ "comment": "Each pull request should have one and only one head record; and one and only one base record. ",
+ "oldName": "pr_head_or_base",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 13,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -24931,80 +24598,252 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [
+ },
{
- "objectType": "Index_PGSQL",
- "name": "issue-cntrb-idx2",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "issue-cntrb-idx2",
- "oid": 203747,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "issue_events",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "issue_event_src_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "issue_event_src_id",
- "collationSchema": ""
- }
- ]
+ "objectType": "TableField_PGSQL",
+ "name": "pr_src_meta_label",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "This is a representation of the repo:branch information in the pull request. Head is issueing the pull request and base is taking the pull request. For example: (We do not store all of this)\n\n \"head\": {\n \"label\": \"chaoss:pull-request-worker\",\n \"ref\": \"pull-request-worker\",\n \"sha\": \"6b380c3d6d625616f79d702612ebab6d204614f2\",\n \"user\": {\n \"login\": \"chaoss\",\n \"id\": 29740296,\n \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2\",\n \"avatar_url\": \"https://avatars2.githubusercontent.com/u/29740296?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/chaoss\",\n \"html_url\": \"https://github.com/chaoss\",\n \"followers_url\": \"https://api.github.com/users/chaoss/followers\",\n \"following_url\": \"https://api.github.com/users/chaoss/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/chaoss/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/chaoss/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/chaoss/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/chaoss/orgs\",\n \"repos_url\": \"https://api.github.com/users/chaoss/repos\",\n \"events_url\": \"https://api.github.com/users/chaoss/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/chaoss/received_events\",\n \"type\": \"Organization\",\n \"site_admin\": false\n },\n \"repo\": {\n \"id\": 78134122,\n \"node_id\": \"MDEwOlJlcG9zaXRvcnk3ODEzNDEyMg==\",\n \"name\": \"augur\",\n \"full_name\": \"chaoss/augur\",\n \"private\": false,\n \"owner\": {\n \"login\": \"chaoss\",\n \"id\": 29740296,\n \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2\",\n \"avatar_url\": \"https://avatars2.githubusercontent.com/u/29740296?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/chaoss\",\n \"html_url\": \"https://github.com/chaoss\",\n \"followers_url\": \"https://api.github.com/users/chaoss/followers\",\n \"following_url\": \"https://api.github.com/users/chaoss/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/chaoss/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/chaoss/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/chaoss/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/chaoss/orgs\",\n \"repos_url\": \"https://api.github.com/users/chaoss/repos\",\n \"events_url\": \"https://api.github.com/users/chaoss/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/chaoss/received_events\",\n \"type\": \"Organization\",\n \"site_admin\": false\n },\n \"html_url\": \"https://github.com/chaoss/augur\",\n \"description\": \"Python library and web service for Open Source Software Health and Sustainability metrics & data collection.\",\n \"fork\": false,\n \"url\": \"https://api.github.com/repos/chaoss/augur\",\n \"forks_url\": \"https://api.github.com/repos/chaoss/augur/forks\",\n \"keys_url\": \"https://api.github.com/repos/chaoss/augur/keys{/key_id}\",\n \"collaborators_url\": \"https://api.github.com/repos/chaoss/augur/collaborators{/collaborator}\",\n \"teams_url\": \"https://api.github.com/repos/chaoss/augur/teams\",\n \"hooks_url\": \"https://api.github.com/repos/chaoss/augur/hooks\",\n \"issue_events_url\": \"https://api.github.com/repos/chaoss/augur/issues/events{/number}\",\n \"events_url\": \"https://api.github.com/repos/chaoss/augur/events\",\n \"assignees_url\": \"https://api.github.com/repos/chaoss/augur/assignees{/user}\",\n \"branches_url\": \"https://api.github.com/repos/chaoss/augur/branches{/branch}\",\n \"tags_url\": \"https://api.github.com/repos/chaoss/augur/tags\",\n \"blobs_url\": \"https://api.github.com/repos/chaoss/augur/git/blobs{/sha}\",\n \"git_tags_url\": \"https://api.github.com/repos/chaoss/augur/git/tags{/sha}\",\n \"git_refs_url\": \"https://api.github.com/repos/chaoss/augur/git/refs{/sha}\",\n \"trees_url\": \"https://api.github.com/repos/chaoss/augur/git/trees{/sha}\",\n \"statuses_url\": \"https://api.github.com/repos/chaoss/augur/statuses/{sha}\",\n \"languages_url\": \"https://api.github.com/repos/chaoss/augur/languages\",\n \"stargazers_url\": \"https://api.github.com/repos/chaoss/augur/stargazers\",\n \"contributors_url\": \"https://api.github.com/repos/chaoss/augur/contributors\",\n \"subscribers_url\": \"https://api.github.com/repos/chaoss/augur/subscribers\",\n \"subscription_url\": \"https://api.github.com/repos/chaoss/augur/subscription\",\n \"commits_url\": \"https://api.github.com/repos/chaoss/augur/commits{/sha}\",\n \"git_commits_url\": \"https://api.github.com/repos/chaoss/augur/git/commits{/sha}\",\n \"comments_url\": \"https://api.github.com/repos/chaoss/augur/comments{/number}\",\n \"issue_comment_url\": \"https://api.github.com/repos/chaoss/augur/issues/comments{/number}\",\n \"contents_url\": \"https://api.github.com/repos/chaoss/augur/contents/{+path}\",\n \"compare_url\": \"https://api.github.com/repos/chaoss/augur/compare/{base}...{head}\",\n \"merges_url\": \"https://api.github.com/repos/chaoss/augur/merges\",\n \"archive_url\": \"https://api.github.com/repos/chaoss/augur/{archive_format}{/ref}\",\n \"downloads_url\": \"https://api.github.com/repos/chaoss/augur/downloads\",\n \"issues_url\": \"https://api.github.com/repos/chaoss/augur/issues{/number}\",\n \"pulls_url\": \"https://api.github.com/repos/chaoss/augur/pulls{/number}\",\n \"milestones_url\": \"https://api.github.com/repos/chaoss/augur/milestones{/number}\",\n \"notifications_url\": \"https://api.github.com/repos/chaoss/augur/notifications{?since,all,participating}\",\n \"labels_url\": \"https://api.github.com/repos/chaoss/augur/labels{/name}\",\n \"releases_url\": \"https://api.github.com/repos/chaoss/augur/releases{/id}\",\n \"deployments_url\": \"https://api.github.com/repos/chaoss/augur/deployments\",\n \"created_at\": \"2017-01-05T17:34:54Z\",\n \"updated_at\": \"2019-11-15T00:56:12Z\",\n \"pushed_at\": \"2019-12-02T06:27:26Z\",\n \"git_url\": \"git://github.com/chaoss/augur.git\",\n \"ssh_url\": \"git@github.com:chaoss/augur.git\",\n \"clone_url\": \"https://github.com/chaoss/augur.git\",\n \"svn_url\": \"https://github.com/chaoss/augur\",\n \"homepage\": \"http://augur.osshealth.io/\",\n \"size\": 82004,\n \"stargazers_count\": 153,\n \"watchers_count\": 153,\n \"language\": \"Python\",\n \"has_issues\": true,\n \"has_projects\": false,\n \"has_downloads\": true,\n \"has_wiki\": false,\n \"has_pages\": true,\n \"forks_count\": 205,\n \"mirror_url\": null,\n \"archived\": false,\n \"disabled\": false,\n \"open_issues_count\": 14,\n \"license\": {\n \"key\": \"mit\",\n \"name\": \"MIT License\",\n \"spdx_id\": \"MIT\",\n \"url\": \"https://api.github.com/licenses/mit\",\n \"node_id\": \"MDc6TGljZW5zZTEz\"\n },\n \"forks\": 205,\n \"open_issues\": 14,\n \"watchers\": 153,\n \"default_branch\": \"master\"\n }\n },\n \"base\": {\n \"label\": \"chaoss:dev\",\n \"ref\": \"dev\",\n \"sha\": \"bfd2d34b51659613dd842cf83c3873f7699c2a0e\",\n \"user\": {\n \"login\": \"chaoss\",\n \"id\": 29740296,\n \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2\",\n \"avatar_url\": \"https://avatars2.githubusercontent.com/u/29740296?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/chaoss\",\n \"html_url\": \"https://github.com/chaoss\",\n \"followers_url\": \"https://api.github.com/users/chaoss/followers\",\n \"following_url\": \"https://api.github.com/users/chaoss/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/chaoss/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/chaoss/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/chaoss/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/chaoss/orgs\",\n \"repos_url\": \"https://api.github.com/users/chaoss/repos\",\n \"events_url\": \"https://api.github.com/users/chaoss/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/chaoss/received_events\",\n \"type\": \"Organization\",\n \"site_admin\": false\n },\n \"repo\": {\n \"id\": 78134122,\n \"node_id\": \"MDEwOlJlcG9zaXRvcnk3ODEzNDEyMg==\",\n \"name\": \"augur\",\n \"full_name\": \"chaoss/augur\",\n \"private\": false,\n \"owner\": {\n \"login\": \"chaoss\",\n \"id\": 29740296,\n \"node_id\": \"MDEyOk9yZ2FuaXphdGlvbjI5NzQwMjk2\",\n \"avatar_url\": \"https://avatars2.githubusercontent.com/u/29740296?v=4\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/chaoss\",\n \"html_url\": \"https://github.com/chaoss\",\n \"followers_url\": \"https://api.github.com/users/chaoss/followers\",\n \"following_url\": \"https://api.github.com/users/chaoss/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/chaoss/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/chaoss/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/chaoss/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/chaoss/orgs\",\n \"repos_url\": \"https://api.github.com/users/chaoss/repos\",\n \"events_url\": \"https://api.github.com/users/chaoss/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/chaoss/received_events\",\n \"type\": \"Organization\",\n \"site_admin\": false\n },\n",
+ "oldName": "pr_src_meta_label",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 4,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "issue_events_ibfk_1",
+ "objectType": "TableField_PGSQL",
+ "name": "pr_src_meta_ref",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "issue_events_ibfk_1",
- "oid": 203748,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "issue_events",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "issue_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "issue_id",
- "collationSchema": ""
- }
- ]
+ "oldName": "pr_src_meta_ref",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 5,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_sha",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "pr_sha",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 6,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "cntrb_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "cntrb_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 7,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "tool_source",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 8,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "tool_version",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "tool_version",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 9,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "data_source",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "data_source",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 10,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
+ "comment": "",
+ "oldName": "data_collection_date",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 11,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ }
+ ],
+ "indexes": [
{
"objectType": "Index_PGSQL",
- "name": "issue_events_ibfk_2",
+ "name": "pr_meta-cntrbid-idx",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -25015,12 +24854,12 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "issue_events_ibfk_2",
- "oid": 203755,
+ "oldName": "pr_meta-cntrbid-idx",
+ "oid": 15488146,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "issue_events",
+ "tableName": "pull_request_meta",
"size": "8",
"fields": [
{
@@ -25040,21 +24879,21 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "issue_events_pkey",
+ "name": "pull_request_meta_pkey",
"fields": [
- "event_id"
+ "pr_repo_meta_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "issue_events_pkey"
+ "oldName": "pull_request_meta_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_issue_events_contributors_1",
+ "name": "fk_pull_request_meta_contributors_2",
"fields": [
"cntrb_id"
],
@@ -25063,36 +24902,36 @@
"referenceFields": [
"cntrb_id"
],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
"comment": "",
"isMatchFull": false,
- "isDeferrable": true,
+ "isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_issue_events_contributors_1"
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_pull_request_meta_contributors_2"
},
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_issue_events_issues_1",
+ "name": "fk_pull_request_meta_pull_requests_1",
"fields": [
- "issue_id"
+ "pull_request_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "issues",
+ "referenceTable": "pull_requests",
"referenceFields": [
- "issue_id"
+ "pull_request_id"
],
- "onDelete": "RESTRICT",
+ "onDelete": "CASCADE",
"onUpdate": "CASCADE",
"comment": "",
"isMatchFull": false,
- "isDeferrable": true,
+ "isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_issue_events_issues_1"
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_pull_request_meta_pull_requests_1"
}
],
"uniques": [],
@@ -25104,16 +24943,16 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "issues",
- "comment": "",
+ "name": "pull_request_repo",
+ "comment": "This table is for storing information about forks that exist as part of a pull request. Generally we do not want to track these like ordinary repositories. ",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "issues",
- "oid": 188973,
+ "oldName": "pull_request_repo",
+ "oid": 15486701,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -25130,7 +24969,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "issue_id",
+ "name": "pr_repo_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -25138,9 +24977,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.issue_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.pull_request_repo_pr_repo_id_seq'::regclass)",
"comment": "",
- "oldName": "issue_id",
+ "oldName": "pr_repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -25160,7 +24999,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
+ "name": "pr_repo_meta_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -25170,7 +25009,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "pr_repo_meta_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -25190,22 +25029,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "reporter_id",
- "type": "int8",
- "length": 64,
+ "name": "pr_repo_head_or_base",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "The ID of the person who opened the issue. ",
- "oldName": "reporter_id",
+ "comment": "For ease of validation checking, we should determine if the repository referenced is the head or base of the pull request. Each pull request should have one and only one of these, which is not enforcable easily in the database.",
+ "oldName": "pr_repo_head_or_base",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -25220,7 +25059,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pull_request",
+ "name": "pr_src_repo_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -25230,7 +25069,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pull_request",
+ "oldName": "pr_src_repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -25250,22 +25089,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pull_request_id",
- "type": "int8",
- "length": 64,
+ "name": "pr_src_node_id",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pull_request_id",
+ "oldName": "pr_src_node_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
@@ -25280,22 +25119,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "created_at",
- "type": "timestamp",
+ "name": "pr_repo_name",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "created_at",
+ "oldName": "pr_repo_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
@@ -25310,9 +25149,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issue_title",
+ "name": "pr_repo_full_name",
"type": "varchar",
- "length": 500,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -25320,7 +25159,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "issue_title",
+ "oldName": "pr_repo_full_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -25340,22 +25179,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issue_body",
- "type": "text",
+ "name": "pr_repo_private_bool",
+ "type": "bool",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "issue_body",
+ "oldName": "pr_repo_private_bool",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
@@ -25370,7 +25209,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_id",
+ "name": "pr_cntrb_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -25379,8 +25218,8 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "The ID of the person who closed the issue. ",
- "oldName": "cntrb_id",
+ "comment": "",
+ "oldName": "pr_cntrb_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -25400,22 +25239,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "comment_count",
- "type": "int8",
- "length": 64,
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "comment_count",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
@@ -25430,22 +25269,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "updated_at",
- "type": "timestamp",
- "length": 0,
+ "name": "tool_version",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "updated_at",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
@@ -25460,22 +25299,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "closed_at",
- "type": "timestamp",
- "length": 0,
+ "name": "data_source",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "closed_at",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
@@ -25490,17 +25329,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "due_on",
+ "name": "data_collection_date",
"type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "due_on",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -25517,86 +25356,244 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "repository_url",
- "type": "varchar",
- "length": 4000,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "repository_url",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 14,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "issue_url",
- "type": "varchar",
- "length": 4000,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "issue_url",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 15,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [
{
- "objectType": "TableField_PGSQL",
- "name": "labels_url",
- "type": "varchar",
- "length": 4000,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "Index_PGSQL",
+ "name": "pr-cntrb-idx-repo",
"comment": "",
- "oldName": "labels_url",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "pr-cntrb-idx-repo",
+ "oid": 15488144,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "pull_request_repo",
+ "size": "8",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "pr_cntrb_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "pr_cntrb_id",
+ "collationSchema": ""
+ }
+ ]
+ }
+ ],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "pull_request_repo_pkey",
+ "fields": [
+ "pr_repo_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "pull_request_repo_pkey"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_pull_request_repo_contributors_1",
+ "fields": [
+ "pr_cntrb_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "contributors",
+ "referenceFields": [
+ "cntrb_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_pull_request_repo_contributors_1"
+ },
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_pull_request_repo_pull_request_meta_1",
+ "fields": [
+ "pr_repo_meta_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "pull_request_meta",
+ "referenceFields": [
+ "pr_repo_meta_id"
+ ],
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_pull_request_repo_pull_request_meta_1"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "pull_request_review_message_ref",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "pull_request_review_message_ref",
+ "oid": 15488260,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_msg_ref_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.pull_request_review_message_ref_pr_review_msg_ref_id_seq'::regclass)",
+ "comment": "",
+ "oldName": "pr_review_msg_ref_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 1,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "pr_review_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 2,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "msg_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "msg_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 3,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_msg_url",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "pr_review_msg_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 16,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -25610,9 +25607,69 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "comments_url",
+ "name": "pr_review_src_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "pr_review_src_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 5,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_msg_src_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "pr_review_msg_src_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 6,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_msg_node_id",
"type": "varchar",
- "length": 4000,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -25620,13 +25677,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "comments_url",
+ "oldName": "pr_review_msg_node_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 17,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -25640,9 +25697,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "events_url",
+ "name": "pr_review_msg_diff_hunk",
"type": "varchar",
- "length": 4000,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -25650,13 +25707,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "events_url",
+ "oldName": "pr_review_msg_diff_hunk",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 18,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -25670,9 +25727,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "html_url",
+ "name": "pr_review_msg_path",
"type": "varchar",
- "length": 4000,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -25680,13 +25737,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "html_url",
+ "oldName": "pr_review_msg_path",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 19,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -25700,9 +25757,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issue_state",
+ "name": "pr_review_msg_position",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -25710,13 +25767,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "issue_state",
+ "oldName": "pr_review_msg_position",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 20,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -25730,7 +25787,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issue_node_id",
+ "name": "pr_review_msg_original_position",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -25740,13 +25797,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "issue_node_id",
+ "oldName": "pr_review_msg_original_position",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 21,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -25760,23 +25817,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_issue_id",
- "type": "int8",
- "length": 64,
+ "name": "pr_review_msg_commit_id",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_issue_id",
+ "oldName": "pr_review_msg_commit_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 22,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -25790,9 +25847,39 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_user_id",
- "type": "int8",
- "length": 64,
+ "name": "pr_review_msg_original_commit_id",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "pr_review_msg_original_commit_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 13,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_msg_updated_at",
+ "type": "timestamp",
+ "length": 6,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -25800,13 +25887,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_user_id",
+ "oldName": "pr_review_msg_updated_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 23,
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -25820,9 +25907,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "pr_review_msg_html_url",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -25830,13 +25917,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "pr_review_msg_html_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 24,
+ "ordinalPosition": 15,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -25850,9 +25937,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "pr_url",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -25860,13 +25947,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "pr_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 25,
+ "ordinalPosition": 16,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -25880,9 +25967,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
+ "name": "pr_review_msg_author_association",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -25890,13 +25977,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "pr_review_msg_author_association",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 26,
+ "ordinalPosition": 17,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -25910,23 +25997,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
+ "name": "pr_review_msg_start_line",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "pr_review_msg_start_line",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 27,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 18,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -25940,23 +26027,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_issue_number",
- "type": "int8",
- "length": 64,
+ "name": "pr_review_msg_original_start_line",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_issue_number",
+ "oldName": "pr_review_msg_original_start_line",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 28,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 19,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -25967,277 +26054,146 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [
+ },
{
- "objectType": "Index_PGSQL",
- "name": "issue-cntrb-dix2",
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_msg_start_side",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "issue-cntrb-dix2",
- "oid": 203732,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "issues",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cntrb_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cntrb_id",
- "collationSchema": ""
- }
- ]
+ "oldName": "pr_review_msg_start_side",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 20,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "issues_ibfk_1",
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_msg_line",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "issues_ibfk_1",
- "oid": 203756,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "issues",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "issues_ibfk_2",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "issues_ibfk_2",
- "oid": 203759,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "issues",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "reporter_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "reporter_id",
- "collationSchema": ""
- }
- ]
+ "oldName": "pr_review_msg_line",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 21,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "issues_ibfk_4",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "issues_ibfk_4",
- "oid": 203760,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "issues",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "pull_request_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "pull_request_id",
- "collationSchema": ""
- }
- ]
- }
- ],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "issues_pkey",
- "fields": [
- "issue_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "issues_pkey"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_issues_contributors_1",
- "fields": [
- "cntrb_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "contributors",
- "referenceFields": [
- "cntrb_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_msg_original_line",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_issues_contributors_1"
+ "oldName": "pr_review_msg_original_line",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 22,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_issues_contributors_2",
- "fields": [
- "reporter_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "contributors",
- "referenceFields": [
- "cntrb_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_msg_side",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_issues_contributors_2"
+ "oldName": "pr_review_msg_side",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 23,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_issues_repo",
- "fields": [
- "repo_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "repo",
- "referenceFields": [
- "repo_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_issues_repo"
- }
- ],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "message",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "message",
- "oid": 189724,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "msg_id",
- "type": "int8",
- "length": 64,
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.message_msg_id_seq'::regclass)",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "msg_id",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 24,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -26251,23 +26207,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "rgls_id",
- "type": "int8",
- "length": 64,
+ "name": "tool_version",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "rgls_id",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 2,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 25,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -26281,8 +26237,8 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "msg_text",
- "type": "text",
+ "name": "data_source",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
@@ -26291,13 +26247,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "msg_text",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 3,
+ "ordinalPosition": 26,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -26311,23 +26267,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "msg_timestamp",
+ "name": "data_collection_date",
"type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "msg_timestamp",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 4,
+ "ordinalPosition": 27,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -26341,23 +26297,146 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "msg_sender_email",
- "type": "varchar",
- "length": 255,
+ "name": "repo_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "msg_sender_email",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "collationSchema": "",
+ "ordinalPosition": 28,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "pr_review_msg_ref_id",
+ "fields": [
+ "pr_review_msg_ref_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "pr_review_msg_ref_id"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_pull_request_review_message_ref_message_1",
+ "fields": [
+ "msg_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "message",
+ "referenceFields": [
+ "msg_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_pull_request_review_message_ref_message_1"
+ },
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_pull_request_review_message_ref_pull_request_reviews_1",
+ "fields": [
+ "pr_review_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "pull_request_reviews",
+ "referenceFields": [
+ "pr_review_id"
+ ],
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_pull_request_review_message_ref_pull_request_reviews_1"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "pull_request_reviewers",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "pull_request_reviewers",
+ "oid": 15486709,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_reviewer_map_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.pull_request_reviewers_pr_reviewer_map_id_seq'::regclass)",
+ "comment": "",
+ "oldName": "pr_reviewer_map_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -26371,23 +26450,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "msg_header",
- "type": "varchar",
- "length": 4000,
+ "name": "pull_request_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "msg_header",
+ "oldName": "pull_request_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "collationSchema": "",
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -26401,23 +26480,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pltfrm_id",
+ "name": "cntrb_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pltfrm_id",
+ "oldName": "cntrb_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 7,
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -26447,7 +26526,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -26477,7 +26556,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -26507,7 +26586,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 10,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -26537,7 +26616,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 11,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -26551,7 +26630,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_id",
+ "name": "pr_reviewer_src_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -26560,14 +26639,14 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "Not populated for mailing lists. Populated for GitHub issues. ",
- "oldName": "cntrb_id",
+ "comment": "",
+ "oldName": "pr_reviewer_src_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 12,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -26583,124 +26662,34 @@
"indexes": [
{
"objectType": "Index_PGSQL",
- "name": "messagegrouper",
+ "name": "pr-reviewers-cntrb-idx1",
"comment": "",
"isClustered": false,
"isConcurrently": false,
- "isUnique": true,
+ "isUnique": false,
"fastUpdate": "",
"buffering": "",
"fillFactor": -1,
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "messagegrouper",
- "oid": 203787,
+ "oldName": "pr-reviewers-cntrb-idx1",
+ "oid": 15488148,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "message",
+ "tableName": "pull_request_reviewers",
"size": "8",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "msg_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "msg_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "rgls_id",
+ "name": "cntrb_id",
"collation": "",
"opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "rgls_id",
- "collationSchema": ""
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "msg-cntrb-id-idx",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "msg-cntrb-id-idx",
- "oid": 203788,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "message",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cntrb_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cntrb_id",
- "collationSchema": ""
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "platformgrouper",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "platformgrouper",
- "oid": 203792,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "message",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "msg_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "msg_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "pltfrm_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "pltfrm_id",
+ "oldName": "cntrb_id",
"collationSchema": ""
}
]
@@ -26709,21 +26698,21 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "message_pkey",
+ "name": "pull_request_reviewers_pkey",
"fields": [
- "msg_id"
+ "pr_reviewer_map_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "message_pkey"
+ "oldName": "pull_request_reviewers_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_message_contributors_1",
+ "name": "fk_pull_request_reviewers_contributors_1",
"fields": [
"cntrb_id"
],
@@ -26732,89 +26721,39 @@
"referenceFields": [
"cntrb_id"
],
- "onDelete": "RESTRICT",
+ "onDelete": "CASCADE",
"onUpdate": "CASCADE",
"comment": "",
"isMatchFull": false,
- "isDeferrable": true,
+ "isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_message_contributors_1"
- },
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_message_platform_1",
- "fields": [
- "pltfrm_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "platform",
- "referenceFields": [
- "pltfrm_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_message_platform_1"
+ "oldName": "fk_pull_request_reviewers_contributors_1"
},
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_message_repo_groups_list_serve_1",
+ "name": "fk_pull_request_reviewers_pull_requests_1",
"fields": [
- "rgls_id"
+ "pull_request_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "repo_groups_list_serve",
+ "referenceTable": "pull_requests",
"referenceFields": [
- "rgls_id"
+ "pull_request_id"
],
- "onDelete": "RESTRICT",
+ "onDelete": "CASCADE",
"onUpdate": "CASCADE",
"comment": "",
"isMatchFull": false,
- "isDeferrable": true,
+ "isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_message_repo_groups_list_serve_1"
- }
- ],
- "uniques": [
- {
- "objectType": "Unique_PGSQL",
- "name": "REPOGROUPLISTER",
- "fields": [
- "msg_id",
- "rgls_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "REPOGROUPLISTER"
- },
- {
- "objectType": "Unique_PGSQL",
- "name": "platformer",
- "fields": [
- "msg_id",
- "pltfrm_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "platformer"
+ "oldName": "fk_pull_request_reviewers_pull_requests_1"
}
],
+ "uniques": [],
"checks": [],
"excludes": [],
"triggers": [],
@@ -26823,16 +26762,16 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "contributors_aliases",
- "comment": "An alias will need to be created for every contributor in this model, otherwise we will have to look in 2 places. ",
+ "name": "pull_request_reviews",
+ "comment": "",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "contributors_aliases",
- "oid": 187257,
+ "oldName": "pull_request_reviews",
+ "oid": 15488270,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -26849,17 +26788,17 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_id",
+ "name": "pr_review_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.pull_request_reviews_pr_review_id_seq'::regclass)",
"comment": "",
- "oldName": "cntrb_id",
+ "oldName": "pr_review_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -26879,17 +26818,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_a_id",
+ "name": "pull_request_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.contributors_aliases_cntrb_a_id_seq'::regclass)",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_a_id",
+ "oldName": "pull_request_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -26909,23 +26848,53 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "canonical_email",
+ "name": "cntrb_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "cntrb_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 3,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_author_association",
"type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "canonical_email",
+ "oldName": "pr_review_author_association",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 3,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -26939,23 +26908,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "alias_email",
+ "name": "pr_review_state",
"type": "varchar",
- "length": 128,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "alias_email",
+ "oldName": "pr_review_state",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -26969,23 +26938,53 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_active",
- "type": "int2",
- "length": 16,
+ "name": "pr_review_body",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "pr_review_body",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 6,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_submitted_at",
+ "type": "timestamp",
+ "length": 6,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "1",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_active",
+ "oldName": "pr_review_submitted_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 5,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -26999,23 +26998,143 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_last_modified",
- "type": "timestamp",
- "length": 0,
+ "name": "pr_review_src_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_last_modified",
+ "oldName": "pr_review_src_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 6,
+ "ordinalPosition": 8,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_node_id",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "pr_review_node_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 9,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_html_url",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "pr_review_html_url",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 10,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_pull_request_url",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "pr_review_pull_request_url",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 11,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_commit_id",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "pr_review_commit_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27031,7 +27150,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -27045,7 +27164,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27061,7 +27180,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_version",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -27075,7 +27194,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27091,7 +27210,7 @@
"objectType": "TableField_PGSQL",
"name": "data_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -27105,7 +27224,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "ordinalPosition": 15,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27135,7 +27254,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 10,
+ "ordinalPosition": 16,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27148,223 +27267,63 @@
"isIdentityCycle": false
}
],
- "indexes": [
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "pull_request_review_id",
+ "fields": [
+ "pr_review_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "pull_request_review_id"
+ },
+ "foreignKeys": [
{
- "objectType": "Index_PGSQL",
- "name": "alias,active",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "alias,active",
- "oid": 203516,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "contributors_aliases",
- "size": "8",
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_pull_request_reviews_contributors_1",
"fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "alias_email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "alias_email",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cntrb_active",
- "collation": "",
- "opClass": "int2_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cntrb_active",
- "collationSchema": ""
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "canonical,alias",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": true,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "canonical,alias",
- "oid": 203538,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "contributors_aliases",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "canonical_email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "canonical_email",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "alias_email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "alias_email",
- "collationSchema": "pg_catalog"
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "issue-alias-cntrb-idx1",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "issue-alias-cntrb-idx1",
- "oid": 203725,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "contributors_aliases",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cntrb_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cntrb_id",
- "collationSchema": ""
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "issue-alias-cntrb-idx2",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "issue-alias-cntrb-idx2",
- "oid": 203728,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "contributors_aliases",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cntrb_a_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cntrb_a_id",
- "collationSchema": ""
- }
- ]
- }
- ],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "contributors_aliases_pkey",
- "fields": [
- "cntrb_id",
- "cntrb_a_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "contributors_aliases_pkey"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_alias_id",
- "fields": [
- "cntrb_a_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "contributors",
- "referenceFields": [
- "cntrb_id"
- ],
- "onDelete": "CASCADE",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_alias_id"
+ "cntrb_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "contributors",
+ "referenceFields": [
+ "cntrb_id"
+ ],
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_pull_request_reviews_contributors_1"
},
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_contributors_aliases_contributors_1",
+ "name": "fk_pull_request_reviews_pull_requests_1",
"fields": [
- "cntrb_id"
+ "pull_request_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "contributors",
+ "referenceTable": "pull_requests",
"referenceFields": [
- "cntrb_id"
+ "pull_request_id"
],
"onDelete": "CASCADE",
"onUpdate": "CASCADE",
"comment": "",
"isMatchFull": false,
- "isDeferrable": true,
+ "isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_contributors_aliases_contributors_1"
+ "oldName": "fk_pull_request_reviews_pull_requests_1"
}
],
"uniques": [],
@@ -27376,7 +27335,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "pull_request_reviewers",
+ "name": "pull_request_teams",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -27384,8 +27343,8 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "pull_request_reviewers",
- "oid": 191237,
+ "oldName": "pull_request_teams",
+ "oid": 15486717,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -27402,7 +27361,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "pr_reviewer_map_id",
+ "name": "pr_team_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -27410,9 +27369,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.pull_request_reviewers_pr_reviewer_map_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.pull_request_teams_pr_team_id_seq'::regclass)",
"comment": "",
- "oldName": "pr_reviewer_map_id",
+ "oldName": "pr_team_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -27462,7 +27421,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_id",
+ "name": "pr_src_team_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -27472,7 +27431,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cntrb_id",
+ "oldName": "pr_src_team_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -27492,23 +27451,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_reviewer_src_id",
- "type": "int8",
- "length": 64,
+ "name": "pr_src_team_node",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_reviewer_src_id",
+ "oldName": "pr_src_team_node",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 8,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27522,9 +27481,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "pr_src_team_url",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -27532,13 +27491,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "pr_src_team_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27552,9 +27511,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "pr_team_name",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -27562,13 +27521,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "pr_team_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27582,9 +27541,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
+ "name": "pr_team_slug",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -27592,13 +27551,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "pr_team_slug",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27612,23 +27571,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
+ "name": "pr_team_description",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "pr_team_description",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 7,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27639,154 +27598,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [
- {
- "objectType": "Index_PGSQL",
- "name": "pr-reviewers-cntrb-idx1",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "pr-reviewers-cntrb-idx1",
- "oid": 203802,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "pull_request_reviewers",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cntrb_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cntrb_id",
- "collationSchema": ""
- }
- ]
- }
- ],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "pull_request_reviewers_pkey",
- "fields": [
- "pr_reviewer_map_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "pull_request_reviewers_pkey"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_reviewers_contributors_1",
- "fields": [
- "cntrb_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "contributors",
- "referenceFields": [
- "cntrb_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pull_request_reviewers_contributors_1"
},
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_reviewers_pull_requests_1",
- "fields": [
- "pull_request_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "pull_requests",
- "referenceFields": [
- "pull_request_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pull_request_reviewers_pull_requests_1"
- }
- ],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "repo_info",
- "comment": "",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "repo_info",
- "oid": 192746,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "repo_info_id",
- "type": "int8",
- "length": 64,
+ "name": "pr_team_privacy",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_info_repo_info_id_seq'::regclass)",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "repo_info_id",
+ "oldName": "pr_team_privacy",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27800,23 +27631,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
- "type": "int8",
- "length": 64,
+ "name": "pr_team_permission",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "pr_team_permission",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 2,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27830,23 +27661,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "last_updated",
- "type": "timestamp",
+ "name": "pr_team_src_members_url",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::timestamp without time zone",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "last_updated",
+ "oldName": "pr_team_src_members_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 3,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27860,23 +27691,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issues_enabled",
+ "name": "pr_team_src_repositories_url",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "issues_enabled",
+ "oldName": "pr_team_src_repositories_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27890,9 +27721,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "open_issues",
- "type": "int4",
- "length": 32,
+ "name": "pr_team_parent_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -27900,13 +27731,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "open_issues",
+ "oldName": "pr_team_parent_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 5,
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27920,23 +27751,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pull_requests_enabled",
+ "name": "tool_source",
"type": "varchar",
"length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "pull_requests_enabled",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27950,23 +27781,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "wiki_enabled",
+ "name": "tool_version",
"type": "varchar",
"length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "wiki_enabled",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 15,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -27980,23 +27811,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pages_enabled",
+ "name": "data_source",
"type": "varchar",
"length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "pages_enabled",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 16,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28010,23 +27841,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "fork_count",
- "type": "int4",
- "length": 32,
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "fork_count",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 9,
+ "ordinalPosition": 17,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28037,31 +27868,103 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "pull_request_teams_pkey",
+ "fields": [
+ "pr_team_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "pull_request_teams_pkey"
+ },
+ "foreignKeys": [
{
- "objectType": "TableField_PGSQL",
- "name": "default_branch",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_pull_request_teams_pull_requests_1",
+ "fields": [
+ "pull_request_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "pull_requests",
+ "referenceFields": [
+ "pull_request_id"
+ ],
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
"comment": "",
- "oldName": "default_branch",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 10,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_pull_request_teams_pull_requests_1"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "pull_requests",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "pull_requests",
+ "oid": 15486725,
+ "rows": 1012,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pull_request_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.pull_requests_pull_request_id_seq'::regclass)",
+ "comment": "",
+ "oldName": "pull_request_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 1,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
@@ -28070,23 +27973,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "watchers_count",
- "type": "int4",
- "length": 32,
+ "name": "pr_url",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "watchers_count",
+ "oldName": "pr_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 11,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28100,23 +28003,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "UUID",
- "type": "int4",
- "length": 32,
+ "name": "pr_src_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "UUID",
+ "comment": "The pr_src_id is unique across all of github.",
+ "oldName": "pr_src_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 12,
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28130,23 +28033,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "license",
+ "name": "pr_src_node_id",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "license",
+ "oldName": "pr_src_node_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 13,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28160,23 +28063,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "stars_count",
- "type": "int4",
- "length": 32,
+ "name": "pr_html_url",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "stars_count",
+ "oldName": "pr_html_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 14,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28190,23 +28093,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "committers_count",
- "type": "int4",
- "length": 32,
+ "name": "pr_diff_url",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "committers_count",
+ "oldName": "pr_diff_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 15,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28220,9 +28123,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issue_contributors_count",
+ "name": "pr_patch_url",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -28230,13 +28133,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "issue_contributors_count",
+ "oldName": "pr_patch_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 16,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28250,23 +28153,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "changelog_file",
+ "name": "pr_issue_url",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "changelog_file",
+ "oldName": "pr_issue_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 17,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28280,23 +28183,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "contributing_file",
- "type": "varchar",
- "length": 255,
+ "name": "pr_augur_issue_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
- "comment": "",
- "oldName": "contributing_file",
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "This is to link to the augur stored related issue",
+ "oldName": "pr_augur_issue_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 18,
+ "collationSchema": "",
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28310,23 +28213,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "license_file",
- "type": "varchar",
- "length": 255,
+ "name": "pr_src_number",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
- "comment": "",
- "oldName": "license_file",
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "The pr_src_number is unique within a repository.",
+ "oldName": "pr_src_number",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 19,
+ "collationSchema": "",
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28340,23 +28243,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "code_of_conduct_file",
+ "name": "pr_src_state",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "code_of_conduct_file",
+ "oldName": "pr_src_state",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 20,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28370,23 +28273,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "security_issue_file",
- "type": "varchar",
- "length": 255,
+ "name": "pr_src_locked",
+ "type": "bool",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "security_issue_file",
+ "oldName": "pr_src_locked",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 21,
+ "collationSchema": "",
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28400,23 +28303,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "security_audit_file",
+ "name": "pr_src_title",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "security_audit_file",
+ "oldName": "pr_src_title",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 22,
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28430,23 +28333,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "status",
- "type": "varchar",
- "length": 255,
+ "name": "pr_augur_contributor_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
- "comment": "",
- "oldName": "status",
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "This is to link to the augur contributor record. ",
+ "oldName": "pr_augur_contributor_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 23,
+ "collationSchema": "",
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28460,23 +28363,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "keywords",
- "type": "varchar",
- "length": 255,
+ "name": "pr_body",
+ "type": "text",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "keywords",
+ "oldName": "pr_body",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 24,
+ "ordinalPosition": 15,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28490,9 +28393,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "commit_count",
- "type": "int8",
- "length": 64,
+ "name": "pr_created_at",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -28500,13 +28403,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "commit_count",
+ "oldName": "pr_created_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 29,
+ "ordinalPosition": 16,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28520,9 +28423,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issues_count",
- "type": "int8",
- "length": 64,
+ "name": "pr_updated_at",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -28530,13 +28433,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "issues_count",
+ "oldName": "pr_updated_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 30,
+ "ordinalPosition": 17,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28550,9 +28453,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issues_closed",
- "type": "int8",
- "length": 64,
+ "name": "pr_closed_at",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -28560,13 +28463,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "issues_closed",
+ "oldName": "pr_closed_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 31,
+ "ordinalPosition": 18,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28580,9 +28483,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pull_request_count",
- "type": "int8",
- "length": 64,
+ "name": "pr_merged_at",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -28590,13 +28493,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pull_request_count",
+ "oldName": "pr_merged_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 32,
+ "ordinalPosition": 19,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28610,23 +28513,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pull_requests_open",
- "type": "int8",
- "length": 64,
+ "name": "pr_merge_commit_sha",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pull_requests_open",
+ "oldName": "pr_merge_commit_sha",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 33,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 20,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28640,7 +28543,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pull_requests_closed",
+ "name": "pr_teams",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -28649,14 +28552,14 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "pull_requests_closed",
+ "comment": "One to many with pull request teams. ",
+ "oldName": "pr_teams",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 34,
+ "ordinalPosition": 21,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28670,23 +28573,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pull_requests_merged",
- "type": "int8",
- "length": 64,
+ "name": "pr_milestone",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pull_requests_merged",
+ "oldName": "pr_milestone",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 35,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 22,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -28700,9 +28603,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "pr_commits_url",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -28710,7 +28613,67 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "pr_commits_url",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 23,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_comments_url",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "pr_review_comments_url",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 24,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pr_review_comment_url",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "This is a field with limited utility. It does expose how to access a specific comment if needed with parameters. If the source changes URL structure, it may be useful",
+ "oldName": "pr_review_comment_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -28730,9 +28693,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "pr_comments_url",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -28740,7 +28703,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "pr_comments_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -28760,9 +28723,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
+ "name": "pr_statuses_url",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -28770,7 +28733,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "pr_statuses_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -28790,17 +28753,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "pr_meta_head_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
- "comment": "",
- "oldName": "data_collection_date",
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "The metadata for the head repo that links to the pull_request_meta table. ",
+ "oldName": "pr_meta_head_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -28817,233 +28780,40 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [
+ },
{
- "objectType": "Index_PGSQL",
- "name": "repo_info_idx_repo_id_data_date_1x",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "repo_info_idx_repo_id_data_date_1x",
- "oid": 203927,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "repo_info",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "data_collection_date",
- "collation": "",
- "opClass": "timestamp_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "data_collection_date",
- "collationSchema": ""
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "repo_info_idx_repo_id_data_datex",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "repo_info_idx_repo_id_data_datex",
- "oid": 203929,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "repo_info",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "data_collection_date",
- "collation": "",
- "opClass": "timestamp_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "data_collection_date",
- "collationSchema": ""
- }
- ]
- }
- ],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "repo_info_pkey",
- "fields": [
- "repo_info_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "repo_info_pkey"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_repo_info_repo_1",
- "fields": [
- "repo_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "repo",
- "referenceFields": [
- "repo_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_repo_info_repo_1"
- }
- ],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "repo_insights",
- "comment": "This table is output from an analytical worker inside of Augur. It runs through the different metrics on a repository and identifies the five to ten most “interesting” metrics as defined by some kind of delta or other factor. The algorithm is going to evolve. \n\nWorker Design Notes: The idea is that the \"insight worker\" will scan through a bunch of active metrics or \"synthetic metrics\" to list the most important insights. ",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "repo_insights",
- "oid": 192905,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
- {
- "objectType": "TableField_PGSQL",
- "name": "ri_id",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_insights_ri_id_seq'::regclass)",
- "comment": "",
- "oldName": "ri_id",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "repo_id",
- "type": "int8",
- "length": 64,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "repo_id",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 2,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
+ "objectType": "TableField_PGSQL",
+ "name": "pr_meta_base_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "The metadata for the base repo that links to the pull_request_meta table. ",
+ "oldName": "pr_meta_base_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 29,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
"objectType": "TableField_PGSQL",
- "name": "ri_metric",
+ "name": "pr_src_issue_url",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -29053,13 +28823,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "ri_metric",
+ "oldName": "pr_src_issue_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 3,
+ "ordinalPosition": 30,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29073,9 +28843,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "ri_value",
+ "name": "pr_src_comments_url",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -29083,13 +28853,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "ri_value",
+ "oldName": "pr_src_comments_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 31,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29103,23 +28873,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "ri_date",
- "type": "timestamp",
+ "name": "pr_src_review_comments_url",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "ri_date",
+ "oldName": "pr_src_review_comments_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 5,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 32,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29133,23 +28903,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "ri_fresh",
- "type": "bool",
+ "name": "pr_src_commits_url",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "false if the date is before the statistic that triggered the insight, true if after. This allows us to automatically display only \"fresh insights\" and avoid displaying \"stale insights\". The insight worker will populate this table. ",
- "oldName": "ri_fresh",
+ "comment": "",
+ "oldName": "pr_src_commits_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 6,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 33,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29163,23 +28933,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "ri_score",
- "type": "numeric",
+ "name": "pr_src_statuses_url",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "ri_score",
+ "oldName": "pr_src_statuses_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 11,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 34,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29193,9 +28963,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "ri_field",
+ "name": "pr_src_author_association",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -29203,13 +28973,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "ri_field",
+ "oldName": "pr_src_author_association",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 12,
+ "ordinalPosition": 35,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29223,7 +28993,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "ri_detection_method",
+ "name": "tool_source",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -29233,13 +29003,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "ri_detection_method",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 13,
+ "ordinalPosition": 36,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29253,9 +29023,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "tool_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -29263,13 +29033,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 37,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29283,9 +29053,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "data_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -29293,13 +29063,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 38,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29313,23 +29083,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
+ "name": "data_collection_date",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "data_source",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "collationSchema": "",
+ "ordinalPosition": 39,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29343,23 +29113,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
+ "name": "repo_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
"defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultValue": "0",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 10,
+ "ordinalPosition": 40,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29372,25 +29142,137 @@
"isIdentityCycle": false
}
],
- "indexes": [],
+ "indexes": [
+ {
+ "objectType": "Index_PGSQL",
+ "name": "id_node",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "id_node",
+ "oid": 15487004,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "pull_requests",
+ "size": "72",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "pr_src_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "DESC",
+ "nullSort": "NULLS FIRST",
+ "oldName": "pr_src_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "pr_src_node_id",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "DESC",
+ "nullSort": "NULLS LAST",
+ "oldName": "pr_src_node_id",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "pull_requests_idx_repo_id_data_datex",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "pull_requests_idx_repo_id_data_datex",
+ "oid": 15488442,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "pull_requests",
+ "size": "48",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "data_collection_date",
+ "collation": "",
+ "opClass": "timestamp_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "data_collection_date",
+ "collationSchema": ""
+ }
+ ]
+ }
+ ],
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "repo_insights_pkey",
+ "name": "pull_requests_pkey",
"fields": [
- "ri_id"
+ "pull_request_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "repo_insights_pkey"
+ "oldName": "pull_requests_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_repo_insights_repo_1",
+ "name": "fk_pr_contribs",
+ "fields": [
+ "pr_augur_contributor_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "contributors",
+ "referenceFields": [
+ "cntrb_id"
+ ],
+ "onDelete": "RESTRICT",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_pr_contribs"
+ },
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_pull_requests_repo_1",
"fields": [
"repo_id"
],
@@ -29399,15 +29281,15 @@
"referenceFields": [
"repo_id"
],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
"comment": "",
"isMatchFull": false,
"isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_repo_insights_repo_1"
+ "oldName": "fk_pull_requests_repo_1"
}
],
"uniques": [],
@@ -29419,7 +29301,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "repo_deps_scorecard",
+ "name": "releases",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -29427,9 +29309,9 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "repo_deps_scorecard",
- "oid": 19043831,
- "rows": 0,
+ "oldName": "releases",
+ "oid": 15487976,
+ "rows": 21,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -29445,22 +29327,22 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "repo_deps_scorecard_id",
- "type": "int8",
+ "name": "release_id",
+ "type": "char",
"length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_deps_scorecard_repo_deps_scorecard_id_seq1'::regclass)",
+ "defaultValue": "nextval('augur_data.releases_release_id_seq'::regclass)",
"comment": "",
- "oldName": "repo_deps_scorecard_id",
+ "oldName": "release_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
@@ -29481,7 +29363,7 @@
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
@@ -29505,9 +29387,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "name",
+ "name": "release_name",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -29515,13 +29397,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "name",
+ "oldName": "release_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 39,
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29535,7 +29417,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "status",
+ "name": "release_description",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -29545,13 +29427,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "status",
+ "oldName": "release_description",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 40,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29565,9 +29447,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "score",
+ "name": "release_author",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -29575,13 +29457,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "score",
+ "oldName": "release_author",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 41,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29595,23 +29477,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 0,
+ "name": "release_created_at",
+ "type": "timestamp",
+ "length": 6,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "release_created_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 35,
+ "collationSchema": "",
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29625,23 +29507,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
- "type": "varchar",
- "length": 0,
+ "name": "release_published_at",
+ "type": "timestamp",
+ "length": 6,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "release_published_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 36,
+ "collationSchema": "",
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29655,23 +29537,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 0,
+ "name": "release_updated_at",
+ "type": "timestamp",
+ "length": 6,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "release_updated_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 37,
+ "collationSchema": "",
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29685,23 +29567,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
+ "name": "release_is_draft",
+ "type": "bool",
"length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "release_is_draft",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 38,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29712,98 +29594,26 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- }
- ],
- "indexes": [],
- "rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "repo_deps_scorecard_pkey1",
- "fields": [
- "repo_deps_scorecard_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "repo_deps_scorecard_pkey1"
- },
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "repo_id",
- "fields": [
- "repo_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "repo",
- "referenceFields": [
- "repo_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "repo_id"
- }
- ],
- "uniques": [],
- "checks": [],
- "excludes": [],
- "triggers": [],
- "partitionKeys": [],
- "partitions": []
- },
- {
- "objectType": "TableNormal_PGSQL",
- "name": "repo_badging",
- "comment": "This will be collected from the LF’s Badging API\nhttps://bestpractices.coreinfrastructure.org/projects.json?pq=https%3A%2F%2Fgithub.com%2Fchaoss%2Faugur\n",
- "tablespace": "",
- "isUnlogged": false,
- "owner": "augur",
- "inheritFromTables": [],
- "hasOIDs": false,
- "fillFactor": -1,
- "oldName": "repo_badging",
- "oid": 192004,
- "rows": 0,
- "isInheritTables": false,
- "cluster": "",
- "ACL": "",
- "isPartition": false,
- "partitioningStrategy": "None",
- "partitionOfSchema": "",
- "partitionOfTable": "",
- "partitionListValues": [],
- "partitionRangeFromValues": [],
- "partitionRangeToValues": [],
- "foreignServer": "",
- "foreignOptionDisplay": "",
- "fields": [
+ },
{
"objectType": "TableField_PGSQL",
- "name": "badge_collection_id",
- "type": "int8",
- "length": 64,
+ "name": "release_is_prerelease",
+ "type": "bool",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_badging_badge_collection_id_seq'::regclass)",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "badge_collection_id",
+ "oldName": "release_is_prerelease",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 1,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29817,23 +29627,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
- "type": "int8",
- "length": 64,
+ "name": "release_tag_name",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "release_tag_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 2,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29847,23 +29657,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "created_at",
- "type": "timestamp",
- "length": 0,
+ "name": "release_url",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "created_at",
+ "oldName": "release_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 3,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29877,23 +29687,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data",
- "type": "jsonb",
- "length": 0,
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 8,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29907,7 +29717,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
+ "name": "tool_version",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -29917,13 +29727,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29937,7 +29747,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "data_source",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -29947,13 +29757,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 15,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29967,23 +29777,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
- "type": "varchar",
- "length": 255,
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 6,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "data_source",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "collationSchema": "",
+ "ordinalPosition": 16,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -29997,23 +29807,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
+ "name": "tag_only",
+ "type": "bool",
"length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "data_collection_date",
+ "oldName": "tag_only",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 7,
+ "ordinalPosition": 17,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -30030,21 +29840,21 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "repo_badging_pkey",
+ "name": "releases_pkey",
"fields": [
- "badge_collection_id"
+ "release_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "repo_badging_pkey"
+ "oldName": "releases_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_repo_badging_repo_1",
+ "name": "fk_releases_repo_1",
"fields": [
"repo_id"
],
@@ -30060,8 +29870,8 @@
"isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_repo_badging_repo_1"
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_releases_repo_1"
}
],
"uniques": [],
@@ -30073,17 +29883,17 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "releases",
- "comment": "",
+ "name": "repo",
+ "comment": "This table is a combination of the columns in Facade’s repo table and GHTorrent’s projects table. ",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "releases",
- "oid": 191770,
- "rows": 0,
+ "oldName": "repo",
+ "oid": 15486733,
+ "rows": 2,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -30099,22 +29909,22 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "release_id",
- "type": "char",
+ "name": "repo_id",
+ "type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.releases_release_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.repo_repo_id_seq'::regclass)",
"comment": "",
- "oldName": "release_id",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
@@ -30129,7 +29939,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
+ "name": "repo_group_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -30139,7 +29949,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "repo_group_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -30159,17 +29969,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "release_name",
+ "name": "repo_git",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "release_name",
+ "oldName": "repo_git",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -30189,17 +29999,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "release_description",
+ "name": "repo_path",
"type": "varchar",
- "length": 0,
+ "length": 256,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "'NULL'::character varying",
"comment": "",
- "oldName": "release_description",
+ "oldName": "repo_path",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -30219,17 +30029,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "release_author",
+ "name": "repo_name",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "'NULL'::character varying",
"comment": "",
- "oldName": "release_author",
+ "oldName": "repo_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -30249,17 +30059,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "release_created_at",
+ "name": "repo_added",
"type": "timestamp",
- "length": 6,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "release_created_at",
+ "oldName": "repo_added",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -30279,22 +30089,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "release_published_at",
- "type": "timestamp",
- "length": 6,
+ "name": "repo_status",
+ "type": "varchar",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "default",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "'New'::character varying",
"comment": "",
- "oldName": "release_published_at",
+ "oldName": "repo_status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
@@ -30309,22 +30119,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "release_updated_at",
- "type": "timestamp",
- "length": 6,
+ "name": "repo_type",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "release_updated_at",
+ "defaultType": "Others",
+ "defaultValue": "''::character varying",
+ "comment": "This field is intended to indicate if the repository is the \"main instance\" of a repository in cases where implementations choose to add the same repository to more than one repository group. In cases where the repository group is of rg_type Github Organization then this repo_type should be \"primary\". In other cases the repo_type should probably be \"user created\". We made this a varchar in order to hold open the possibility that there are additional repo_types we have not thought about. ",
+ "oldName": "repo_type",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
@@ -30339,22 +30149,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "release_is_draft",
- "type": "bool",
- "length": 0,
+ "name": "url",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "release_is_draft",
+ "oldName": "url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
@@ -30362,16 +30172,16 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": 0,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": 0,
"isIdentityCycle": false
},
{
"objectType": "TableField_PGSQL",
- "name": "release_is_prerelease",
- "type": "bool",
- "length": 0,
+ "name": "owner_id",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -30379,7 +30189,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "release_is_prerelease",
+ "oldName": "owner_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -30392,6 +30202,36 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
+ "hasNoIdentityMinValue": 0,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": true,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "description",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "description",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 11,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
@@ -30399,7 +30239,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "release_tag_name",
+ "name": "primary_language",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -30409,13 +30249,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "release_tag_name",
+ "oldName": "primary_language",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 11,
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -30429,7 +30269,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "release_url",
+ "name": "created_at",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -30439,13 +30279,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "release_url",
+ "oldName": "created_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 12,
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -30459,8 +30299,38 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tag_only",
- "type": "bool",
+ "name": "forked_from",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "forked_from",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 14,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "updated_at",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
@@ -30469,13 +30339,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tag_only",
+ "oldName": "updated_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 17,
+ "ordinalPosition": 15,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -30505,7 +30375,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 13,
+ "ordinalPosition": 16,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -30535,7 +30405,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 14,
+ "ordinalPosition": 17,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -30565,7 +30435,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 15,
+ "ordinalPosition": 18,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -30581,13 +30451,13 @@
"objectType": "TableField_PGSQL",
"name": "data_collection_date",
"type": "timestamp",
- "length": 6,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
"oldName": "data_collection_date",
"typeOID": 1,
@@ -30595,7 +30465,67 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 16,
+ "ordinalPosition": 19,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "repo_archived",
+ "type": "int4",
+ "length": 32,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "repo_archived",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 20,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "repo_archived_date_collected",
+ "type": "timestamptz",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "repo_archived_date_collected",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 21,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -30608,42 +30538,292 @@
"isIdentityCycle": false
}
],
- "indexes": [],
+ "indexes": [
+ {
+ "objectType": "Index_PGSQL",
+ "name": "forked",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "forked",
+ "oid": 15487986,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "repo",
+ "size": "16",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "forked_from",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "forked_from",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "repo_idx_repo_id_repo_namex",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "repo_idx_repo_id_repo_namex",
+ "oid": 15488443,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "repo",
+ "size": "16",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_name",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_name",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "repogitindexrep",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "repogitindexrep",
+ "oid": 15487895,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "repo",
+ "size": "16",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_git",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_git",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "reponameindex",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "Hash",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "reponameindex",
+ "oid": 15487897,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "repo",
+ "size": "32",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_name",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_name",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "reponameindexbtree",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "reponameindexbtree",
+ "oid": 15487898,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "repo",
+ "size": "16",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_name",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_name",
+ "collationSchema": "pg_catalog"
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "rggrouponrepoindex",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": false,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "rggrouponrepoindex",
+ "oid": 15487885,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "repo",
+ "size": "16",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_group_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_group_id",
+ "collationSchema": ""
+ }
+ ]
+ },
+ {
+ "objectType": "Index_PGSQL",
+ "name": "therepo",
+ "comment": "",
+ "isClustered": false,
+ "isConcurrently": false,
+ "isUnique": true,
+ "fastUpdate": "",
+ "buffering": "",
+ "fillFactor": -1,
+ "method": "BTree",
+ "tableSpaceName": "",
+ "constraint": "",
+ "oldName": "therepo",
+ "oid": 15487008,
+ "owner": "augur",
+ "brinPagesPerRange": -1,
+ "ginPendingListLimit": -1,
+ "tableName": "repo",
+ "size": "16",
+ "fields": [
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_id",
+ "collationSchema": ""
+ }
+ ]
+ }
+ ],
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "releases_pkey",
+ "name": "repounique",
"fields": [
- "release_id"
+ "repo_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "releases_pkey"
+ "oldName": "repounique"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_releases_repo_1",
+ "name": "fk_repo_repo_groups_1",
"fields": [
- "repo_id"
+ "repo_group_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "repo",
+ "referenceTable": "repo_groups",
"referenceFields": [
- "repo_id"
+ "repo_group_id"
],
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
- "comment": "",
+ "comment": "Repo_groups cardinality set to one and only one because, although in theory there could be more than one repo group for a repo, this might create dependencies in hosted situation that we do not want to live with. ",
"isMatchFull": false,
"isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_releases_repo_1"
+ "oldName": "fk_repo_repo_groups_1"
}
],
"uniques": [],
@@ -30655,17 +30835,17 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "repo",
- "comment": "This table is a combination of the columns in Facade’s repo table and GHTorrent’s projects table. ",
+ "name": "repo_badging",
+ "comment": "This will be collected from the LF’s Badging API\nhttps://bestpractices.coreinfrastructure.org/projects.json?pq=https%3A%2F%2Fgithub.com%2Fchaoss%2Faugur\n",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "repo",
- "oid": 191871,
- "rows": 1,
+ "oldName": "repo_badging",
+ "oid": 15486744,
+ "rows": 21,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -30681,7 +30861,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "repo_id",
+ "name": "badge_collection_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -30689,9 +30869,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.repo_repo_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.repo_badging_badge_collection_id_seq'::regclass)",
"comment": "",
- "oldName": "repo_id",
+ "oldName": "badge_collection_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -30711,17 +30891,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_group_id",
+ "name": "repo_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_group_id",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -30741,23 +30921,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_git",
- "type": "varchar",
+ "name": "created_at",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "repo_git",
+ "oldName": "created_at",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 3,
+ "collationSchema": "",
+ "ordinalPosition": 137,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -30771,23 +30951,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_path",
+ "name": "tool_source",
"type": "varchar",
- "length": 256,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "'NULL'::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "repo_path",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 288,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -30801,53 +30981,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_name",
+ "name": "tool_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "'NULL'::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "repo_name",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "repo_added",
- "type": "timestamp",
- "length": 0,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
- "comment": "",
- "oldName": "repo_added",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 6,
+ "ordinalPosition": 289,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -30861,23 +31011,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_status",
+ "name": "data_source",
"type": "varchar",
- "length": 32,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "'New'::character varying",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "repo_status",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 290,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -30891,23 +31041,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_type",
- "type": "varchar",
+ "name": "data_collection_date",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "Others",
- "defaultValue": "''::character varying",
- "comment": "This field is intended to indicate if the repository is the \"main instance\" of a repository in cases where implementations choose to add the same repository to more than one repository group. In cases where the repository group is of rg_type Github Organization then this repo_type should be \"primary\". In other cases the repo_type should probably be \"user created\". We made this a varchar in order to hold open the possibility that there are additional repo_types we have not thought about. ",
- "oldName": "repo_type",
+ "defaultValue": "CURRENT_TIMESTAMP",
+ "comment": "",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "collationSchema": "",
+ "ordinalPosition": 291,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -30921,39 +31071,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "url",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "url",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 9,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": 0,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": 0,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "owner_id",
- "type": "int4",
- "length": 32,
+ "name": "data",
+ "type": "jsonb",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -30961,13 +31081,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "owner_id",
+ "oldName": "data",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 10,
+ "ordinalPosition": 292,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -30976,118 +31096,100 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": true,
+ "hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "description",
- "type": "varchar",
- "length": 0,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "description",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 11,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "primary_language",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "primary_language",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 12,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "repo_badging_pkey",
+ "fields": [
+ "badge_collection_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "repo_badging_pkey"
+ },
+ "foreignKeys": [
{
- "objectType": "TableField_PGSQL",
- "name": "created_at",
- "type": "varchar",
- "length": 255,
- "decimals": 0,
- "dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_repo_badging_repo_1",
+ "fields": [
+ "repo_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "repo",
+ "referenceFields": [
+ "repo_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
"comment": "",
- "oldName": "created_at",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 13,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_repo_badging_repo_1"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "repo_cluster_messages",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "repo_cluster_messages",
+ "oid": 15488025,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "forked_from",
- "type": "varchar",
- "length": 0,
+ "name": "msg_cluster_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.repo_cluster_messages_msg_cluster_id_seq'::regclass)",
"comment": "",
- "oldName": "forked_from",
+ "oldName": "msg_cluster_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 14,
+ "collationSchema": "",
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -31101,9 +31203,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "updated_at",
- "type": "timestamp",
- "length": 0,
+ "name": "repo_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -31111,13 +31213,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "updated_at",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 15,
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -31131,7 +31233,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_archived",
+ "name": "cluster_content",
"type": "int4",
"length": 32,
"decimals": 0,
@@ -31141,13 +31243,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_archived",
+ "oldName": "cluster_content",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 20,
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -31161,9 +31263,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_archived_date_collected",
- "type": "timestamptz",
- "length": 0,
+ "name": "cluster_mechanism",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -31171,13 +31273,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_archived_date_collected",
+ "oldName": "cluster_mechanism",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 21,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -31193,7 +31295,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -31207,7 +31309,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 16,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -31223,7 +31325,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_version",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -31237,7 +31339,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 17,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -31253,7 +31355,7 @@
"objectType": "TableField_PGSQL",
"name": "data_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -31267,7 +31369,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 18,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -31288,8 +31390,8 @@
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
"oldName": "data_collection_date",
"typeOID": 1,
@@ -31297,7 +31399,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 19,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -31310,292 +31412,42 @@
"isIdentityCycle": false
}
],
- "indexes": [
- {
- "objectType": "Index_PGSQL",
- "name": "forked",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "forked",
- "oid": 203717,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "repo",
- "size": "16",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "forked_from",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "forked_from",
- "collationSchema": "pg_catalog"
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "repo_idx_repo_id_repo_namex",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "repo_idx_repo_id_repo_namex",
- "oid": 203917,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "repo",
- "size": "16",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_name",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_name",
- "collationSchema": "pg_catalog"
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "repogitindexrep",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "repogitindexrep",
- "oid": 203931,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "repo",
- "size": "16",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_git",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_git",
- "collationSchema": "pg_catalog"
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "reponameindex",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "Hash",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "reponameindex",
- "oid": 203933,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "repo",
- "size": "32",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_name",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_name",
- "collationSchema": "pg_catalog"
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "reponameindexbtree",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "reponameindexbtree",
- "oid": 203937,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "repo",
- "size": "16",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_name",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_name",
- "collationSchema": "pg_catalog"
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "rggrouponrepoindex",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "rggrouponrepoindex",
- "oid": 203948,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "repo",
- "size": "16",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_group_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_group_id",
- "collationSchema": ""
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "therepo",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": true,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "therepo",
- "oid": 203962,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "repo",
- "size": "16",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- }
- ]
- }
- ],
+ "indexes": [],
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "repounique",
+ "name": "repo_cluster_messages_pkey",
"fields": [
- "repo_id"
+ "msg_cluster_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "repounique"
+ "oldName": "repo_cluster_messages_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_repo_repo_groups_1",
+ "name": "fk_repo_cluster_messages_repo_1",
"fields": [
- "repo_group_id"
+ "repo_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "repo_groups",
+ "referenceTable": "repo",
"referenceFields": [
- "repo_group_id"
+ "repo_id"
],
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
- "comment": "Repo_groups cardinality set to one and only one because, although in theory there could be more than one repo group for a repo, this might create dependencies in hosted situation that we do not want to live with. ",
+ "comment": "",
"isMatchFull": false,
"isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_repo_repo_groups_1"
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_repo_cluster_messages_repo_1"
}
],
"uniques": [],
@@ -31607,16 +31459,16 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "commits",
- "comment": "Starts with augur.analysis_data table and incorporates GHTorrent commit table attributes if different. \nCmt_id is from get\nThe author and committer ID’s are at the bottom of the table and not required for now because we want to focus on the facade schema’s properties over the ghtorrent properties when they are in conflict. ",
+ "name": "repo_dependencies",
+ "comment": "Contains the dependencies for a repo.",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "commits",
- "oid": 186548,
+ "oldName": "repo_dependencies",
+ "oid": 15488515,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -31633,7 +31485,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "cmt_id",
+ "name": "repo_dependencies_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -31641,9 +31493,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.commits_cmt_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.repo_dependencies_repo_dependencies_id_seq'::regclass)",
"comment": "",
- "oldName": "cmt_id",
+ "oldName": "repo_dependencies_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -31669,10 +31521,10 @@
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
+ "comment": "Forign key for repo id. ",
"oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
@@ -31693,17 +31545,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_commit_hash",
+ "name": "dep_name",
"type": "varchar",
- "length": 80,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "cmt_commit_hash",
+ "comment": "Name of the dependancy found in project. ",
+ "oldName": "dep_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -31723,22 +31575,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_author_name",
- "type": "varchar",
- "length": 128,
+ "name": "dep_count",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": false,
+ "collation": "",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "cmt_author_name",
+ "comment": "Number of times the dependancy was found. ",
+ "oldName": "dep_count",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
@@ -31753,17 +31605,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_author_raw_email",
+ "name": "dep_language",
"type": "varchar",
- "length": 128,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "cmt_author_raw_email",
+ "comment": "Language of the dependancy. ",
+ "oldName": "dep_language",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -31783,17 +31635,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_author_email",
+ "name": "tool_source",
"type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cmt_author_email",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -31813,17 +31665,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_author_date",
+ "name": "tool_version",
"type": "varchar",
- "length": 10,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cmt_author_date",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -31843,17 +31695,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_author_affiliation",
+ "name": "data_source",
"type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "'NULL'::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cmt_author_affiliation",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -31873,22 +31725,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_committer_name",
- "type": "varchar",
+ "name": "data_collection_date",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "cmt_committer_name",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
@@ -31900,26 +31752,98 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "repo_dependencies_pkey",
+ "fields": [
+ "repo_dependencies_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "repo_dependencies_pkey"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "repo_id",
+ "fields": [
+ "repo_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "repo",
+ "referenceFields": [
+ "repo_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "repo_id"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "repo_deps_scorecard",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "repo_deps_scorecard",
+ "oid": 15488566,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "cmt_committer_raw_email",
- "type": "varchar",
- "length": 0,
+ "name": "repo_deps_scorecard_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.repo_deps_scorecard_repo_deps_scorecard_id_seq1'::regclass)",
"comment": "",
- "oldName": "cmt_committer_raw_email",
+ "oldName": "repo_deps_scorecard_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 10,
+ "collationSchema": "",
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -31933,23 +31857,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_committer_email",
- "type": "varchar",
- "length": 0,
+ "name": "repo_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": false,
+ "collation": "",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cmt_committer_email",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 11,
+ "collationSchema": "",
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -31963,23 +31887,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_committer_date",
+ "name": "name",
"type": "varchar",
- "length": 10,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cmt_committer_date",
+ "oldName": "name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 12,
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -31993,23 +31917,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_committer_affiliation",
+ "name": "status",
"type": "varchar",
- "length": 128,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "'NULL'::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cmt_committer_affiliation",
+ "oldName": "status",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 13,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -32023,23 +31947,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_added",
- "type": "int4",
- "length": 32,
+ "name": "score",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cmt_added",
+ "oldName": "score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 14,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -32053,23 +31977,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_removed",
- "type": "int4",
- "length": 32,
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cmt_removed",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 15,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -32083,23 +32007,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_whitespace",
- "type": "int4",
- "length": 32,
+ "name": "tool_version",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cmt_whitespace",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 16,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -32113,23 +32037,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_filename",
+ "name": "data_source",
"type": "varchar",
- "length": 4096,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cmt_filename",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 17,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -32143,23 +32067,125 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_date_attempted",
+ "name": "data_collection_date",
"type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
+ "comment": "",
+ "oldName": "data_collection_date",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 9,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "repo_deps_scorecard_pkey1",
+ "fields": [
+ "repo_deps_scorecard_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "repo_deps_scorecard_pkey1"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "repo_id",
+ "fields": [
+ "repo_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "repo",
+ "referenceFields": [
+ "repo_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "repo_id"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "repo_group_insights",
+ "comment": "This table is output from an analytical worker inside of Augur. It runs through the different metrics on a REPOSITORY_GROUP and identifies the five to ten most “interesting” metrics as defined by some kind of delta or other factor. The algorithm is going to evolve. \n\nWorker Design Notes: The idea is that the \"insight worker\" will scan through a bunch of active metrics or \"synthetic metrics\" to list the most important insights. ",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "repo_group_insights",
+ "oid": 15486759,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "rgi_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
"isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.repo_group_insights_rgi_id_seq'::regclass)",
"comment": "",
- "oldName": "cmt_date_attempted",
+ "oldName": "rgi_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 18,
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -32173,9 +32199,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_ght_author_id",
- "type": "int4",
- "length": 32,
+ "name": "repo_group_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -32183,13 +32209,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cmt_ght_author_id",
+ "oldName": "repo_group_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 19,
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -32203,23 +32229,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_ght_committer_id",
- "type": "int4",
- "length": 32,
+ "name": "rgi_metric",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cmt_ght_committer_id",
+ "oldName": "rgi_metric",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 20,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -32233,23 +32259,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_ght_committed_at",
- "type": "timestamp",
+ "name": "rgi_value",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cmt_ght_committed_at",
+ "oldName": "rgi_value",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 21,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -32263,9 +32289,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_author_timestamp",
- "type": "timestamptz",
- "length": 0,
+ "name": "cms_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -32273,13 +32299,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cmt_author_timestamp",
+ "oldName": "cms_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 26,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -32293,8 +32319,8 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_committer_timestamp",
- "type": "timestamptz",
+ "name": "rgi_fresh",
+ "type": "bool",
"length": 0,
"decimals": 0,
"dimensions": 0,
@@ -32302,14 +32328,14 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "cmt_committer_timestamp",
+ "comment": "false if the date is before the statistic that triggered the insight, true if after. This allows us to automatically display only \"fresh insights\" and avoid displaying \"stale insights\". The insight worker will populate this table. ",
+ "oldName": "rgi_fresh",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 27,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -32325,7 +32351,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -32339,7 +32365,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 22,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -32355,7 +32381,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_version",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -32369,7 +32395,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 23,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -32385,7 +32411,7 @@
"objectType": "TableField_PGSQL",
"name": "data_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -32399,7 +32425,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 24,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -32429,7 +32455,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 25,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -32442,236 +32468,446 @@
"isIdentityCycle": false
}
],
- "indexes": [
- {
- "objectType": "Index_PGSQL",
- "name": "author_affiliation",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "Hash",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "author_affiliation",
- "oid": 203520,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "32",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_affiliation",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_affiliation",
- "collationSchema": "pg_catalog"
- }
- ]
- },
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "repo_group_insights_pkey",
+ "fields": [
+ "rgi_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "repo_group_insights_pkey"
+ },
+ "foreignKeys": [
{
- "objectType": "Index_PGSQL",
- "name": "author_cntrb_id",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "author_cntrb_id",
- "oid": 203523,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_repo_group_insights_repo_groups_1",
"fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_ght_author_id",
- "collation": "",
- "opClass": "int4_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_ght_author_id",
- "collationSchema": ""
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "author_email,author_affiliation,author_date",
+ "repo_group_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "repo_groups",
+ "referenceFields": [
+ "repo_group_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "author_email,author_affiliation,author_date",
- "oid": 203526,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_email",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_affiliation",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_affiliation",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_date",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_date",
- "collationSchema": "pg_catalog"
- }
- ]
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_repo_group_insights_repo_groups_1"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "repo_groups",
+ "comment": "rg_type is intended to be either a GitHub Organization or a User Created Repo Group. ",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "repo_groups",
+ "oid": 15486767,
+ "rows": 1,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "repo_group_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.repo_groups_repo_group_id_seq'::regclass)",
+ "comment": "",
+ "oldName": "repo_group_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 1,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "author_raw_email",
+ "objectType": "TableField_PGSQL",
+ "name": "rg_name",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "author_raw_email",
- "oid": 203527,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_raw_email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_raw_email",
- "collationSchema": "pg_catalog"
- }
- ]
+ "oldName": "rg_name",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 2,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "cmt-author-date-idx2",
+ "objectType": "TableField_PGSQL",
+ "name": "rg_description",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "'NULL'::character varying",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "cmt-author-date-idx2",
- "oid": 203543,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_date",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_date",
- "collationSchema": "pg_catalog"
- }
- ]
+ "oldName": "rg_description",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 3,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "rg_website",
+ "type": "varchar",
+ "length": 128,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "'NULL'::character varying",
+ "comment": "",
+ "oldName": "rg_website",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 4,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "rg_recache",
+ "type": "int2",
+ "length": 16,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "1",
+ "comment": "",
+ "oldName": "rg_recache",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 5,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "rg_last_modified",
+ "type": "timestamp",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
+ "comment": "",
+ "oldName": "rg_last_modified",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 6,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "rg_type",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "rg_type",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 7,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "tool_source",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 8,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "tool_version",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "tool_version",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 9,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "data_source",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "data_source",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 10,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "data_collection_date",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 11,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ }
+ ],
+ "indexes": [
{
"objectType": "Index_PGSQL",
- "name": "cmt-committer-date-idx3",
+ "name": "rgidm",
"comment": "",
"isClustered": false,
"isConcurrently": false,
- "isUnique": false,
+ "isUnique": true,
"fastUpdate": "",
"buffering": "",
"fillFactor": -1,
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "cmt-committer-date-idx3",
- "oid": 203544,
+ "oldName": "rgidm",
+ "oid": 15487015,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
+ "tableName": "repo_groups",
+ "size": "16",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "cmt_committer_date",
- "collation": "default",
- "opClass": "text_ops",
+ "name": "repo_group_id",
+ "collation": "",
+ "opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "cmt_committer_date",
- "collationSchema": "pg_catalog"
+ "oldName": "repo_group_id",
+ "collationSchema": ""
}
]
},
{
"objectType": "Index_PGSQL",
- "name": "cmt_author-name-idx5",
+ "name": "rgnameindex",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -32682,815 +32918,1564 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "cmt_author-name-idx5",
- "oid": 203548,
+ "oldName": "rgnameindex",
+ "oid": 15487899,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
+ "tableName": "repo_groups",
+ "size": "16",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "cmt_committer_name",
+ "name": "rg_name",
"collation": "default",
"opClass": "text_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "cmt_committer_name",
- "collationSchema": "pg_catalog"
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "cmt_author_contrib_worker",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BRIN",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "cmt_author_contrib_worker",
- "oid": 203554,
- "owner": "augur",
- "brinPagesPerRange": 64,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "24",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_name",
- "collation": "default",
- "opClass": "text_minmax_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_name",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_email",
- "collation": "default",
- "opClass": "text_minmax_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_email",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_date",
- "collation": "default",
- "opClass": "text_minmax_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_date",
+ "oldName": "rg_name",
"collationSchema": "pg_catalog"
}
]
+ }
+ ],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "rgid",
+ "fields": [
+ "repo_group_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "rgid"
+ },
+ "foreignKeys": [],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "repo_groups_list_serve",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "repo_groups_list_serve",
+ "oid": 15486778,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "rgls_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.repo_groups_list_serve_rgls_id_seq'::regclass)",
+ "comment": "",
+ "oldName": "rgls_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 1,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "cmt_cmmter-name-idx4",
+ "objectType": "TableField_PGSQL",
+ "name": "repo_group_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "cmt_cmmter-name-idx4",
- "oid": 203565,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_name",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_name",
- "collationSchema": "pg_catalog"
- }
- ]
+ "oldName": "repo_group_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 2,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "cmt_commiter_contrib_worker",
+ "objectType": "TableField_PGSQL",
+ "name": "rgls_name",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BRIN",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "cmt_commiter_contrib_worker",
- "oid": 203585,
- "owner": "augur",
- "brinPagesPerRange": 64,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "24",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_name",
- "collation": "default",
- "opClass": "text_minmax_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_name",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_email",
- "collation": "default",
- "opClass": "text_minmax_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_email",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_date",
- "collation": "default",
- "opClass": "text_minmax_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_date",
- "collationSchema": "pg_catalog"
- }
- ]
+ "oldName": "rgls_name",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 3,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "rgls_description",
+ "type": "varchar",
+ "length": 3000,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "rgls_description",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 4,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "rgls_sponsor",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "rgls_sponsor",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 5,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "rgls_email",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "rgls_email",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 6,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "tool_source",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 7,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "tool_version",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "tool_version",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 8,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "data_source",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "data_source",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 9,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "data_collection_date",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 10,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ }
+ ],
+ "indexes": [
{
"objectType": "Index_PGSQL",
- "name": "commited",
+ "name": "lister",
"comment": "",
"isClustered": false,
"isConcurrently": false,
- "isUnique": false,
+ "isUnique": true,
"fastUpdate": "",
"buffering": "",
"fillFactor": -1,
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "commited",
- "oid": 203623,
+ "oldName": "lister",
+ "oid": 15487018,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "commits",
+ "tableName": "repo_groups_list_serve",
"size": "8",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "cmt_id",
+ "name": "rgls_id",
"collation": "",
"opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "cmt_id",
+ "oldName": "rgls_id",
"collationSchema": ""
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "commits_idx_cmt_email_cmt_date_cmt_name",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "commits_idx_cmt_email_cmt_date_cmt_name",
- "oid": 203636,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
- "fields": [
+ },
{
"objectType": "IndexField_PGSQL",
- "name": "cmt_author_email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_email",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_date",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_date",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_name",
- "collation": "default",
- "opClass": "text_ops",
+ "name": "repo_group_id",
+ "collation": "",
+ "opClass": "int8_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "cmt_author_name",
- "collationSchema": "pg_catalog"
+ "oldName": "repo_group_id",
+ "collationSchema": ""
}
]
- },
+ }
+ ],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "repo_groups_list_serve_pkey",
+ "fields": [
+ "rgls_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "repo_groups_list_serve_pkey"
+ },
+ "foreignKeys": [
{
- "objectType": "Index_PGSQL",
- "name": "commits_idx_cmt_email_cmt_date_cmt_name2",
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_repo_groups_list_serve_repo_groups_1",
+ "fields": [
+ "repo_group_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "repo_groups",
+ "referenceFields": [
+ "repo_group_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "commits_idx_cmt_email_cmt_date_cmt_name2",
- "oid": 203644,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_repo_groups_list_serve_repo_groups_1"
+ }
+ ],
+ "uniques": [
+ {
+ "objectType": "Unique_PGSQL",
+ "name": "rglistserve",
"fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_email",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_date",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_date",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_name",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_name",
- "collationSchema": "pg_catalog"
- }
- ]
+ "rgls_id",
+ "repo_group_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "rglistserve"
+ }
+ ],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "repo_info",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "repo_info",
+ "oid": 15486785,
+ "rows": 42,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "repo_info_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.repo_info_repo_info_id_seq'::regclass)",
+ "comment": "",
+ "oldName": "repo_info_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 1,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "commits_idx_cmt_name_cmt_date2",
+ "objectType": "TableField_PGSQL",
+ "name": "repo_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "commits_idx_cmt_name_cmt_date2",
- "oid": 203645,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_name",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_name",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_date",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_date",
- "collationSchema": "pg_catalog"
- }
- ]
+ "oldName": "repo_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 2,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "commits_idx_cmt_name_cmt_date_cmt_date3",
+ "objectType": "TableField_PGSQL",
+ "name": "last_updated",
+ "type": "timestamp",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::timestamp without time zone",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "commits_idx_cmt_name_cmt_date_cmt_date3",
- "oid": 203654,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_name",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_name",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_date",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_date",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_date",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_date",
- "collationSchema": "pg_catalog"
- }
- ]
+ "oldName": "last_updated",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 3,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam",
+ "objectType": "TableField_PGSQL",
+ "name": "issues_enabled",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam",
- "oid": 203655,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_email",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_date",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_date",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_name",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_name",
- "collationSchema": "pg_catalog"
- }
- ]
+ "oldName": "issues_enabled",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 4,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "open_issues",
+ "type": "int4",
+ "length": 32,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "open_issues",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 5,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pull_requests_enabled",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "pull_requests_enabled",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 6,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "wiki_enabled",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "wiki_enabled",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 7,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pages_enabled",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "pages_enabled",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 8,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "fork_count",
+ "type": "int4",
+ "length": 32,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "fork_count",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 9,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "default_branch",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "default_branch",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 10,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "watchers_count",
+ "type": "int4",
+ "length": 32,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "watchers_count",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 11,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "UUID",
+ "type": "int4",
+ "length": 32,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "UUID",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 12,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "license",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "license",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 13,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "stars_count",
+ "type": "int4",
+ "length": 32,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "stars_count",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 14,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "committers_count",
+ "type": "int4",
+ "length": 32,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "committers_count",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 15,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "issue_contributors_count",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "issue_contributors_count",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 16,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "changelog_file",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "changelog_file",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 17,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "contributing_file",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "contributing_file",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 18,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "license_file",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "license_file",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 19,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "code_of_conduct_file",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "code_of_conduct_file",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 20,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "security_issue_file",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "security_issue_file",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 21,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "security_audit_file",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "security_audit_file",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 22,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "status",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "status",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 23,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "keywords",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "keywords",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 24,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "tool_source",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 25,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "tool_version",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "tool_version",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 26,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "data_source",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "data_source",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 27,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
+ "comment": "",
+ "oldName": "data_collection_date",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 28,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam2",
+ "objectType": "TableField_PGSQL",
+ "name": "commit_count",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam2",
- "oid": 203658,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_email",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_date",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_date",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_name",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_name",
- "collationSchema": "pg_catalog"
- }
- ]
+ "oldName": "commit_count",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 29,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat2",
+ "objectType": "TableField_PGSQL",
+ "name": "issues_count",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat2",
- "oid": 203666,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_email",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_name",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_name",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_date",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_date",
- "collationSchema": "pg_catalog"
- }
- ]
+ "oldName": "issues_count",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 30,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat3",
+ "objectType": "TableField_PGSQL",
+ "name": "issues_closed",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat3",
- "oid": 203673,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "repo_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "repo_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_email",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_name",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_name",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_author_date",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_author_date",
- "collationSchema": "pg_catalog"
- }
- ]
+ "oldName": "issues_closed",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 31,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "committer_affiliation",
+ "objectType": "TableField_PGSQL",
+ "name": "pull_request_count",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "committer_affiliation",
- "oid": 203676,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_affiliation",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_affiliation",
- "collationSchema": "pg_catalog"
- }
- ]
+ "oldName": "pull_request_count",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 32,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "committer_cntrb_id",
+ "objectType": "TableField_PGSQL",
+ "name": "pull_requests_open",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "committer_cntrb_id",
- "oid": 203679,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_ght_committer_id",
- "collation": "",
- "opClass": "int4_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_ght_committer_id",
- "collationSchema": ""
- }
- ]
+ "oldName": "pull_requests_open",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 33,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "committer_email,committer_affiliation,committer_date",
+ "objectType": "TableField_PGSQL",
+ "name": "pull_requests_closed",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "committer_email,committer_affiliation,committer_date",
- "oid": 203680,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_email",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_affiliation",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_affiliation",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_committer_date",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_committer_date",
- "collationSchema": "pg_catalog"
- }
- ]
+ "oldName": "pull_requests_closed",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 34,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "pull_requests_merged",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "pull_requests_merged",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 35,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ }
+ ],
+ "indexes": [
{
"objectType": "Index_PGSQL",
- "name": "committer_raw_email",
+ "name": "repo_info_idx_repo_id_data_date_1x",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -33501,30 +34486,41 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "committer_raw_email",
- "oid": 203686,
+ "oldName": "repo_info_idx_repo_id_data_date_1x",
+ "oid": 15488445,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
+ "tableName": "repo_info",
+ "size": "16",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "cmt_committer_raw_email",
- "collation": "default",
- "opClass": "text_ops",
+ "name": "repo_id",
+ "collation": "",
+ "opClass": "int8_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "repo_id",
+ "collationSchema": ""
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "data_collection_date",
+ "collation": "",
+ "opClass": "timestamp_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "cmt_committer_raw_email",
- "collationSchema": "pg_catalog"
+ "oldName": "data_collection_date",
+ "collationSchema": ""
}
]
},
{
"objectType": "Index_PGSQL",
- "name": "repo_id,commit",
+ "name": "repo_info_idx_repo_id_data_datex",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -33535,13 +34531,13 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "repo_id,commit",
- "oid": 203888,
+ "oldName": "repo_info_idx_repo_id_data_datex",
+ "oid": 15488444,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "commits",
- "size": "8",
+ "tableName": "repo_info",
+ "size": "16",
"fields": [
{
"objectType": "IndexField_PGSQL",
@@ -33556,14 +34552,14 @@
},
{
"objectType": "IndexField_PGSQL",
- "name": "cmt_commit_hash",
- "collation": "default",
- "opClass": "text_ops",
+ "name": "data_collection_date",
+ "collation": "",
+ "opClass": "timestamp_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "cmt_commit_hash",
- "collationSchema": "pg_catalog"
+ "oldName": "data_collection_date",
+ "collationSchema": ""
}
]
}
@@ -33571,63 +34567,21 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "commits_pkey",
+ "name": "repo_info_pkey",
"fields": [
- "cmt_id"
+ "repo_info_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "commits_pkey"
+ "oldName": "repo_info_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_commits_contributors_1",
- "fields": [
- "cmt_ght_author_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "contributors",
- "referenceFields": [
- "cntrb_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_commits_contributors_1"
- },
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_commits_contributors_2",
- "fields": [
- "cmt_ght_committer_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "contributors",
- "referenceFields": [
- "cntrb_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_commits_contributors_2"
- },
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_commits_repo_1",
+ "name": "fk_repo_info_repo_1",
"fields": [
"repo_id"
],
@@ -33636,15 +34590,15 @@
"referenceFields": [
"repo_id"
],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
"comment": "",
"isMatchFull": false,
- "isDeferrable": true,
+ "isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_commits_repo_1"
+ "oldName": "fk_repo_info_repo_1"
}
],
"uniques": [],
@@ -33656,17 +34610,17 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "commit_comment_ref",
- "comment": "",
+ "name": "repo_insights",
+ "comment": "This table is output from an analytical worker inside of Augur. It runs through the different metrics on a repository and identifies the five to ten most “interesting” metrics as defined by some kind of delta or other factor. The algorithm is going to evolve. \n\nWorker Design Notes: The idea is that the \"insight worker\" will scan through a bunch of active metrics or \"synthetic metrics\" to list the most important insights. ",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "commit_comment_ref",
- "oid": 186432,
- "rows": 0,
+ "oldName": "repo_insights",
+ "oid": 15486807,
+ "rows": 39,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -33682,7 +34636,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "cmt_comment_id",
+ "name": "ri_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -33690,9 +34644,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.commit_comment_ref_cmt_comment_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.repo_insights_ri_id_seq'::regclass)",
"comment": "",
- "oldName": "cmt_comment_id",
+ "oldName": "ri_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -33712,17 +34666,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_id",
+ "name": "repo_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cmt_id",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -33742,22 +34696,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "msg_id",
- "type": "int8",
- "length": 64,
+ "name": "ri_metric",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "msg_id",
+ "oldName": "ri_metric",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -33772,22 +34726,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "user_id",
- "type": "int8",
- "length": 64,
+ "name": "ri_value",
+ "type": "varchar",
+ "length": 255,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
+ "collation": "default",
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "user_id",
+ "oldName": "ri_value",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
@@ -33802,22 +34756,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "body",
- "type": "text",
+ "name": "ri_date",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "body",
+ "oldName": "ri_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
@@ -33832,17 +34786,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "line",
- "type": "int8",
- "length": 64,
+ "name": "ri_fresh",
+ "type": "bool",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "line",
+ "comment": "false if the date is before the statistic that triggered the insight, true if after. This allows us to automatically display only \"fresh insights\" and avoid displaying \"stale insights\". The insight worker will populate this table. ",
+ "oldName": "ri_fresh",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -33862,22 +34816,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "position",
- "type": "int8",
- "length": 64,
+ "name": "tool_source",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "position",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
@@ -33892,22 +34846,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "created_at",
- "type": "timestamp",
+ "name": "tool_version",
+ "type": "varchar",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "created_at",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
@@ -33922,7 +34876,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "commit_comment_src_node_id",
+ "name": "data_source",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -33931,14 +34885,14 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "For data provenance, we store the source node ID if it exists. ",
- "oldName": "commit_comment_src_node_id",
+ "comment": "",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 14,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -33952,23 +34906,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cmt_comment_src_id",
- "type": "int8",
- "length": 64,
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "For data provenance, we store the source ID if it exists. ",
- "oldName": "cmt_comment_src_id",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
+ "comment": "",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 13,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -33982,23 +34936,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_source",
- "type": "varchar",
- "length": 255,
+ "name": "ri_score",
+ "type": "numeric",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_source",
+ "oldName": "ri_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "collationSchema": "",
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -34012,7 +34966,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "tool_version",
+ "name": "ri_field",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -34022,13 +34976,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "tool_version",
+ "oldName": "ri_field",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 10,
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -34042,7 +34996,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "data_source",
+ "name": "ri_detection_method",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -34052,43 +35006,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "data_source",
+ "oldName": "ri_detection_method",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 11,
- "foreignOptions": [],
- "isIdentity": false,
- "identityGeneration": "None",
- "identityStart": 0,
- "identityIncrement": 0,
- "identityMinimum": 0,
- "hasNoIdentityMinValue": false,
- "identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
- "isIdentityCycle": false
- },
- {
- "objectType": "TableField_PGSQL",
- "name": "data_collection_date",
- "type": "timestamp",
- "length": 0,
- "decimals": 0,
- "dimensions": 0,
- "collation": "",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
- "comment": "",
- "oldName": "data_collection_date",
- "typeOID": 1,
- "fieldObjectType": "",
- "objectTypeSchema": "",
- "isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 12,
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -34101,110 +35025,32 @@
"isIdentityCycle": false
}
],
- "indexes": [
- {
- "objectType": "Index_PGSQL",
- "name": "comment_id",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "comment_id",
- "oid": 203609,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "commit_comment_ref",
- "size": "8",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_comment_src_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_comment_src_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cmt_comment_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cmt_comment_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "msg_id",
- "collation": "",
- "opClass": "int8_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "msg_id",
- "collationSchema": ""
- }
- ]
- }
- ],
+ "indexes": [],
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "commit_comment_ref_pkey",
+ "name": "repo_insights_pkey",
"fields": [
- "cmt_comment_id"
+ "ri_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "commit_comment_ref_pkey"
+ "oldName": "repo_insights_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_commit_comment_ref_commits_1",
- "fields": [
- "cmt_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "commits",
- "referenceFields": [
- "cmt_id"
- ],
- "onDelete": "NO ACTION",
- "onUpdate": "NO ACTION",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_commit_comment_ref_commits_1"
- },
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_commit_comment_ref_message_1",
+ "name": "fk_repo_insights_repo_1",
"fields": [
- "msg_id"
+ "repo_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "message",
+ "referenceTable": "repo",
"referenceFields": [
- "msg_id"
+ "repo_id"
],
"onDelete": "NO ACTION",
"onUpdate": "NO ACTION",
@@ -34213,27 +35059,11 @@
"isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_commit_comment_ref_message_1"
- }
- ],
- "uniques": [
- {
- "objectType": "Unique_PGSQL",
- "name": "commitcomment",
- "fields": [
- "cmt_id",
- "msg_id",
- "cmt_comment_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "commitcomment"
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_repo_insights_repo_1"
}
],
+ "uniques": [],
"checks": [],
"excludes": [],
"triggers": [],
@@ -34242,7 +35072,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "pull_request_assignees",
+ "name": "repo_insights_records",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -34250,9 +35080,9 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "pull_request_assignees",
- "oid": 190434,
- "rows": 0,
+ "oldName": "repo_insights_records",
+ "oid": 15486815,
+ "rows": 3,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -34268,23 +35098,143 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "pr_assignee_map_id",
- "type": "int8",
- "length": 64,
+ "name": "ri_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.repo_insights_records_ri_id_seq'::regclass)",
+ "comment": "Primary key. ",
+ "oldName": "ri_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 1,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "repo_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "Refers to repo table primary key. Will have a foreign key",
+ "oldName": "repo_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 2,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "ri_metric",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "The metric endpoint",
+ "oldName": "ri_metric",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 3,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "ri_field",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "The field in the metric endpoint",
+ "oldName": "ri_field",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 4,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "ri_value",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.pull_request_assignees_pr_assignee_map_id_seq'::regclass)",
- "comment": "",
- "oldName": "pr_assignee_map_id",
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "The value of the endpoint in ri_field",
+ "oldName": "ri_value",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 1,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -34298,23 +35248,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pull_request_id",
- "type": "int8",
- "length": 64,
+ "name": "ri_date",
+ "type": "timestamp",
+ "length": 6,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "pull_request_id",
+ "comment": "The date the insight is for; in other words, some anomaly occurred on this date. ",
+ "oldName": "ri_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 2,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -34328,23 +35278,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "contrib_id",
- "type": "int8",
- "length": 64,
+ "name": "ri_score",
+ "type": "float8",
+ "length": 53,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "contrib_id",
+ "comment": "A Score, derived from the algorithm used. ",
+ "oldName": "ri_score",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 3,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -34358,22 +35308,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_assignee_src_id",
- "type": "int8",
- "length": 64,
+ "name": "ri_detection_method",
+ "type": "varchar",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
- "oldName": "pr_assignee_src_id",
+ "comment": "A confidence interval or other expression of the type of threshold and the value of a threshold met in order for it to be \"an insight\". Example. \"95% confidence interval\". ",
+ "oldName": "ri_detection_method",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
@@ -34390,21 +35340,21 @@
"objectType": "TableField_PGSQL",
"name": "tool_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
+ "comment": "Standard Augur Metadata",
"oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -34420,21 +35370,21 @@
"objectType": "TableField_PGSQL",
"name": "tool_version",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
+ "comment": "Standard Augur Metadata",
"oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -34450,21 +35400,21 @@
"objectType": "TableField_PGSQL",
"name": "data_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "",
+ "comment": "Standard Augur Metadata",
"oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -34480,21 +35430,21 @@
"objectType": "TableField_PGSQL",
"name": "data_collection_date",
"type": "timestamp",
- "length": 0,
+ "length": 6,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
"defaultType": "Others",
"defaultValue": "CURRENT_TIMESTAMP",
- "comment": "",
+ "comment": "Standard Augur Metadata",
"oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 7,
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -34510,7 +35460,7 @@
"indexes": [
{
"objectType": "Index_PGSQL",
- "name": "pr_meta_cntrb-idx",
+ "name": "dater",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -34521,23 +35471,23 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "pr_meta_cntrb-idx",
- "oid": 203821,
+ "oldName": "dater",
+ "oid": 15487027,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "pull_request_assignees",
- "size": "8",
+ "tableName": "repo_insights_records",
+ "size": "16",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "contrib_id",
+ "name": "ri_date",
"collation": "",
- "opClass": "int8_ops",
+ "opClass": "timestamp_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "contrib_id",
+ "oldName": "ri_date",
"collationSchema": ""
}
]
@@ -34546,59 +35496,38 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "pull_request_assignees_pkey",
+ "name": "repo_insights_records_pkey",
"fields": [
- "pr_assignee_map_id"
+ "ri_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "pull_request_assignees_pkey"
+ "oldName": "repo_insights_records_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_assignees_contributors_1",
- "fields": [
- "contrib_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "contributors",
- "referenceFields": [
- "cntrb_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pull_request_assignees_contributors_1"
- },
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_assignees_pull_requests_1",
+ "name": "repo_id_ref",
"fields": [
- "pull_request_id"
+ "repo_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "pull_requests",
+ "referenceTable": "repo",
"referenceFields": [
- "pull_request_id"
+ "repo_id"
],
- "onDelete": "RESTRICT",
+ "onDelete": "SET NULL",
"onUpdate": "CASCADE",
"comment": "",
"isMatchFull": false,
- "isDeferrable": true,
+ "isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pull_request_assignees_pull_requests_1"
+ "oldName": "repo_id_ref"
}
],
"uniques": [],
@@ -34610,16 +35539,16 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "pull_request_commits",
- "comment": "Pull request commits are an enumeration of each commit associated with a pull request. \nNot all pull requests are from a branch or fork into master. \nThe commits table intends to count only commits that end up in the master branch (i.e., part of the deployed code base for a project).\nTherefore, there will be commit “SHA”’s in this table that are no associated with a commit SHA in the commits table. \nIn cases where the PR is to the master branch of a project, you will find a match. In cases where the PR does not involve the master branch, you will not find a corresponding commit SHA in the commits table. This is expected. ",
+ "name": "repo_labor",
+ "comment": "repo_labor is a derivative of tables used to store scc code and complexity counting statistics that are inputs to labor analysis, which are components of CHAOSS value metric calculations. ",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "pull_request_commits",
- "oid": 190491,
+ "oldName": "repo_labor",
+ "oid": 15486823,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -34636,7 +35565,7 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "pr_cmt_id",
+ "name": "repo_labor_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -34644,9 +35573,9 @@
"collation": "",
"isNullable": false,
"defaultType": "Others",
- "defaultValue": "nextval('augur_data.pull_request_commits_pr_cmt_id_seq'::regclass)",
+ "defaultValue": "nextval('augur_data.repo_labor_repo_labor_id_seq'::regclass)",
"comment": "",
- "oldName": "pr_cmt_id",
+ "oldName": "repo_labor_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -34666,7 +35595,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pull_request_id",
+ "name": "repo_id",
"type": "int8",
"length": 64,
"decimals": 0,
@@ -34676,7 +35605,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pull_request_id",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -34696,22 +35625,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_cmt_sha",
- "type": "varchar",
+ "name": "repo_clone_date",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "This is the commit SHA for a pull request commit. If the PR is not to the master branch of the main repository (or, in rare cases, from it), then you will NOT find a corresponding commit SHA in the commit table. (see table comment for further explanation). ",
- "oldName": "pr_cmt_sha",
+ "comment": "",
+ "oldName": "repo_clone_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -34726,22 +35655,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_cmt_node_id",
- "type": "varchar",
+ "name": "rl_analysis_date",
+ "type": "timestamp",
"length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_cmt_node_id",
+ "oldName": "rl_analysis_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
@@ -34756,17 +35685,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_cmt_message",
+ "name": "programming_language",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
"comment": "",
- "oldName": "pr_cmt_message",
+ "oldName": "programming_language",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -34786,9 +35715,69 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_cmt_comments_url",
- "type": "varbit",
- "length": 0,
+ "name": "file_path",
+ "type": "varchar",
+ "length": 500,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "file_path",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 6,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "file_name",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "",
+ "oldName": "file_name",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 7,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "total_lines",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -34796,13 +35785,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_cmt_comments_url",
+ "oldName": "total_lines",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 6,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -34816,9 +35805,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_cmt_author_cntrb_id",
- "type": "int8",
- "length": 64,
+ "name": "code_lines",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -34826,7 +35815,67 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_cmt_author_cntrb_id",
+ "oldName": "code_lines",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 9,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "comment_lines",
+ "type": "int4",
+ "length": 32,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "comment_lines",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 10,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "blank_lines",
+ "type": "int4",
+ "length": 32,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "blank_lines",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -34846,9 +35895,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_cmt_timestamp",
- "type": "timestamp",
- "length": 0,
+ "name": "code_complexity",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -34856,7 +35905,7 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "pr_cmt_timestamp",
+ "oldName": "code_complexity",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -34876,17 +35925,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "pr_cmt_author_email",
+ "name": "repo_url",
"type": "varchar",
- "length": 0,
+ "length": 500,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "",
- "oldName": "pr_cmt_author_email",
+ "defaultType": "Others",
+ "defaultValue": "NULL::character varying",
+ "comment": "This is a convenience column to simplify analysis against external datasets",
+ "oldName": "repo_url",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -34908,7 +35957,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -34922,7 +35971,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 7,
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -34938,7 +35987,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -34952,7 +36001,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 8,
+ "ordinalPosition": 15,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -34968,7 +36017,7 @@
"objectType": "TableField_PGSQL",
"name": "data_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -34982,7 +36031,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "ordinalPosition": 16,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35003,8 +36052,8 @@
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "CURRENT_TIMESTAMP",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
"oldName": "data_collection_date",
"typeOID": 1,
@@ -35012,7 +36061,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 10,
+ "ordinalPosition": 17,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35029,59 +36078,38 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "pull_request_commits_pkey",
+ "name": "repo_labor_pkey",
"fields": [
- "pr_cmt_id"
+ "repo_labor_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "pull_request_commits_pkey"
+ "oldName": "repo_labor_pkey"
},
"foreignKeys": [
{
"objectType": "ForeignKey_PGSQL",
- "name": "fk_pr_commit_cntrb_id",
- "fields": [
- "pr_cmt_author_cntrb_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "contributors",
- "referenceFields": [
- "cntrb_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pr_commit_cntrb_id"
- },
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_pull_request_commits_pull_requests_1",
+ "name": "fk_repo_labor_repo_1",
"fields": [
- "pull_request_id"
+ "repo_id"
],
"referenceSchema": "augur_data",
- "referenceTable": "pull_requests",
+ "referenceTable": "repo",
"referenceFields": [
- "pull_request_id"
+ "repo_id"
],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
"comment": "",
"isMatchFull": false,
- "isDeferrable": true,
+ "isDeferrable": false,
"isDeferred": false,
"sourceCardinality": "ZeroOrManyRelationship",
"targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_pull_request_commits_pull_requests_1"
+ "oldName": "fk_repo_labor_repo_1"
}
],
"uniques": [],
@@ -35093,17 +36121,17 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "contributors",
- "comment": "For GitHub, this should be repeated from gh_login. for other systems, it should be that systems login. ",
+ "name": "repo_meta",
+ "comment": "Project Languages",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "contributors",
- "oid": 187051,
- "rows": 1,
+ "oldName": "repo_meta",
+ "oid": 15486834,
+ "rows": 0,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -35119,17 +36147,17 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_id",
+ "name": "repo_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.contributors_cntrb_id_seq'::regclass)",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_id",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -35149,7 +36177,97 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_login",
+ "name": "rmeta_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.repo_meta_rmeta_id_seq'::regclass)",
+ "comment": "",
+ "oldName": "rmeta_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 2,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "rmeta_name",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "rmeta_name",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 3,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "rmeta_value",
+ "type": "varchar",
+ "length": 255,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "0",
+ "comment": "",
+ "oldName": "rmeta_value",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 4,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "tool_source",
"type": "varchar",
"length": 255,
"decimals": 0,
@@ -35158,14 +36276,14 @@
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "Will be a double population with the same value as gh_login for github, but the local value for other systems. ",
- "oldName": "cntrb_login",
+ "comment": "",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 2,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35179,23 +36297,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_email",
+ "name": "tool_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
- "comment": "This needs to be here for matching contributor ids, which are augur, to the commit information. ",
- "oldName": "cntrb_email",
+ "comment": "",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 3,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35209,23 +36327,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_company",
+ "name": "data_source",
"type": "varchar",
"length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_company",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35239,7 +36357,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_created_at",
+ "name": "data_collection_date",
"type": "timestamp",
"length": 0,
"decimals": 0,
@@ -35249,13 +36367,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cntrb_created_at",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 5,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35266,26 +36384,99 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "repo_meta_pkey",
+ "fields": [
+ "rmeta_id",
+ "repo_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "repo_meta_pkey"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_repo_meta_repo_1",
+ "fields": [
+ "repo_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "repo",
+ "referenceFields": [
+ "repo_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_repo_meta_repo_1"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "repo_sbom_scans",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "repo_sbom_scans",
+ "oid": 15486842,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_type",
- "type": "varchar",
- "length": 255,
+ "name": "rsb_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "Present in another models. It is not currently used in Augur. ",
- "oldName": "cntrb_type",
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.repo_sbom_scans_rsb_id_seq'::regclass)",
+ "comment": "",
+ "oldName": "rsb_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "collationSchema": "",
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35299,23 +36490,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_fake",
- "type": "int2",
- "length": 16,
+ "name": "repo_id",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "0",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_fake",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 7,
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35329,23 +36520,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_deleted",
- "type": "int2",
- "length": 16,
+ "name": "sbom_scan",
+ "type": "json",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "0",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_deleted",
+ "oldName": "sbom_scan",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 8,
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35356,26 +36547,98 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "repo_sbom_scans_pkey",
+ "fields": [
+ "rsb_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "repo_sbom_scans_pkey"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "repo_linker_sbom",
+ "fields": [
+ "repo_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "repo",
+ "referenceFields": [
+ "repo_id"
+ ],
+ "onDelete": "CASCADE",
+ "onUpdate": "CASCADE",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "repo_linker_sbom"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "repo_stats",
+ "comment": "Project Watchers",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "repo_stats",
+ "oid": 15486849,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_long",
- "type": "numeric",
- "length": 11,
- "decimals": 8,
+ "name": "repo_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::numeric",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_long",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 9,
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35389,23 +36652,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_lat",
- "type": "numeric",
- "length": 10,
- "decimals": 8,
+ "name": "rstat_id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "Others",
- "defaultValue": "NULL::numeric",
+ "defaultValue": "nextval('augur_data.repo_stats_rstat_id_seq'::regclass)",
"comment": "",
- "oldName": "cntrb_lat",
+ "oldName": "rstat_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 10,
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35419,23 +36682,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_country_code",
- "type": "char",
- "length": 3,
+ "name": "rstat_name",
+ "type": "varchar",
+ "length": 400,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::bpchar",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_country_code",
+ "oldName": "rstat_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 11,
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35449,23 +36712,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_state",
- "type": "varchar",
- "length": 255,
+ "name": "rstat_value",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_state",
+ "oldName": "rstat_value",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 12,
+ "collationSchema": "",
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35479,23 +36742,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_city",
+ "name": "tool_source",
"type": "varchar",
"length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_city",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 13,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35509,23 +36772,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_location",
+ "name": "tool_version",
"type": "varchar",
"length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::character varying",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_location",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 14,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35539,9 +36802,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_canonical",
+ "name": "data_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -35549,13 +36812,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cntrb_canonical",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 15,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35569,9 +36832,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_user_id",
- "type": "int8",
- "length": 64,
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -35579,13 +36842,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_user_id",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 16,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35596,26 +36859,99 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "repo_stats_pkey",
+ "fields": [
+ "rstat_id",
+ "repo_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "repo_stats_pkey"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_repo_stats_repo_1",
+ "fields": [
+ "repo_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "repo",
+ "referenceFields": [
+ "repo_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_repo_stats_repo_1"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "repo_test_coverage",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "repo_test_coverage",
+ "oid": 15486856,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "gh_login",
- "type": "varchar",
- "length": 255,
+ "name": "repo_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "populated with the github user name for github originated data. ",
- "oldName": "gh_login",
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.repo_test_coverage_repo_id_seq'::regclass)",
+ "comment": "",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 17,
+ "collationSchema": "",
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35629,23 +36965,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_url",
- "type": "varchar",
- "length": 255,
+ "name": "repo_clone_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_url",
+ "oldName": "repo_clone_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 18,
+ "collationSchema": "",
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35659,23 +36995,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_html_url",
- "type": "varchar",
- "length": 255,
+ "name": "rtc_analysis_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_html_url",
+ "oldName": "rtc_analysis_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 19,
+ "collationSchema": "",
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35689,9 +37025,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_node_id",
+ "name": "programming_language",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -35699,13 +37035,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_node_id",
+ "oldName": "programming_language",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 20,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35719,9 +37055,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_avatar_url",
+ "name": "file_path",
"type": "varchar",
- "length": 4000,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -35729,13 +37065,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_avatar_url",
+ "oldName": "file_path",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 21,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35749,9 +37085,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_gravatar_id",
+ "name": "file_name",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -35759,13 +37095,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_gravatar_id",
+ "oldName": "file_name",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 22,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35779,9 +37115,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_followers_url",
+ "name": "testing_tool",
"type": "varchar",
- "length": 4000,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -35789,13 +37125,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_followers_url",
+ "oldName": "testing_tool",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 23,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35809,23 +37145,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_following_url",
- "type": "varchar",
- "length": 4000,
+ "name": "file_statement_count",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_following_url",
+ "oldName": "file_statement_count",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 24,
+ "collationSchema": "",
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35839,23 +37175,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_gists_url",
- "type": "varchar",
- "length": 4000,
+ "name": "file_subroutine_count",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_gists_url",
+ "oldName": "file_subroutine_count",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 25,
+ "collationSchema": "",
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35869,23 +37205,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_starred_url",
- "type": "varchar",
- "length": 4000,
+ "name": "file_statements_tested",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_starred_url",
+ "oldName": "file_statements_tested",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 26,
+ "collationSchema": "",
+ "ordinalPosition": 10,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35899,23 +37235,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_subscriptions_url",
- "type": "varchar",
- "length": 4000,
+ "name": "file_subroutines_tested",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_subscriptions_url",
+ "oldName": "file_subroutines_tested",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 27,
+ "collationSchema": "",
+ "ordinalPosition": 11,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35929,9 +37265,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_organizations_url",
+ "name": "tool_source",
"type": "varchar",
- "length": 4000,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -35939,13 +37275,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_organizations_url",
+ "oldName": "tool_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 28,
+ "ordinalPosition": 12,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35959,9 +37295,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_repos_url",
+ "name": "tool_version",
"type": "varchar",
- "length": 4000,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -35969,13 +37305,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_repos_url",
+ "oldName": "tool_version",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 29,
+ "ordinalPosition": 13,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -35989,9 +37325,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_events_url",
+ "name": "data_source",
"type": "varchar",
- "length": 4000,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -35999,13 +37335,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_events_url",
+ "oldName": "data_source",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 30,
+ "ordinalPosition": 14,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -36019,23 +37355,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_received_events_url",
- "type": "varchar",
- "length": 4000,
+ "name": "data_collection_date",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "gh_received_events_url",
+ "oldName": "data_collection_date",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 31,
+ "collationSchema": "",
+ "ordinalPosition": 15,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -36046,26 +37382,98 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "repo_test_coverage_pkey",
+ "fields": [
+ "repo_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "repo_test_coverage_pkey"
+ },
+ "foreignKeys": [
+ {
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_repo_test_coverage_repo_1",
+ "fields": [
+ "repo_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "repo",
+ "referenceFields": [
+ "repo_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
+ "comment": "",
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrOneRelationship",
+ "targetCardinality": "OneAndOnlyOneRelationship",
+ "oldName": "fk_repo_test_coverage_repo_1"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "repo_topic",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "repo_topic",
+ "oid": 15488043,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "gh_type",
- "type": "varchar",
- "length": 255,
+ "name": "repo_topic_id",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.repo_topic_repo_topic_id_seq'::regclass)",
"comment": "",
- "oldName": "gh_type",
+ "oldName": "repo_topic_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 32,
+ "collationSchema": "",
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -36079,23 +37487,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_site_admin",
- "type": "varchar",
- "length": 255,
+ "name": "repo_id",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_site_admin",
+ "oldName": "repo_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 33,
+ "collationSchema": "",
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -36109,23 +37517,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_full_name",
- "type": "varchar",
- "length": 0,
+ "name": "topic_id",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
+ "collation": "",
"isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cntrb_full_name",
+ "oldName": "topic_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 38,
+ "collationSchema": "",
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -36139,23 +37547,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_last_used",
- "type": "timestamptz",
- "length": 0,
+ "name": "topic_prob",
+ "type": "float8",
+ "length": 53,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": true,
- "defaultType": "Others",
- "defaultValue": "NULL::timestamp with time zone",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_last_used",
+ "oldName": "topic_prob",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 39,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -36171,7 +37579,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -36185,7 +37593,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 34,
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -36201,7 +37609,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_version",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -36215,7 +37623,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 35,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -36231,7 +37639,7 @@
"objectType": "TableField_PGSQL",
"name": "data_source",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -36245,7 +37653,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 36,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -36275,7 +37683,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 37,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -36288,225 +37696,172 @@
"isIdentityCycle": false
}
],
- "indexes": [
- {
- "objectType": "Index_PGSQL",
- "name": "cnt-fullname",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "Hash",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "cnt-fullname",
- "oid": 203586,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "contributors",
- "size": "32",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cntrb_full_name",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cntrb_full_name",
- "collationSchema": "pg_catalog"
- }
- ]
- },
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "repo_topic_pkey",
+ "fields": [
+ "repo_topic_id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "repo_topic_pkey"
+ },
+ "foreignKeys": [
{
- "objectType": "Index_PGSQL",
- "name": "cntrb-theemail",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "Hash",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "cntrb-theemail",
- "oid": 203595,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "contributors",
- "size": "32",
+ "objectType": "ForeignKey_PGSQL",
+ "name": "fk_repo_topic_repo_1",
"fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cntrb_email",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cntrb_email",
- "collationSchema": "pg_catalog"
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "cntrb_canonica-idx11",
+ "repo_id"
+ ],
+ "referenceSchema": "augur_data",
+ "referenceTable": "repo",
+ "referenceFields": [
+ "repo_id"
+ ],
+ "onDelete": "NO ACTION",
+ "onUpdate": "NO ACTION",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "cntrb_canonica-idx11",
- "oid": 28216395,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "contributors",
- "size": "16",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cntrb_canonical",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cntrb_canonical",
- "collationSchema": "pg_catalog"
- }
- ]
- },
+ "isMatchFull": false,
+ "isDeferrable": false,
+ "isDeferred": false,
+ "sourceCardinality": "ZeroOrManyRelationship",
+ "targetCardinality": "ZeroOrOneRelationship",
+ "oldName": "fk_repo_topic_repo_1"
+ }
+ ],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "repos_fetch_log",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "repos_fetch_log",
+ "oid": 15486864,
+ "rows": 97,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
- "objectType": "Index_PGSQL",
- "name": "cntrb_login_platform_index",
+ "objectType": "TableField_PGSQL",
+ "name": "repos_id",
+ "type": "int4",
+ "length": 32,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "cntrb_login_platform_index",
- "oid": 203596,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "contributors",
- "size": "16",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cntrb_login",
- "collation": "default",
- "opClass": "text_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cntrb_login",
- "collationSchema": "pg_catalog"
- }
- ]
+ "oldName": "repos_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 1,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "contributor_delete_finder",
+ "objectType": "TableField_PGSQL",
+ "name": "status",
+ "type": "varchar",
+ "length": 128,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BRIN",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "contributor_delete_finder",
- "oid": 203698,
- "owner": "augur",
- "brinPagesPerRange": 64,
- "ginPendingListLimit": -1,
- "tableName": "contributors",
- "size": "24",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cntrb_id",
- "collation": "",
- "opClass": "int8_minmax_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cntrb_id",
- "collationSchema": ""
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cntrb_email",
- "collation": "default",
- "opClass": "text_minmax_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cntrb_email",
- "collationSchema": "pg_catalog"
- }
- ]
+ "oldName": "status",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 2,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "Index_PGSQL",
- "name": "contributor_worker_email_finder",
+ "objectType": "TableField_PGSQL",
+ "name": "date",
+ "type": "timestamp",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BRIN",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "contributor_worker_email_finder",
- "oid": 203699,
- "owner": "augur",
- "brinPagesPerRange": 64,
- "ginPendingListLimit": -1,
- "tableName": "contributors",
- "size": "24",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cntrb_email",
- "collation": "default",
- "opClass": "text_minmax_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cntrb_email",
- "collationSchema": "pg_catalog"
- }
- ]
- },
+ "oldName": "date",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 3,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ }
+ ],
+ "indexes": [
{
"objectType": "Index_PGSQL",
- "name": "contributor_worker_finder",
+ "name": "repos_id,status",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -36514,123 +37869,44 @@
"fastUpdate": "",
"buffering": "",
"fillFactor": -1,
- "method": "BRIN",
+ "method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "contributor_worker_finder",
- "oid": 203700,
+ "oldName": "repos_id,status",
+ "oid": 15487040,
"owner": "augur",
- "brinPagesPerRange": 64,
+ "brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "contributors",
- "size": "24",
+ "tableName": "repos_fetch_log",
+ "size": "16",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "cntrb_login",
- "collation": "default",
- "opClass": "text_minmax_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cntrb_login",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cntrb_email",
- "collation": "default",
- "opClass": "text_minmax_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cntrb_email",
- "collationSchema": "pg_catalog"
- },
- {
- "objectType": "IndexField_PGSQL",
- "name": "cntrb_id",
+ "name": "repos_id",
"collation": "",
- "opClass": "int8_minmax_ops",
+ "opClass": "int4_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "cntrb_id",
+ "oldName": "repos_id",
"collationSchema": ""
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "contributor_worker_fullname_finder",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BRIN",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "contributor_worker_fullname_finder",
- "oid": 203712,
- "owner": "augur",
- "brinPagesPerRange": 64,
- "ginPendingListLimit": -1,
- "tableName": "contributors",
- "size": "24",
- "fields": [
- {
- "objectType": "IndexField_PGSQL",
- "name": "cntrb_full_name",
- "collation": "default",
- "opClass": "text_minmax_ops",
- "opClassSchema": "pg_catalog",
- "order": "ASC",
- "nullSort": "NULLS LAST",
- "oldName": "cntrb_full_name",
- "collationSchema": "pg_catalog"
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "contributors_idx_cntrb_email3",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "contributors_idx_cntrb_email3",
- "oid": 203713,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "contributors",
- "size": "16",
- "fields": [
+ },
{
"objectType": "IndexField_PGSQL",
- "name": "cntrb_email",
+ "name": "status",
"collation": "default",
"opClass": "text_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "cntrb_email",
+ "oldName": "status",
"collationSchema": "pg_catalog"
}
]
},
{
"objectType": "Index_PGSQL",
- "name": "login",
+ "name": "repos_id,statusops",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -36641,76 +37917,40 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "login",
- "oid": 203766,
+ "oldName": "repos_id,statusops",
+ "oid": 15487918,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "contributors",
+ "tableName": "repos_fetch_log",
"size": "16",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "cntrb_login",
- "collation": "default",
- "opClass": "text_ops",
+ "name": "repos_id",
+ "collation": "",
+ "opClass": "int4_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "cntrb_login",
- "collationSchema": "pg_catalog"
- }
- ]
- },
- {
- "objectType": "Index_PGSQL",
- "name": "login-contributor-idx",
- "comment": "",
- "isClustered": false,
- "isConcurrently": false,
- "isUnique": false,
- "fastUpdate": "",
- "buffering": "",
- "fillFactor": -1,
- "method": "BTree",
- "tableSpaceName": "",
- "constraint": "",
- "oldName": "login-contributor-idx",
- "oid": 203767,
- "owner": "augur",
- "brinPagesPerRange": -1,
- "ginPendingListLimit": -1,
- "tableName": "contributors",
- "size": "16",
- "fields": [
+ "oldName": "repos_id",
+ "collationSchema": ""
+ },
{
"objectType": "IndexField_PGSQL",
- "name": "cntrb_login",
+ "name": "status",
"collation": "default",
"opClass": "text_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "cntrb_login",
+ "oldName": "status",
"collationSchema": "pg_catalog"
}
]
}
],
"rules": [],
- "primaryKey": {
- "objectType": "PrimaryKey_PGSQL",
- "name": "contributors_pkey",
- "fields": [
- "cntrb_id"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "contributors_pkey"
- },
"foreignKeys": [],
"uniques": [],
"checks": [],
@@ -36721,17 +37961,17 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "contributor_repo",
- "comment": "Developed in Partnership with Andrew Brain. \nFrom: [\n {\n \"login\": \"octocat\",\n \"id\": 1,\n \"node_id\": \"MDQ6VXNlcjE=\",\n \"avatar_url\": \"https://github.com/images/error/octocat_happy.gif\",\n \"gravatar_id\": \"\",\n \"url\": \"https://api.github.com/users/octocat\",\n \"html_url\": \"https://github.com/octocat\",\n \"followers_url\": \"https://api.github.com/users/octocat/followers\",\n \"following_url\": \"https://api.github.com/users/octocat/following{/other_user}\",\n \"gists_url\": \"https://api.github.com/users/octocat/gists{/gist_id}\",\n \"starred_url\": \"https://api.github.com/users/octocat/starred{/owner}{/repo}\",\n \"subscriptions_url\": \"https://api.github.com/users/octocat/subscriptions\",\n \"organizations_url\": \"https://api.github.com/users/octocat/orgs\",\n \"repos_url\": \"https://api.github.com/users/octocat/repos\",\n \"events_url\": \"https://api.github.com/users/octocat/events{/privacy}\",\n \"received_events_url\": \"https://api.github.com/users/octocat/received_events\",\n \"type\": \"User\",\n \"site_admin\": false\n }\n]\n",
+ "name": "settings",
+ "comment": "",
"tablespace": "",
"isUnlogged": false,
"owner": "augur",
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "contributor_repo",
- "oid": 186822,
- "rows": 0,
+ "oldName": "settings",
+ "oid": 15486868,
+ "rows": 13,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -36747,17 +37987,17 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_repo_id",
- "type": "int8",
- "length": 64,
+ "name": "id",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
"collation": "",
"isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.contributor_repo_cntrb_repo_id_seq'::regclass)",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "cntrb_repo_id",
+ "oldName": "id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -36777,22 +38017,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_id",
- "type": "int8",
- "length": 64,
+ "name": "setting",
+ "type": "varchar",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": false,
"defaultType": "None",
"defaultValue": "",
- "comment": "This is not null because what is the point without the contributor in this table? ",
- "oldName": "cntrb_id",
+ "comment": "",
+ "oldName": "setting",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
@@ -36807,7 +38047,7 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_git",
+ "name": "value",
"type": "varchar",
"length": 0,
"decimals": 0,
@@ -36816,8 +38056,8 @@
"isNullable": false,
"defaultType": "None",
"defaultValue": "",
- "comment": "Similar to cntrb_id, we need this data for the table to have meaningful data. ",
- "oldName": "repo_git",
+ "comment": "",
+ "oldName": "value",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -36837,22 +38077,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_category",
- "type": "varchar",
- "length": 255,
+ "name": "last_modified",
+ "type": "timestamp",
+ "length": 0,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
"comment": "",
- "oldName": "cntrb_category",
+ "oldName": "last_modified",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
+ "collationSchema": "",
"ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
@@ -36864,26 +38104,76 @@
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
- },
+ }
+ ],
+ "indexes": [],
+ "rules": [],
+ "primaryKey": {
+ "objectType": "PrimaryKey_PGSQL",
+ "name": "settings_pkey",
+ "fields": [
+ "id"
+ ],
+ "fillFactor": -1,
+ "indexTablespace": "",
+ "comment": "",
+ "isDeferrable": false,
+ "isDeferred": false,
+ "oldName": "settings_pkey"
+ },
+ "foreignKeys": [],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "topic_words",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "topic_words",
+ "oid": 15488053,
+ "rows": 0,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
"objectType": "TableField_PGSQL",
- "name": "event_id",
+ "name": "topic_words_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.topic_words_topic_words_id_seq'::regclass)",
"comment": "",
- "oldName": "event_id",
+ "oldName": "topic_words_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 10,
+ "ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -36897,23 +38187,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "gh_repo_id",
+ "name": "topic_id",
"type": "int8",
"length": 64,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "gh_repo_id",
+ "oldName": "topic_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 11,
+ "ordinalPosition": 2,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -36927,23 +38217,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "repo_name",
+ "name": "word",
"type": "varchar",
- "length": 255,
+ "length": 0,
"decimals": 0,
"dimensions": 0,
"collation": "default",
- "isNullable": false,
+ "isNullable": true,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "repo_name",
+ "oldName": "word",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -36957,9 +38247,9 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "created_at",
- "type": "timestamp",
- "length": 0,
+ "name": "word_prob",
+ "type": "float8",
+ "length": 53,
"decimals": 0,
"dimensions": 0,
"collation": "",
@@ -36967,13 +38257,13 @@
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "created_at",
+ "oldName": "word_prob",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 12,
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -37110,56 +38400,19 @@
"rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "cntrb_repo_id_key",
+ "name": "topic_words_pkey",
"fields": [
- "cntrb_repo_id"
+ "topic_words_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "cntrb_repo_id_key"
+ "oldName": "topic_words_pkey"
},
- "foreignKeys": [
- {
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_contributor_repo_contributors_1",
- "fields": [
- "cntrb_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "contributors",
- "referenceFields": [
- "cntrb_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
- "comment": "",
- "isMatchFull": false,
- "isDeferrable": false,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "OneAndOnlyOneRelationship",
- "oldName": "fk_contributor_repo_contributors_1"
- }
- ],
- "uniques": [
- {
- "objectType": "Unique_PGSQL",
- "name": "eventer",
- "fields": [
- "event_id",
- "tool_version"
- ],
- "fillFactor": -1,
- "indexTablespace": "",
- "comment": "",
- "isDeferrable": false,
- "isDeferred": false,
- "oldName": "eventer"
- }
- ],
+ "foreignKeys": [],
+ "uniques": [],
"checks": [],
"excludes": [],
"triggers": [],
@@ -37168,7 +38421,7 @@
},
{
"objectType": "TableNormal_PGSQL",
- "name": "issue_assignees",
+ "name": "unknown_cache",
"comment": "",
"tablespace": "",
"isUnlogged": false,
@@ -37176,9 +38429,9 @@
"inheritFromTables": [],
"hasOIDs": false,
"fillFactor": -1,
- "oldName": "issue_assignees",
- "oid": 188311,
- "rows": 0,
+ "oldName": "unknown_cache",
+ "oid": 15486875,
+ "rows": 44,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -37194,22 +38447,22 @@
"fields": [
{
"objectType": "TableField_PGSQL",
- "name": "issue_assignee_id",
- "type": "int8",
- "length": 64,
+ "name": "type",
+ "type": "varchar",
+ "length": 10,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": false,
- "defaultType": "Others",
- "defaultValue": "nextval('augur_data.issue_assignees_issue_assignee_id_seq'::regclass)",
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "oldName": "issue_assignee_id",
+ "oldName": "type",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 1,
"foreignOptions": [],
"isIdentity": false,
@@ -37224,17 +38477,17 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issue_id",
- "type": "int8",
- "length": 64,
+ "name": "repo_group_id",
+ "type": "int4",
+ "length": 32,
"decimals": 0,
"dimensions": 0,
"collation": "",
- "isNullable": true,
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "issue_id",
+ "oldName": "repo_group_id",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
@@ -37254,22 +38507,22 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "cntrb_id",
- "type": "int8",
- "length": 64,
+ "name": "email",
+ "type": "varchar",
+ "length": 128,
"decimals": 0,
"dimensions": 0,
- "collation": "",
- "isNullable": true,
+ "collation": "default",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
"comment": "",
- "oldName": "cntrb_id",
+ "oldName": "email",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
+ "collationSchema": "pg_catalog",
"ordinalPosition": 3,
"foreignOptions": [],
"isIdentity": false,
@@ -37284,23 +38537,23 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issue_assignee_src_id",
- "type": "int8",
- "length": 64,
+ "name": "domain",
+ "type": "varchar",
+ "length": 128,
"decimals": 0,
"dimensions": 0,
- "collation": "",
+ "collation": "default",
"isNullable": true,
- "defaultType": "None",
- "defaultValue": "",
- "comment": "This ID comes from the source. In the case of GitHub, it is the id that is the first field returned from the issue events API in the issue_assignees embedded JSON object. We may discover it is an ID for the person themselves; but my hypothesis is that its not.",
- "oldName": "issue_assignee_src_id",
+ "defaultType": "Others",
+ "defaultValue": "'NULL'::character varying",
+ "comment": "",
+ "oldName": "domain",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "",
- "ordinalPosition": 8,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 4,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -37314,30 +38567,30 @@
},
{
"objectType": "TableField_PGSQL",
- "name": "issue_assignee_src_node",
- "type": "varchar",
- "length": 0,
+ "name": "added",
+ "type": "int8",
+ "length": 64,
"decimals": 0,
"dimensions": 0,
- "collation": "default",
- "isNullable": true,
+ "collation": "",
+ "isNullable": false,
"defaultType": "None",
"defaultValue": "",
- "comment": "This character based identifier comes from the source. In the case of GitHub, it is the id that is the second field returned from the issue events API in the issue_assignees embedded JSON object. We may discover it is an ID for the person themselves; but my hypothesis is that its not.",
- "oldName": "issue_assignee_src_node",
+ "comment": "",
+ "oldName": "added",
"typeOID": 1,
"fieldObjectType": "",
"objectTypeSchema": "",
"isDomainType": false,
- "collationSchema": "pg_catalog",
- "ordinalPosition": 9,
+ "collationSchema": "",
+ "ordinalPosition": 5,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": true,
+ "hasNoIdentityMinValue": false,
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
@@ -37346,7 +38599,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -37360,7 +38613,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 4,
+ "ordinalPosition": 6,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -37376,7 +38629,7 @@
"objectType": "TableField_PGSQL",
"name": "tool_version",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -37390,7 +38643,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 5,
+ "ordinalPosition": 7,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -37406,7 +38659,7 @@
"objectType": "TableField_PGSQL",
"name": "data_source",
"type": "varchar",
- "length": 0,
+ "length": 255,
"decimals": 0,
"dimensions": 0,
"collation": "default",
@@ -37420,7 +38673,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "pg_catalog",
- "ordinalPosition": 6,
+ "ordinalPosition": 8,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -37450,7 +38703,7 @@
"objectTypeSchema": "",
"isDomainType": false,
"collationSchema": "",
- "ordinalPosition": 7,
+ "ordinalPosition": 9,
"foreignOptions": [],
"isIdentity": false,
"identityGeneration": "None",
@@ -37466,7 +38719,7 @@
"indexes": [
{
"objectType": "Index_PGSQL",
- "name": "issue-cntrb-assign-idx-1",
+ "name": "type,projects_id",
"comment": "",
"isClustered": false,
"isConcurrently": false,
@@ -37477,86 +38730,308 @@
"method": "BTree",
"tableSpaceName": "",
"constraint": "",
- "oldName": "issue-cntrb-assign-idx-1",
- "oid": 203731,
+ "oldName": "type,projects_id",
+ "oid": 15487043,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
- "tableName": "issue_assignees",
- "size": "8",
+ "tableName": "unknown_cache",
+ "size": "16",
"fields": [
{
"objectType": "IndexField_PGSQL",
- "name": "cntrb_id",
+ "name": "type",
+ "collation": "default",
+ "opClass": "text_ops",
+ "opClassSchema": "pg_catalog",
+ "order": "ASC",
+ "nullSort": "NULLS LAST",
+ "oldName": "type",
+ "collationSchema": "pg_catalog"
+ },
+ {
+ "objectType": "IndexField_PGSQL",
+ "name": "repo_group_id",
"collation": "",
- "opClass": "int8_ops",
+ "opClass": "int4_ops",
"opClassSchema": "pg_catalog",
"order": "ASC",
"nullSort": "NULLS LAST",
- "oldName": "cntrb_id",
+ "oldName": "repo_group_id",
"collationSchema": ""
}
]
}
],
"rules": [],
+ "foreignKeys": [],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "utility_log",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "utility_log",
+ "oid": 15486883,
+ "rows": 7716,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "id",
+ "type": "int8",
+ "length": 64,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "nextval('augur_data.utility_log_id_seq1'::regclass)",
+ "comment": "",
+ "oldName": "id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 1,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "level",
+ "type": "varchar",
+ "length": 8,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "level",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 2,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "status",
+ "type": "varchar",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
+ "comment": "",
+ "oldName": "status",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 3,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ },
+ {
+ "objectType": "TableField_PGSQL",
+ "name": "attempted",
+ "type": "timestamp",
+ "length": 0,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "Others",
+ "defaultValue": "CURRENT_TIMESTAMP",
+ "comment": "",
+ "oldName": "attempted",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 4,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
+ }
+ ],
+ "indexes": [],
+ "rules": [],
"primaryKey": {
"objectType": "PrimaryKey_PGSQL",
- "name": "issue_assignees_pkey",
+ "name": "utility_log_pkey",
"fields": [
- "issue_assignee_id"
+ "id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "issue_assignees_pkey"
+ "oldName": "utility_log_pkey"
},
- "foreignKeys": [
+ "foreignKeys": [],
+ "uniques": [],
+ "checks": [],
+ "excludes": [],
+ "triggers": [],
+ "partitionKeys": [],
+ "partitions": []
+ },
+ {
+ "objectType": "TableNormal_PGSQL",
+ "name": "working_commits",
+ "comment": "",
+ "tablespace": "",
+ "isUnlogged": false,
+ "owner": "augur",
+ "inheritFromTables": [],
+ "hasOIDs": false,
+ "fillFactor": -1,
+ "oldName": "working_commits",
+ "oid": 15486891,
+ "rows": 1,
+ "isInheritTables": false,
+ "cluster": "",
+ "ACL": "",
+ "isPartition": false,
+ "partitioningStrategy": "None",
+ "partitionOfSchema": "",
+ "partitionOfTable": "",
+ "partitionListValues": [],
+ "partitionRangeFromValues": [],
+ "partitionRangeToValues": [],
+ "foreignServer": "",
+ "foreignOptionDisplay": "",
+ "fields": [
{
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_issue_assignees_contributors_1",
- "fields": [
- "cntrb_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "contributors",
- "referenceFields": [
- "cntrb_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
+ "objectType": "TableField_PGSQL",
+ "name": "repos_id",
+ "type": "int4",
+ "length": 32,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "",
+ "isNullable": false,
+ "defaultType": "None",
+ "defaultValue": "",
"comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_issue_assignees_contributors_1"
+ "oldName": "repos_id",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "",
+ "ordinalPosition": 1,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
},
{
- "objectType": "ForeignKey_PGSQL",
- "name": "fk_issue_assignees_issues_1",
- "fields": [
- "issue_id"
- ],
- "referenceSchema": "augur_data",
- "referenceTable": "issues",
- "referenceFields": [
- "issue_id"
- ],
- "onDelete": "RESTRICT",
- "onUpdate": "CASCADE",
+ "objectType": "TableField_PGSQL",
+ "name": "working_commit",
+ "type": "varchar",
+ "length": 40,
+ "decimals": 0,
+ "dimensions": 0,
+ "collation": "default",
+ "isNullable": true,
+ "defaultType": "Others",
+ "defaultValue": "'NULL'::character varying",
"comment": "",
- "isMatchFull": false,
- "isDeferrable": true,
- "isDeferred": false,
- "sourceCardinality": "ZeroOrManyRelationship",
- "targetCardinality": "ZeroOrOneRelationship",
- "oldName": "fk_issue_assignees_issues_1"
+ "oldName": "working_commit",
+ "typeOID": 1,
+ "fieldObjectType": "",
+ "objectTypeSchema": "",
+ "isDomainType": false,
+ "collationSchema": "pg_catalog",
+ "ordinalPosition": 2,
+ "foreignOptions": [],
+ "isIdentity": false,
+ "identityGeneration": "None",
+ "identityStart": 0,
+ "identityIncrement": 0,
+ "identityMinimum": 0,
+ "hasNoIdentityMinValue": false,
+ "identityMaximum": 0,
+ "hasNoIdentityMaxValue": false,
+ "isIdentityCycle": false
}
],
+ "indexes": [],
+ "rules": [],
+ "foreignKeys": [],
"uniques": [],
"checks": [],
"excludes": [],
@@ -37583,7 +39058,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "all",
- "oid": 194951,
+ "oid": 15487319,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -37655,7 +39130,7 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": {},
"isIdentityCycle": false
},
{
@@ -37713,7 +39188,7 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": {},
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
@@ -37745,7 +39220,7 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": {},
"isIdentityCycle": false
},
{
@@ -37805,7 +39280,7 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": {},
"isIdentityCycle": false
},
{
@@ -37863,7 +39338,7 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": {},
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
@@ -37895,7 +39370,7 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": {},
"isIdentityCycle": false
}
],
@@ -37920,8 +39395,8 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "augur_settings",
- "oid": 195080,
- "rows": 0,
+ "oid": 15487810,
+ "rows": 2,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -37990,7 +39465,7 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": {},
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
@@ -38022,7 +39497,7 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": null,
"isIdentityCycle": false
},
{
@@ -38052,7 +39527,7 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": null,
"isIdentityCycle": false
}
],
@@ -38090,7 +39565,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "repos_fetch_log",
- "oid": 195243,
+ "oid": 15487859,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -38211,7 +39686,7 @@
"tableSpaceName": "",
"constraint": "",
"oldName": "repos_id,statusops",
- "oid": 203975,
+ "oid": 15487863,
"owner": "augur",
"brinPagesPerRange": -1,
"ginPendingListLimit": -1,
@@ -38263,8 +39738,8 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "worker_history",
- "oid": 195335,
- "rows": 0,
+ "oid": 15487337,
+ "rows": 199,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -38305,7 +39780,7 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": "",
"isIdentityCycle": false
},
{
@@ -38363,7 +39838,7 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": {},
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
@@ -38395,7 +39870,7 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": {},
"isIdentityCycle": false
},
{
@@ -38513,9 +39988,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": null,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
}
],
@@ -38553,8 +40028,8 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "worker_job",
- "oid": 195432,
- "rows": 0,
+ "oid": 15487344,
+ "rows": 22,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -38593,9 +40068,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": 0,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": null,
"isIdentityCycle": false
},
{
@@ -38873,8 +40348,8 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "worker_oauth",
- "oid": 195620,
- "rows": 0,
+ "oid": 15487355,
+ "rows": 20,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -38973,9 +40448,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": "",
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
},
{
@@ -39163,8 +40638,8 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "worker_settings_facade",
- "oid": 195709,
- "rows": 0,
+ "oid": 15487850,
+ "rows": 13,
"isInheritTables": false,
"cluster": "",
"ACL": "",
@@ -39333,7 +40808,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "working_commits",
- "oid": 195817,
+ "oid": 15487864,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -39438,7 +40913,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "annotation_types",
- "oid": 195957,
+ "oid": 15487411,
"rows": 2,
"isInheritTables": false,
"cluster": "",
@@ -39562,7 +41037,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "annotations",
- "oid": 196093,
+ "oid": 15487415,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -39632,9 +41107,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": 0,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": null,
"isIdentityCycle": false
},
{
@@ -39692,9 +41167,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": null,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
},
{
@@ -39722,9 +41197,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": 0,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": null,
"isIdentityCycle": false
},
{
@@ -39782,9 +41257,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": null,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
}
],
@@ -39907,7 +41382,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "augur_repo_map",
- "oid": 196221,
+ "oid": 15487422,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -39977,9 +41452,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": null,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
},
{
@@ -40007,9 +41482,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": 0,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": null,
"isIdentityCycle": false
},
{
@@ -40067,9 +41542,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": null,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
}
],
@@ -40107,7 +41582,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "creator_types",
- "oid": 196379,
+ "oid": 15487429,
"rows": 3,
"isInheritTables": false,
"cluster": "",
@@ -40147,9 +41622,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": 0,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": null,
"isIdentityCycle": false
},
{
@@ -40179,7 +41654,7 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
}
],
@@ -40217,7 +41692,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "creators",
- "oid": 196524,
+ "oid": 15487433,
"rows": 1,
"isInheritTables": false,
"cluster": "",
@@ -40257,7 +41732,7 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": null,
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
@@ -40409,7 +41884,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "document_namespaces",
- "oid": 196668,
+ "oid": 15487440,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -40449,7 +41924,7 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": 0,
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
@@ -40479,9 +41954,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": true,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
}
],
@@ -40533,7 +42008,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "documents",
- "oid": 196842,
+ "oid": 15487444,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -40663,9 +42138,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": 0,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": null,
"isIdentityCycle": false
},
{
@@ -40723,9 +42198,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": null,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
},
{
@@ -40961,7 +42436,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "documents_creators",
- "oid": 197043,
+ "oid": 15487451,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -41031,7 +42506,7 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": "",
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
@@ -41061,7 +42536,7 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": "",
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
@@ -41144,7 +42619,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "external_refs",
- "oid": 197079,
+ "oid": 15487455,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -41184,7 +42659,7 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": [],
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
@@ -41402,7 +42877,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "file_contributors",
- "oid": 197101,
+ "oid": 15487459,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -41564,7 +43039,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "file_types",
- "oid": 197108,
+ "oid": 15487466,
"rows": 11,
"isInheritTables": false,
"cluster": "",
@@ -41674,7 +43149,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "files",
- "oid": 197113,
+ "oid": 15487470,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -41948,7 +43423,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "files_licenses",
- "oid": 197131,
+ "oid": 15487477,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -42176,7 +43651,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "files_scans",
- "oid": 197140,
+ "oid": 15487484,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -42374,7 +43849,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "identifiers",
- "oid": 197156,
+ "oid": 15487488,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -42702,31 +44177,31 @@
},
{
"objectType": "Unique_PGSQL",
- "name": "uc_identifier_namespace_package_file_id",
+ "name": "uc_identifier_namespace_package_id",
"fields": [
"document_namespace_id",
- "package_file_id"
+ "package_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "uc_identifier_namespace_package_file_id"
+ "oldName": "uc_identifier_namespace_package_id"
},
{
"objectType": "Unique_PGSQL",
- "name": "uc_identifier_namespace_package_id",
+ "name": "uc_identifier_namespace_package_file_id",
"fields": [
"document_namespace_id",
- "package_id"
+ "package_file_id"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "uc_identifier_namespace_package_id"
+ "oldName": "uc_identifier_namespace_package_file_id"
}
],
"checks": [
@@ -42755,7 +44230,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "licenses",
- "oid": 197165,
+ "oid": 15487492,
"rows": 322,
"isInheritTables": false,
"cluster": "",
@@ -42887,7 +44362,7 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": 0,
"isIdentityCycle": false
},
{
@@ -42999,7 +44474,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "packages",
- "oid": 197174,
+ "oid": 15487499,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -43129,7 +44604,7 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": 0,
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
@@ -43189,7 +44664,7 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": true,
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
@@ -43221,7 +44696,7 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
},
{
@@ -43309,9 +44784,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": 0,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": null,
"isIdentityCycle": false
},
{
@@ -43341,7 +44816,7 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": 0,
"isIdentityCycle": false
},
{
@@ -43519,7 +44994,7 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": true,
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
@@ -43579,7 +45054,7 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": true,
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
@@ -43609,9 +45084,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": true,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
}
],
@@ -43740,30 +45215,30 @@
"uniques": [
{
"objectType": "Unique_PGSQL",
- "name": "uc_dir_code_ver_code",
+ "name": "uc_package_sha256",
"fields": [
- "verification_code",
- "dosocs2_dir_code"
+ "sha256"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "uc_dir_code_ver_code"
+ "oldName": "uc_package_sha256"
},
{
"objectType": "Unique_PGSQL",
- "name": "uc_package_sha256",
+ "name": "uc_dir_code_ver_code",
"fields": [
- "sha256"
+ "verification_code",
+ "dosocs2_dir_code"
],
"fillFactor": -1,
"indexTablespace": "",
"comment": "",
"isDeferrable": false,
"isDeferred": false,
- "oldName": "uc_package_sha256"
+ "oldName": "uc_dir_code_ver_code"
}
],
"checks": [
@@ -43792,7 +45267,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "packages_files",
- "oid": 197193,
+ "oid": 15487506,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -43922,9 +45397,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": 0,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": null,
"isIdentityCycle": false
},
{
@@ -43982,9 +45457,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": null,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
}
],
@@ -44101,7 +45576,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "packages_scans",
- "oid": 197207,
+ "oid": 15487513,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -44141,9 +45616,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": 0,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": null,
"isIdentityCycle": false
},
{
@@ -44201,9 +45676,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": null,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
}
],
@@ -44299,7 +45774,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "projects",
- "oid": 197256,
+ "oid": 15487517,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -44369,9 +45844,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": null,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
},
{
@@ -44399,9 +45874,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": 0,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": null,
"isIdentityCycle": false
},
{
@@ -44469,7 +45944,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "relationship_types",
- "oid": 197287,
+ "oid": 15487524,
"rows": 30,
"isInheritTables": false,
"cluster": "",
@@ -44509,9 +45984,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": null,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
},
{
@@ -44539,9 +46014,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": 0,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": null,
"isIdentityCycle": false
}
],
@@ -44593,7 +46068,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "relationships",
- "oid": 197312,
+ "oid": 15487528,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -44635,7 +46110,7 @@
"identityMinimum": 0,
"hasNoIdentityMinValue": false,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
},
{
@@ -44663,7 +46138,7 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": null,
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
@@ -44873,7 +46348,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "sbom_scans",
- "oid": 197324,
+ "oid": 15487535,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -44913,7 +46388,7 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": 0,
"identityMaximum": 0,
"hasNoIdentityMaxValue": false,
"isIdentityCycle": false
@@ -44943,9 +46418,9 @@
"identityStart": 0,
"identityIncrement": 0,
"identityMinimum": 0,
- "hasNoIdentityMinValue": false,
+ "hasNoIdentityMinValue": true,
"identityMaximum": 0,
- "hasNoIdentityMaxValue": false,
+ "hasNoIdentityMaxValue": true,
"isIdentityCycle": false
}
],
@@ -44970,7 +46445,7 @@
"hasOIDs": false,
"fillFactor": -1,
"oldName": "scanners",
- "oid": 197349,
+ "oid": 15487541,
"rows": 0,
"isInheritTables": false,
"cluster": "",
@@ -45094,7 +46569,7 @@
{
"name": "Diagram 1",
"paperWidth": 8,
- "paperHeight": 5,
+ "paperHeight": 7,
"tableFont": "Arial Unicode MS",
"tableFontSize": 14,
"isBalckWhite": false,
@@ -45108,8 +46583,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "analysis_log",
- "x": 250,
- "y": 7680,
+ "x": 1744,
+ "y": 2714,
"width": 204,
"height": 114,
"isBold": false,
@@ -45124,8 +46599,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "chaoss_metric_status",
- "x": 2740,
- "y": 6130,
+ "x": 6530,
+ "y": 30,
"width": 256,
"height": 408,
"isBold": false,
@@ -45140,8 +46615,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "commit_comment_ref",
- "x": 7380,
- "y": 1440,
+ "x": 3280,
+ "y": 4490,
"width": 255,
"height": 345,
"isBold": false,
@@ -45156,8 +46631,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "commit_parents",
- "x": 8010,
- "y": 1390,
+ "x": 3600,
+ "y": 5020,
"width": 230,
"height": 177,
"isBold": false,
@@ -45172,8 +46647,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "commits",
- "x": 7690,
- "y": 1170,
+ "x": 3580,
+ "y": 4350,
"width": 270,
"height": 618,
"isBold": false,
@@ -45188,8 +46663,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "contributor_affiliations",
- "x": 4930,
- "y": 6130,
+ "x": 1249,
+ "y": 2704,
"width": 236,
"height": 261,
"isBold": false,
@@ -45204,8 +46679,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "contributor_repo",
- "x": 8270,
- "y": 4620,
+ "x": 4230,
+ "y": 3780,
"width": 230,
"height": 303,
"isBold": false,
@@ -45220,10 +46695,10 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "contributors",
- "x": 8100,
- "y": 3640,
+ "x": 4300,
+ "y": 2680,
"width": 251,
- "height": 870,
+ "height": 996,
"isBold": false,
"titleColor": {
"r": 55,
@@ -45236,8 +46711,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "contributors_aliases",
- "x": 8400,
- "y": 3950,
+ "x": 4600,
+ "y": 3550,
"width": 230,
"height": 261,
"isBold": false,
@@ -45252,8 +46727,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "contributors_history",
- "x": 8290,
- "y": 790,
+ "x": 4880,
+ "y": 3450,
"width": 251,
"height": 996,
"isBold": false,
@@ -45268,8 +46743,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "discourse_insights",
- "x": 530,
- "y": 4930,
+ "x": 2850,
+ "y": 5570,
"width": 239,
"height": 198,
"isBold": false,
@@ -45284,8 +46759,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "dm_repo_annual",
- "x": 4310,
- "y": 6130,
+ "x": 1819,
+ "y": 2235,
"width": 230,
"height": 324,
"isBold": false,
@@ -45300,8 +46775,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "dm_repo_group_annual",
- "x": 4610,
- "y": 6130,
+ "x": 1821,
+ "y": 1853,
"width": 247,
"height": 324,
"isBold": false,
@@ -45316,8 +46791,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "dm_repo_group_monthly",
- "x": 3070,
- "y": 6130,
+ "x": 1527,
+ "y": 1842,
"width": 254,
"height": 345,
"isBold": false,
@@ -45332,8 +46807,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "dm_repo_group_weekly",
- "x": 3390,
- "y": 6130,
+ "x": 1244,
+ "y": 1833,
"width": 248,
"height": 345,
"isBold": false,
@@ -45348,8 +46823,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "dm_repo_monthly",
- "x": 3710,
- "y": 6130,
+ "x": 1536,
+ "y": 2227,
"width": 230,
"height": 345,
"isBold": false,
@@ -45364,8 +46839,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "dm_repo_weekly",
- "x": 4010,
- "y": 6130,
+ "x": 1240,
+ "y": 2195,
"width": 230,
"height": 345,
"isBold": false,
@@ -45380,8 +46855,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "exclude",
- "x": 7220,
- "y": 6130,
+ "x": 1745,
+ "y": 2848,
"width": 159,
"height": 135,
"isBold": false,
@@ -45396,8 +46871,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "issue_assignees",
- "x": 7990,
- "y": 4690,
+ "x": 4730,
+ "y": 2780,
"width": 230,
"height": 240,
"isBold": false,
@@ -45412,8 +46887,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "issue_events",
- "x": 7620,
- "y": 5200,
+ "x": 4660,
+ "y": 3070,
"width": 230,
"height": 324,
"isBold": false,
@@ -45428,8 +46903,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "issue_labels",
- "x": 8180,
- "y": 5220,
+ "x": 5350,
+ "y": 2820,
"width": 230,
"height": 282,
"isBold": false,
@@ -45444,10 +46919,10 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "issue_message_ref",
- "x": 7890,
- "y": 5730,
+ "x": 4990,
+ "y": 4820,
"width": 240,
- "height": 240,
+ "height": 261,
"isBold": false,
"titleColor": {
"r": 55,
@@ -45460,8 +46935,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "issues",
- "x": 7900,
- "y": 5040,
+ "x": 5070,
+ "y": 2640,
"width": 230,
"height": 639,
"isBold": false,
@@ -45476,8 +46951,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "libraries",
- "x": 1380,
- "y": 630,
+ "x": 5240,
+ "y": 600,
"width": 255,
"height": 492,
"isBold": false,
@@ -45492,8 +46967,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "library_dependencies",
- "x": 1090,
- "y": 740,
+ "x": 5250,
+ "y": 1150,
"width": 233,
"height": 261,
"isBold": false,
@@ -45508,8 +46983,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "library_version",
- "x": 1390,
- "y": 340,
+ "x": 5550,
+ "y": 730,
"width": 235,
"height": 240,
"isBold": false,
@@ -45524,8 +46999,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "lstm_anomaly_models",
- "x": 1740,
- "y": 770,
+ "x": 6200,
+ "y": 270,
"width": 238,
"height": 282,
"isBold": false,
@@ -45540,8 +47015,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "lstm_anomaly_results",
- "x": 2030,
- "y": 730,
+ "x": 5900,
+ "y": 230,
"width": 255,
"height": 366,
"isBold": false,
@@ -45556,10 +47031,10 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "message",
- "x": 370,
- "y": 5490,
+ "x": 3140,
+ "y": 5370,
"width": 230,
- "height": 303,
+ "height": 345,
"isBold": false,
"titleColor": {
"r": 55,
@@ -45572,8 +47047,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "message_analysis",
- "x": 290,
- "y": 4600,
+ "x": 3140,
+ "y": 5760,
"width": 230,
"height": 282,
"isBold": false,
@@ -45588,8 +47063,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "message_analysis_summary",
- "x": 7430,
- "y": 370,
+ "x": 370,
+ "y": 30,
"width": 279,
"height": 282,
"isBold": false,
@@ -45604,8 +47079,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "message_sentiment",
- "x": 30,
- "y": 5500,
+ "x": 5260,
+ "y": 5400,
"width": 230,
"height": 282,
"isBold": false,
@@ -45620,8 +47095,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "message_sentiment_summary",
- "x": 7160,
- "y": 30,
+ "x": 30,
+ "y": 470,
"width": 290,
"height": 282,
"isBold": false,
@@ -45636,8 +47111,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "platform",
- "x": 370,
- "y": 5840,
+ "x": 5090,
+ "y": 5130,
"width": 230,
"height": 219,
"isBold": false,
@@ -45652,8 +47127,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "pull_request_analysis",
- "x": 6970,
- "y": 1800,
+ "x": 4760,
+ "y": 1900,
"width": 243,
"height": 219,
"isBold": false,
@@ -45668,8 +47143,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "pull_request_assignees",
- "x": 7440,
- "y": 2820,
+ "x": 3360,
+ "y": 2900,
"width": 246,
"height": 219,
"isBold": false,
@@ -45684,8 +47159,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "pull_request_commits",
- "x": 7290,
- "y": 3210,
+ "x": 3610,
+ "y": 2530,
"width": 235,
"height": 324,
"isBold": false,
@@ -45700,8 +47175,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "pull_request_events",
- "x": 7740,
- "y": 2650,
+ "x": 3720,
+ "y": 2900,
"width": 230,
"height": 324,
"isBold": false,
@@ -45716,8 +47191,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "pull_request_files",
- "x": 6680,
- "y": 1780,
+ "x": 3550,
+ "y": 1550,
"width": 230,
"height": 240,
"isBold": false,
@@ -45732,8 +47207,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "pull_request_labels",
- "x": 6400,
- "y": 1950,
+ "x": 3440,
+ "y": 1190,
"width": 230,
"height": 303,
"isBold": false,
@@ -45748,10 +47223,10 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "pull_request_message_ref",
- "x": 1300,
- "y": 2880,
+ "x": 2940,
+ "y": 2010,
"width": 263,
- "height": 240,
+ "height": 261,
"isBold": false,
"titleColor": {
"r": 55,
@@ -45764,7 +47239,7 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "pull_request_meta",
- "x": 7740,
+ "x": 4480,
"y": 1990,
"width": 230,
"height": 282,
@@ -45780,8 +47255,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "pull_request_repo",
- "x": 8020,
- "y": 1890,
+ "x": 4200,
+ "y": 1970,
"width": 230,
"height": 324,
"isBold": false,
@@ -45796,10 +47271,10 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "pull_request_review_message_ref",
- "x": 6300,
- "y": 4480,
+ "x": 3220,
+ "y": 3730,
"width": 311,
- "height": 618,
+ "height": 639,
"isBold": false,
"titleColor": {
"r": 55,
@@ -45812,8 +47287,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "pull_request_reviewers",
- "x": 7830,
- "y": 2373,
+ "x": 4000,
+ "y": 2900,
"width": 243,
"height": 219,
"isBold": false,
@@ -45828,8 +47303,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "pull_request_reviews",
- "x": 6660,
- "y": 4170,
+ "x": 3220,
+ "y": 3300,
"width": 249,
"height": 387,
"isBold": false,
@@ -45844,8 +47319,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "pull_request_teams",
- "x": 6410,
- "y": 2460,
+ "x": 3360,
+ "y": 670,
"width": 244,
"height": 408,
"isBold": false,
@@ -45860,8 +47335,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "pull_requests",
- "x": 6760,
- "y": 2070,
+ "x": 3260,
+ "y": 1700,
"width": 245,
"height": 891,
"isBold": false,
@@ -45876,8 +47351,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "releases",
- "x": 6880,
- "y": 280,
+ "x": 190,
+ "y": 5970,
"width": 234,
"height": 408,
"isBold": false,
@@ -45892,8 +47367,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo",
- "x": 7230,
- "y": 700,
+ "x": 370,
+ "y": 360,
"width": 289,
"height": 492,
"isBold": false,
@@ -45908,8 +47383,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo_badging",
- "x": 6540,
- "y": 500,
+ "x": 480,
+ "y": 5970,
"width": 230,
"height": 219,
"isBold": false,
@@ -45924,8 +47399,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo_cluster_messages",
- "x": 6180,
- "y": 530,
+ "x": 450,
+ "y": 5640,
"width": 248,
"height": 219,
"isBold": false,
@@ -45940,8 +47415,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo_dependencies",
- "x": 5830,
- "y": 530,
+ "x": 470,
+ "y": 5290,
"width": 230,
"height": 240,
"isBold": false,
@@ -45956,8 +47431,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo_deps_scorecard",
- "x": 5490,
- "y": 560,
+ "x": 480,
+ "y": 4930,
"width": 234,
"height": 240,
"isBold": false,
@@ -45972,8 +47447,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo_group_insights",
- "x": 810,
- "y": 860,
+ "x": 1990,
+ "y": 5280,
"width": 230,
"height": 261,
"isBold": false,
@@ -45988,8 +47463,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo_groups",
- "x": 890,
- "y": 5170,
+ "x": 2270,
+ "y": 5270,
"width": 230,
"height": 282,
"isBold": false,
@@ -46004,8 +47479,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo_groups_list_serve",
- "x": 600,
- "y": 5180,
+ "x": 2550,
+ "y": 5280,
"width": 244,
"height": 261,
"isBold": false,
@@ -46020,8 +47495,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo_info",
- "x": 5130,
- "y": 40,
+ "x": 500,
+ "y": 4040,
"width": 251,
"height": 786,
"isBold": false,
@@ -46036,8 +47511,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo_insights",
- "x": 4790,
- "y": 530,
+ "x": 510,
+ "y": 3600,
"width": 230,
"height": 324,
"isBold": false,
@@ -46052,8 +47527,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo_insights_records",
- "x": 4440,
- "y": 570,
+ "x": 520,
+ "y": 3190,
"width": 237,
"height": 303,
"isBold": false,
@@ -46068,8 +47543,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo_labor",
- "x": 4090,
- "y": 500,
+ "x": 540,
+ "y": 2670,
"width": 245,
"height": 408,
"isBold": false,
@@ -46084,8 +47559,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo_meta",
- "x": 3750,
- "y": 710,
+ "x": 550,
+ "y": 2330,
"width": 230,
"height": 219,
"isBold": false,
@@ -46100,8 +47575,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo_sbom_scans",
- "x": 3420,
- "y": 840,
+ "x": 570,
+ "y": 2110,
"width": 213,
"height": 114,
"isBold": false,
@@ -46116,8 +47591,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo_stats",
- "x": 3080,
- "y": 790,
+ "x": 580,
+ "y": 1780,
"width": 230,
"height": 219,
"isBold": false,
@@ -46132,8 +47607,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo_test_coverage",
- "x": 2740,
- "y": 670,
+ "x": 590,
+ "y": 1300,
"width": 230,
"height": 366,
"isBold": false,
@@ -46148,8 +47623,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repo_topic",
- "x": 2400,
- "y": 850,
+ "x": 610,
+ "y": 970,
"width": 230,
"height": 219,
"isBold": false,
@@ -46164,8 +47639,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "repos_fetch_log",
- "x": 520,
- "y": 7680,
+ "x": 1937,
+ "y": 2876,
"width": 198,
"height": 114,
"isBold": false,
@@ -46180,8 +47655,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "settings",
- "x": 7450,
- "y": 6130,
+ "x": 1956,
+ "y": 2716,
"width": 191,
"height": 135,
"isBold": false,
@@ -46196,8 +47671,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "topic_words",
- "x": 6080,
- "y": 6130,
+ "x": 7480,
+ "y": 30,
"width": 230,
"height": 219,
"isBold": false,
@@ -46212,8 +47687,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "unknown_cache",
- "x": 5500,
- "y": 6130,
+ "x": 1501,
+ "y": 2710,
"width": 230,
"height": 240,
"isBold": false,
@@ -46228,8 +47703,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "utility_log",
- "x": 7710,
- "y": 6130,
+ "x": 1248,
+ "y": 2979,
"width": 175,
"height": 135,
"isBold": false,
@@ -46244,8 +47719,8 @@
"type": "table",
"schemaName": "augur_data",
"tableName": "working_commits",
- "x": 1100,
- "y": 7680,
+ "x": 1511,
+ "y": 2991,
"width": 208,
"height": 93,
"isBold": false,
@@ -46260,8 +47735,8 @@
"type": "table",
"schemaName": "augur_operations",
"tableName": "all",
- "x": 5230,
- "y": 6130,
+ "x": 5979,
+ "y": 897,
"width": 201,
"height": 261,
"isBold": false,
@@ -46276,8 +47751,8 @@
"type": "table",
"schemaName": "augur_operations",
"tableName": "augur_settings",
- "x": 7950,
- "y": 6130,
+ "x": 5994,
+ "y": 735,
"width": 230,
"height": 135,
"isBold": false,
@@ -46292,8 +47767,8 @@
"type": "table",
"schemaName": "augur_operations",
"tableName": "repos_fetch_log",
- "x": 790,
- "y": 7680,
+ "x": 6230,
+ "y": 978,
"width": 237,
"height": 114,
"isBold": false,
@@ -46308,8 +47783,8 @@
"type": "table",
"schemaName": "augur_operations",
"tableName": "worker_history",
- "x": 6380,
- "y": 6130,
+ "x": 6255,
+ "y": 1241,
"width": 229,
"height": 219,
"isBold": false,
@@ -46324,8 +47799,8 @@
"type": "table",
"schemaName": "augur_operations",
"tableName": "worker_job",
- "x": 5800,
- "y": 6130,
+ "x": 5992,
+ "y": 1189,
"width": 206,
"height": 240,
"isBold": false,
@@ -46340,8 +47815,8 @@
"type": "table",
"schemaName": "augur_operations",
"tableName": "worker_oauth",
- "x": 6680,
- "y": 6130,
+ "x": 6271,
+ "y": 736,
"width": 231,
"height": 219,
"isBold": false,
@@ -46356,8 +47831,8 @@
"type": "table",
"schemaName": "augur_operations",
"tableName": "worker_settings_facade",
- "x": 8250,
- "y": 6130,
+ "x": 7780,
+ "y": 30,
"width": 285,
"height": 135,
"isBold": false,
@@ -46372,8 +47847,8 @@
"type": "table",
"schemaName": "augur_operations",
"tableName": "working_commits",
- "x": 1380,
- "y": 7680,
+ "x": 6241,
+ "y": 1116,
"width": 246,
"height": 93,
"isBold": false,
@@ -46388,8 +47863,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "annotation_types",
- "x": 2500,
- "y": 6450,
+ "x": 1940,
+ "y": 7970,
"width": 171,
"height": 93,
"isBold": false,
@@ -46404,8 +47879,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "annotations",
- "x": 2260,
- "y": 6400,
+ "x": 1940,
+ "y": 7720,
"width": 186,
"height": 198,
"isBold": false,
@@ -46420,8 +47895,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "augur_repo_map",
- "x": 6980,
- "y": 6130,
+ "x": 578,
+ "y": 6320,
"width": 170,
"height": 156,
"isBold": false,
@@ -46436,8 +47911,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "creator_types",
- "x": 2470,
- "y": 6670,
+ "x": 540,
+ "y": 7570,
"width": 152,
"height": 93,
"isBold": false,
@@ -46452,8 +47927,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "creators",
- "x": 2280,
- "y": 6640,
+ "x": 740,
+ "y": 7540,
"width": 152,
"height": 135,
"isBold": false,
@@ -46468,8 +47943,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "document_namespaces",
- "x": 1170,
- "y": 6230,
+ "x": 2250,
+ "y": 7270,
"width": 208,
"height": 93,
"isBold": false,
@@ -46484,8 +47959,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "documents",
- "x": 1250,
- "y": 6430,
+ "x": 1920,
+ "y": 7410,
"width": 222,
"height": 261,
"isBold": false,
@@ -46500,8 +47975,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "documents_creators",
- "x": 2050,
- "y": 6650,
+ "x": 950,
+ "y": 7550,
"width": 186,
"height": 114,
"isBold": false,
@@ -46516,8 +47991,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "external_refs",
- "x": 1420,
- "y": 6180,
+ "x": 2250,
+ "y": 7410,
"width": 207,
"height": 156,
"isBold": false,
@@ -46532,8 +48007,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "file_contributors",
- "x": 1130,
- "y": 7390,
+ "x": 2010,
+ "y": 6430,
"width": 164,
"height": 114,
"isBold": false,
@@ -46548,8 +48023,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "file_types",
- "x": 1690,
- "y": 7680,
+ "x": 1740,
+ "y": 7970,
"width": 150,
"height": 93,
"isBold": false,
@@ -46564,8 +48039,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "files",
- "x": 1140,
- "y": 7150,
+ "x": 2020,
+ "y": 6590,
"width": 152,
"height": 198,
"isBold": false,
@@ -46580,8 +48055,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "files_licenses",
- "x": 1170,
- "y": 6960,
+ "x": 2020,
+ "y": 6840,
"width": 150,
"height": 135,
"isBold": false,
@@ -46596,8 +48071,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "files_scans",
- "x": 1340,
- "y": 7180,
+ "x": 1820,
+ "y": 6680,
"width": 150,
"height": 114,
"isBold": false,
@@ -46612,8 +48087,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "identifiers",
- "x": 540,
- "y": 7010,
+ "x": 2720,
+ "y": 7490,
"width": 207,
"height": 177,
"isBold": false,
@@ -46628,8 +48103,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "licenses",
- "x": 1200,
- "y": 6740,
+ "x": 2000,
+ "y": 7090,
"width": 182,
"height": 177,
"isBold": false,
@@ -46644,8 +48119,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "packages",
- "x": 1930,
- "y": 6950,
+ "x": 1080,
+ "y": 6710,
"width": 210,
"height": 471,
"isBold": false,
@@ -46660,8 +48135,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "packages_files",
- "x": 910,
- "y": 7090,
+ "x": 2280,
+ "y": 6700,
"width": 184,
"height": 177,
"isBold": false,
@@ -46676,8 +48151,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "packages_scans",
- "x": 1730,
- "y": 7180,
+ "x": 1410,
+ "y": 6690,
"width": 163,
"height": 114,
"isBold": false,
@@ -46692,8 +48167,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "projects",
- "x": 30,
- "y": 7680,
+ "x": 1540,
+ "y": 7950,
"width": 150,
"height": 135,
"isBold": false,
@@ -46708,8 +48183,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "relationship_types",
- "x": 30,
- "y": 7050,
+ "x": 2640,
+ "y": 7130,
"width": 176,
"height": 93,
"isBold": false,
@@ -46724,8 +48199,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "relationships",
- "x": 260,
- "y": 7020,
+ "x": 2640,
+ "y": 7280,
"width": 187,
"height": 156,
"isBold": false,
@@ -46740,8 +48215,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "sbom_scans",
- "x": 1910,
- "y": 7680,
+ "x": 1340,
+ "y": 7970,
"width": 150,
"height": 93,
"isBold": false,
@@ -46756,8 +48231,8 @@
"type": "table",
"schemaName": "spdx",
"tableName": "scanners",
- "x": 1530,
- "y": 7200,
+ "x": 1620,
+ "y": 6700,
"width": 150,
"height": 93,
"isBold": false,
@@ -46769,7 +48244,71 @@
}
}
],
- "layers": [],
+ "layers": [
+ {
+ "name": "SPDX",
+ "x": 480,
+ "y": 6250,
+ "width": 2493,
+ "height": 1894,
+ "layerColor": {
+ "r": 100,
+ "g": 234,
+ "b": 136,
+ "a": 1
+ },
+ "fontName": "Arial Unicode MS",
+ "fontSize": 14,
+ "fontColor": {
+ "r": 51,
+ "g": 51,
+ "b": 51,
+ "a": 1
+ }
+ },
+ {
+ "name": "Facade (Commit) Data Mart Tables",
+ "x": 1208,
+ "y": 1783,
+ "width": 992,
+ "height": 818,
+ "layerColor": {
+ "r": 100,
+ "g": 234,
+ "b": 136,
+ "a": 1
+ },
+ "fontName": "Arial Unicode MS",
+ "fontSize": 14,
+ "fontColor": {
+ "r": 51,
+ "g": 51,
+ "b": 51,
+ "a": 1
+ }
+ },
+ {
+ "name": "Facade Worker Operational Tables",
+ "x": 1213,
+ "y": 2632,
+ "width": 972,
+ "height": 556,
+ "layerColor": {
+ "r": 100,
+ "g": 234,
+ "b": 136,
+ "a": 1
+ },
+ "fontName": "Arial Unicode MS",
+ "fontSize": 14,
+ "fontColor": {
+ "r": 51,
+ "g": 51,
+ "b": 51,
+ "a": 1
+ }
+ }
+ ],
"relations": [
{
"name": "fk_commit_comment_ref_commits_1",
@@ -46779,17 +48318,17 @@
"visible": true,
"vertices": [
{
- "x": 7650,
- "y": 1470
+ "x": 3550,
+ "y": 4660
},
{
- "x": 7675,
- "y": 1470
+ "x": 3565,
+ "y": 4660
}
],
"label": {
- "x": 7646,
- "y": 1472,
+ "x": 3546,
+ "y": 4662,
"width": 233,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -46813,17 +48352,17 @@
"visible": true,
"vertices": [
{
- "x": 7995,
- "y": 1485
+ "x": 3735,
+ "y": 5005
},
{
- "x": 7975,
- "y": 1485
+ "x": 3735,
+ "y": 4983
}
],
"label": {
- "x": 8011,
- "y": 1487,
+ "x": 3743,
+ "y": 5015,
"width": 199,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -46847,17 +48386,17 @@
"visible": true,
"vertices": [
{
- "x": 7995,
- "y": 1455
+ "x": 3705,
+ "y": 5005
},
{
- "x": 7975,
- "y": 1455
+ "x": 3705,
+ "y": 4983
}
],
"label": {
- "x": 8011,
- "y": 1457,
+ "x": 3713,
+ "y": 5015,
"width": 199,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -46881,25 +48420,21 @@
"visible": true,
"vertices": [
{
- "x": 7935,
- "y": 1803
- },
- {
- "x": 7935,
- "y": 1825
+ "x": 3735,
+ "y": 4335
},
{
- "x": 8315,
- "y": 1825
+ "x": 3735,
+ "y": 3575
},
{
- "x": 8315,
- "y": 3625
+ "x": 4285,
+ "y": 3575
}
],
"label": {
- "x": 7943,
- "y": 1798,
+ "x": 3743,
+ "y": 4350,
"width": 173,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -46923,25 +48458,21 @@
"visible": true,
"vertices": [
{
- "x": 7905,
- "y": 1803
+ "x": 3705,
+ "y": 4335
},
{
- "x": 7905,
- "y": 1855
+ "x": 3705,
+ "y": 3545
},
{
- "x": 8285,
- "y": 1855
- },
- {
- "x": 8285,
- "y": 3625
+ "x": 4285,
+ "y": 3545
}
],
"label": {
- "x": 7913,
- "y": 1798,
+ "x": 3713,
+ "y": 4350,
"width": 173,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -46965,17 +48496,17 @@
"visible": true,
"vertices": [
{
- "x": 8310,
- "y": 4605
+ "x": 4340,
+ "y": 3765
},
{
- "x": 8310,
- "y": 4525
+ "x": 4340,
+ "y": 3691
}
],
"label": {
- "x": 8318,
- "y": 4615,
+ "x": 4348,
+ "y": 3775,
"width": 222,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -46999,17 +48530,17 @@
"visible": true,
"vertices": [
{
- "x": 8385,
- "y": 4095
+ "x": 4585,
+ "y": 3645
},
{
- "x": 8366,
- "y": 4095
+ "x": 4566,
+ "y": 3645
}
],
"label": {
- "x": 8401,
- "y": 4097,
+ "x": 4601,
+ "y": 3647,
"width": 73,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47033,17 +48564,17 @@
"visible": true,
"vertices": [
{
- "x": 8385,
- "y": 4065
+ "x": 4585,
+ "y": 3615
},
{
- "x": 8366,
- "y": 4065
+ "x": 4566,
+ "y": 3615
}
],
"label": {
- "x": 8401,
- "y": 4067,
+ "x": 4601,
+ "y": 3617,
"width": 245,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47067,17 +48598,17 @@
"visible": true,
"vertices": [
{
- "x": 8330,
- "y": 1801
+ "x": 4865,
+ "y": 3490
},
{
- "x": 8330,
- "y": 3625
+ "x": 4566,
+ "y": 3490
}
],
"label": {
- "x": 8338,
- "y": 1791,
+ "x": 4881,
+ "y": 3492,
"width": 243,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47101,21 +48632,17 @@
"visible": true,
"vertices": [
{
- "x": 8040,
- "y": 4675
- },
- {
- "x": 8040,
- "y": 4470
+ "x": 4715,
+ "y": 2900
},
{
- "x": 8085,
- "y": 4470
+ "x": 4566,
+ "y": 2900
}
],
"label": {
- "x": 8048,
- "y": 4685,
+ "x": 4731,
+ "y": 2902,
"width": 224,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47139,21 +48666,17 @@
"visible": true,
"vertices": [
{
- "x": 7730,
- "y": 5185
+ "x": 4645,
+ "y": 3230
},
{
- "x": 7730,
- "y": 4340
- },
- {
- "x": 8085,
- "y": 4340
+ "x": 4566,
+ "y": 3230
}
],
"label": {
- "x": 7738,
- "y": 5195,
+ "x": 4661,
+ "y": 3232,
"width": 202,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47177,25 +48700,17 @@
"visible": true,
"vertices": [
{
- "x": 8030,
- "y": 4945
- },
- {
- "x": 8030,
- "y": 4980
+ "x": 4975,
+ "y": 2900
},
{
- "x": 8020,
- "y": 4980
- },
- {
- "x": 8020,
- "y": 5025
+ "x": 5055,
+ "y": 2900
}
],
"label": {
- "x": 8038,
- "y": 4935,
+ "x": 4971,
+ "y": 2902,
"width": 191,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47219,17 +48734,17 @@
"visible": true,
"vertices": [
{
- "x": 7865,
- "y": 5360
+ "x": 4905,
+ "y": 3230
},
{
- "x": 7885,
- "y": 5360
+ "x": 5055,
+ "y": 3230
}
],
"label": {
- "x": 7861,
- "y": 5362,
+ "x": 4901,
+ "y": 3232,
"width": 169,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47253,17 +48768,17 @@
"visible": true,
"vertices": [
{
- "x": 8165,
- "y": 5360
+ "x": 5335,
+ "y": 2960
},
{
- "x": 8145,
- "y": 5360
+ "x": 5315,
+ "y": 2960
}
],
"label": {
- "x": 8181,
- "y": 5362,
+ "x": 5351,
+ "y": 2962,
"width": 164,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47287,17 +48802,17 @@
"visible": true,
"vertices": [
{
- "x": 8010,
- "y": 5715
+ "x": 5190,
+ "y": 4805
},
{
- "x": 8010,
- "y": 5694
+ "x": 5190,
+ "y": 3294
}
],
"label": {
- "x": 8018,
- "y": 5725,
+ "x": 5198,
+ "y": 4815,
"width": 208,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47321,21 +48836,17 @@
"visible": true,
"vertices": [
{
- "x": 7945,
- "y": 5025
- },
- {
- "x": 7945,
- "y": 4425
+ "x": 5055,
+ "y": 2735
},
{
- "x": 8085,
- "y": 4425
+ "x": 4566,
+ "y": 2735
}
],
"label": {
- "x": 7953,
- "y": 5035,
+ "x": 5071,
+ "y": 2737,
"width": 161,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47359,21 +48870,17 @@
"visible": true,
"vertices": [
{
- "x": 7915,
- "y": 5025
+ "x": 5055,
+ "y": 2705
},
{
- "x": 7915,
- "y": 4395
- },
- {
- "x": 8085,
- "y": 4395
+ "x": 4566,
+ "y": 2705
}
],
"label": {
- "x": 7923,
- "y": 5035,
+ "x": 5071,
+ "y": 2707,
"width": 161,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47397,17 +48904,17 @@
"visible": true,
"vertices": [
{
- "x": 1338,
- "y": 870
+ "x": 5370,
+ "y": 1135
},
{
- "x": 1365,
- "y": 870
+ "x": 5370,
+ "y": 1107
}
],
"label": {
- "x": 1334,
- "y": 872,
+ "x": 5378,
+ "y": 1145,
"width": 229,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47431,17 +48938,17 @@
"visible": true,
"vertices": [
{
- "x": 1510,
- "y": 595
+ "x": 5535,
+ "y": 850
},
{
- "x": 1510,
- "y": 615
+ "x": 5510,
+ "y": 850
}
],
"label": {
- "x": 1518,
- "y": 585,
+ "x": 5551,
+ "y": 852,
"width": 187,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47465,17 +48972,17 @@
"visible": true,
"vertices": [
{
- "x": 2015,
- "y": 910
+ "x": 6170,
+ "y": 410
},
{
- "x": 1993,
- "y": 910
+ "x": 6185,
+ "y": 410
}
],
"label": {
- "x": 2031,
- "y": 912,
+ "x": 6166,
+ "y": 412,
"width": 320,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47499,25 +49006,25 @@
"visible": true,
"vertices": [
{
- "x": 7365,
- "y": 1720
+ "x": 3320,
+ "y": 4850
},
{
- "x": 1180,
- "y": 1720
+ "x": 3320,
+ "y": 5190
},
{
- "x": 1180,
- "y": 5510
+ "x": 3270,
+ "y": 5190
},
{
- "x": 615,
- "y": 5510
+ "x": 3270,
+ "y": 5355
}
],
"label": {
- "x": 7381,
- "y": 1722,
+ "x": 3328,
+ "y": 4840,
"width": 238,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47541,21 +49048,17 @@
"visible": true,
"vertices": [
{
- "x": 515,
- "y": 5030
- },
- {
- "x": 480,
- "y": 5030
+ "x": 3104,
+ "y": 5670
},
{
- "x": 480,
- "y": 5475
+ "x": 3125,
+ "y": 5670
}
],
"label": {
- "x": 531,
- "y": 5032,
+ "x": 3100,
+ "y": 5672,
"width": 219,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47579,17 +49082,25 @@
"visible": true,
"vertices": [
{
- "x": 7875,
- "y": 5770
+ "x": 5040,
+ "y": 5096
+ },
+ {
+ "x": 5040,
+ "y": 5310
+ },
+ {
+ "x": 3340,
+ "y": 5310
},
{
- "x": 615,
- "y": 5770
+ "x": 3340,
+ "y": 5355
}
],
"label": {
- "x": 7891,
- "y": 5772,
+ "x": 5048,
+ "y": 5086,
"width": 225,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47613,25 +49124,29 @@
"visible": true,
"vertices": [
{
- "x": 615,
- "y": 5630
+ "x": 3300,
+ "y": 5355
+ },
+ {
+ "x": 3300,
+ "y": 5250
},
{
- "x": 6960,
- "y": 5630
+ "x": 3910,
+ "y": 5250
},
{
- "x": 6960,
- "y": 4270
+ "x": 3910,
+ "y": 3630
},
{
- "x": 8085,
- "y": 4270
+ "x": 4285,
+ "y": 3630
}
],
"label": {
- "x": 611,
- "y": 5632,
+ "x": 3308,
+ "y": 5365,
"width": 178,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47655,17 +49170,17 @@
"visible": true,
"vertices": [
{
- "x": 410,
- "y": 4897
+ "x": 3250,
+ "y": 5745
},
{
- "x": 410,
- "y": 5475
+ "x": 3250,
+ "y": 5730
}
],
"label": {
- "x": 418,
- "y": 4887,
+ "x": 3258,
+ "y": 5755,
"width": 219,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47689,17 +49204,17 @@
"visible": true,
"vertices": [
{
- "x": 275,
- "y": 5640
+ "x": 5245,
+ "y": 5540
},
{
- "x": 355,
- "y": 5640
+ "x": 3385,
+ "y": 5540
}
],
"label": {
- "x": 271,
- "y": 5642,
+ "x": 5261,
+ "y": 5542,
"width": 229,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47723,17 +49238,21 @@
"visible": true,
"vertices": [
{
- "x": 480,
- "y": 5808
+ "x": 3385,
+ "y": 5410
},
{
- "x": 480,
- "y": 5825
+ "x": 5210,
+ "y": 5410
+ },
+ {
+ "x": 5210,
+ "y": 5364
}
],
"label": {
- "x": 488,
- "y": 5798,
+ "x": 3381,
+ "y": 5412,
"width": 156,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47757,25 +49276,21 @@
"visible": true,
"vertices": [
{
- "x": 7650,
- "y": 3054
+ "x": 3520,
+ "y": 3134
},
{
- "x": 7650,
- "y": 3090
+ "x": 3520,
+ "y": 3420
},
{
- "x": 8170,
- "y": 3090
- },
- {
- "x": 8170,
- "y": 3625
+ "x": 4285,
+ "y": 3420
}
],
"label": {
- "x": 7658,
- "y": 3044,
+ "x": 3528,
+ "y": 3124,
"width": 267,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47799,25 +49314,21 @@
"visible": true,
"vertices": [
{
- "x": 7490,
- "y": 3549
- },
- {
- "x": 7490,
- "y": 3590
+ "x": 3660,
+ "y": 2869
},
{
- "x": 8120,
- "y": 3590
+ "x": 3660,
+ "y": 3350
},
{
- "x": 8120,
- "y": 3625
+ "x": 4285,
+ "y": 3350
}
],
"label": {
- "x": 7498,
- "y": 3539,
+ "x": 3668,
+ "y": 2859,
"width": 147,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47841,25 +49352,21 @@
"visible": true,
"vertices": [
{
- "x": 7930,
- "y": 2989
+ "x": 3830,
+ "y": 3239
},
{
- "x": 7930,
- "y": 3030
+ "x": 3830,
+ "y": 3280
},
{
- "x": 8200,
- "y": 3030
- },
- {
- "x": 8200,
- "y": 3625
+ "x": 4285,
+ "y": 3280
}
],
"label": {
- "x": 7938,
- "y": 2979,
+ "x": 3838,
+ "y": 3229,
"width": 245,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47883,25 +49390,17 @@
"visible": true,
"vertices": [
{
- "x": 1285,
- "y": 3080
- },
- {
- "x": 1240,
- "y": 3080
- },
- {
- "x": 1240,
- "y": 5550
+ "x": 3160,
+ "y": 2286
},
{
- "x": 615,
- "y": 5550
+ "x": 3160,
+ "y": 5355
}
],
"label": {
- "x": 1301,
- "y": 3082,
+ "x": 3168,
+ "y": 2276,
"width": 268,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -47925,24 +49424,16 @@
"visible": true,
"vertices": [
{
- "x": 7930,
+ "x": 4520,
"y": 2287
},
{
- "x": 7930,
- "y": 2330
- },
- {
- "x": 8250,
- "y": 2330
- },
- {
- "x": 8250,
- "y": 3625
+ "x": 4520,
+ "y": 2665
}
],
"label": {
- "x": 7938,
+ "x": 4528,
"y": 2277,
"width": 235,
"height": 31,
@@ -47967,25 +49458,17 @@
"visible": true,
"vertices": [
{
- "x": 8210,
- "y": 2229
- },
- {
- "x": 8210,
- "y": 2270
- },
- {
- "x": 8280,
- "y": 2270
+ "x": 4350,
+ "y": 2309
},
{
- "x": 8280,
- "y": 3625
+ "x": 4350,
+ "y": 2665
}
],
"label": {
- "x": 8218,
- "y": 2219,
+ "x": 4358,
+ "y": 2299,
"width": 232,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48009,17 +49492,17 @@
"visible": true,
"vertices": [
{
- "x": 8005,
- "y": 2140
+ "x": 4445,
+ "y": 2130
},
{
- "x": 7985,
- "y": 2140
+ "x": 4465,
+ "y": 2130
}
],
"label": {
- "x": 8021,
- "y": 2142,
+ "x": 4441,
+ "y": 2132,
"width": 272,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48043,25 +49526,25 @@
"visible": true,
"vertices": [
{
- "x": 6285,
- "y": 5060
+ "x": 3260,
+ "y": 4384
},
{
- "x": 6240,
- "y": 5060
+ "x": 3260,
+ "y": 4430
},
{
- "x": 6240,
- "y": 5590
+ "x": 3220,
+ "y": 4430
},
{
- "x": 615,
- "y": 5590
+ "x": 3220,
+ "y": 5355
}
],
"label": {
- "x": 6301,
- "y": 5062,
+ "x": 3268,
+ "y": 4374,
"width": 315,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48085,25 +49568,21 @@
"visible": true,
"vertices": [
{
- "x": 8030,
- "y": 2607
+ "x": 4120,
+ "y": 3134
},
{
- "x": 8030,
- "y": 2970
+ "x": 4120,
+ "y": 3170
},
{
- "x": 8220,
- "y": 2970
- },
- {
- "x": 8220,
- "y": 3625
+ "x": 4285,
+ "y": 3170
}
],
"label": {
- "x": 8038,
- "y": 2597,
+ "x": 4128,
+ "y": 3124,
"width": 264,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48127,17 +49606,17 @@
"visible": true,
"vertices": [
{
- "x": 6626,
- "y": 4510
+ "x": 3370,
+ "y": 3715
},
{
- "x": 6645,
- "y": 4510
+ "x": 3370,
+ "y": 3702
}
],
"label": {
- "x": 6622,
- "y": 4517,
+ "x": 3378,
+ "y": 3730,
"width": 388,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48161,17 +49640,17 @@
"visible": true,
"vertices": [
{
- "x": 6924,
- "y": 4210
+ "x": 3484,
+ "y": 3490
},
{
- "x": 8085,
- "y": 4210
+ "x": 4285,
+ "y": 3490
}
],
"label": {
- "x": 6920,
- "y": 4212,
+ "x": 3480,
+ "y": 3492,
"width": 251,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48195,21 +49674,21 @@
"visible": true,
"vertices": [
{
- "x": 7090,
- "y": 2034
+ "x": 4880,
+ "y": 1885
},
{
- "x": 7090,
- "y": 2100
+ "x": 4880,
+ "y": 1840
},
{
- "x": 7020,
- "y": 2100
+ "x": 3520,
+ "y": 1840
}
],
"label": {
- "x": 7098,
- "y": 2024,
+ "x": 4888,
+ "y": 1895,
"width": 264,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48233,21 +49712,21 @@
"visible": true,
"vertices": [
{
- "x": 7570,
- "y": 2805
+ "x": 3560,
+ "y": 2885
},
{
- "x": 7570,
- "y": 2770
+ "x": 3560,
+ "y": 2540
},
{
- "x": 7020,
- "y": 2770
+ "x": 3520,
+ "y": 2540
}
],
"label": {
- "x": 7578,
- "y": 2815,
+ "x": 3568,
+ "y": 2895,
"width": 276,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48271,21 +49750,21 @@
"visible": true,
"vertices": [
{
- "x": 7330,
- "y": 3195
+ "x": 3730,
+ "y": 2515
},
{
- "x": 7330,
- "y": 2920
+ "x": 3730,
+ "y": 2470
},
{
- "x": 7020,
- "y": 2920
+ "x": 3520,
+ "y": 2470
}
],
"label": {
- "x": 7338,
- "y": 3205,
+ "x": 3738,
+ "y": 2525,
"width": 265,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48309,21 +49788,21 @@
"visible": true,
"vertices": [
{
- "x": 7770,
- "y": 2635
+ "x": 3900,
+ "y": 2885
},
{
- "x": 7770,
- "y": 2600
+ "x": 3900,
+ "y": 2400
},
{
- "x": 7020,
- "y": 2600
+ "x": 3520,
+ "y": 2400
}
],
"label": {
- "x": 7778,
- "y": 2645,
+ "x": 3908,
+ "y": 2895,
"width": 254,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48347,17 +49826,17 @@
"visible": true,
"vertices": [
{
- "x": 6800,
- "y": 2035
+ "x": 3535,
+ "y": 1740
},
{
- "x": 6800,
- "y": 2055
+ "x": 3520,
+ "y": 1740
}
],
"label": {
- "x": 6808,
- "y": 2025,
+ "x": 3551,
+ "y": 1742,
"width": 265,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48381,17 +49860,25 @@
"visible": true,
"vertices": [
{
- "x": 6645,
- "y": 2100
+ "x": 3490,
+ "y": 1508
+ },
+ {
+ "x": 3490,
+ "y": 1550
+ },
+ {
+ "x": 3460,
+ "y": 1550
},
{
- "x": 6745,
- "y": 2100
+ "x": 3460,
+ "y": 1685
}
],
"label": {
- "x": 6641,
- "y": 2102,
+ "x": 3498,
+ "y": 1498,
"width": 250,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48415,17 +49902,17 @@
"visible": true,
"vertices": [
{
- "x": 1578,
- "y": 2920
+ "x": 3218,
+ "y": 2140
},
{
- "x": 6745,
- "y": 2920
+ "x": 3245,
+ "y": 2140
}
],
"label": {
- "x": 1574,
- "y": 2922,
+ "x": 3214,
+ "y": 2142,
"width": 293,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48449,17 +49936,21 @@
"visible": true,
"vertices": [
{
- "x": 7725,
- "y": 2240
+ "x": 4590,
+ "y": 1975
+ },
+ {
+ "x": 4590,
+ "y": 1910
},
{
- "x": 7020,
- "y": 2240
+ "x": 3520,
+ "y": 1910
}
],
"label": {
- "x": 7741,
- "y": 2242,
+ "x": 4598,
+ "y": 1985,
"width": 244,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48483,21 +49974,21 @@
"visible": true,
"vertices": [
{
- "x": 7870,
- "y": 2358
+ "x": 4080,
+ "y": 2885
},
{
- "x": 7870,
+ "x": 4080,
"y": 2330
},
{
- "x": 7020,
+ "x": 3520,
"y": 2330
}
],
"label": {
- "x": 7878,
- "y": 2368,
+ "x": 4088,
+ "y": 2895,
"width": 273,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48521,17 +50012,17 @@
"visible": true,
"vertices": [
{
- "x": 6780,
- "y": 4155
+ "x": 3310,
+ "y": 3285
},
{
- "x": 6780,
- "y": 2976
+ "x": 3310,
+ "y": 2606
}
],
"label": {
- "x": 6788,
- "y": 4165,
+ "x": 3318,
+ "y": 3295,
"width": 261,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48555,17 +50046,25 @@
"visible": true,
"vertices": [
{
- "x": 6669,
- "y": 2670
+ "x": 3400,
+ "y": 1093
+ },
+ {
+ "x": 3400,
+ "y": 1140
+ },
+ {
+ "x": 3390,
+ "y": 1140
},
{
- "x": 6745,
- "y": 2670
+ "x": 3390,
+ "y": 1685
}
],
"label": {
- "x": 6665,
- "y": 2677,
+ "x": 3408,
+ "y": 1088,
"width": 251,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48589,29 +50088,29 @@
"visible": true,
"vertices": [
{
- "x": 7020,
- "y": 2850
+ "x": 3520,
+ "y": 2270
},
{
- "x": 7390,
- "y": 2850
+ "x": 4140,
+ "y": 2270
},
{
- "x": 7390,
- "y": 3150
+ "x": 4140,
+ "y": 2410
},
{
- "x": 8140,
- "y": 3150
+ "x": 4320,
+ "y": 2410
},
{
- "x": 8140,
- "y": 3625
+ "x": 4320,
+ "y": 2665
}
],
"label": {
- "x": 7016,
- "y": 2852,
+ "x": 3516,
+ "y": 2272,
"width": 95,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48635,21 +50134,25 @@
"visible": true,
"vertices": [
{
- "x": 7820,
- "y": 1155
+ "x": 3865,
+ "y": 4660
+ },
+ {
+ "x": 5840,
+ "y": 4660
},
{
- "x": 7820,
- "y": 950
+ "x": 5840,
+ "y": 480
},
{
- "x": 7534,
- "y": 950
+ "x": 674,
+ "y": 480
}
],
"label": {
- "x": 7828,
- "y": 1170,
+ "x": 3861,
+ "y": 4667,
"width": 128,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48673,29 +50176,21 @@
"visible": true,
"vertices": [
{
- "x": 8090,
- "y": 5025
- },
- {
- "x": 8090,
- "y": 4980
- },
- {
- "x": 8680,
- "y": 4980
+ "x": 5190,
+ "y": 2625
},
{
- "x": 8680,
- "y": 740
+ "x": 5190,
+ "y": 610
},
{
- "x": 7534,
- "y": 740
+ "x": 674,
+ "y": 610
}
],
"label": {
- "x": 8098,
- "y": 5040,
+ "x": 5198,
+ "y": 2640,
"width": 101,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48719,25 +50214,21 @@
"visible": true,
"vertices": [
{
- "x": 1650,
- "y": 1080
+ "x": 5370,
+ "y": 585
},
{
- "x": 1690,
- "y": 1080
+ "x": 5370,
+ "y": 550
},
{
- "x": 1690,
- "y": 1150
- },
- {
- "x": 7215,
- "y": 1150
+ "x": 674,
+ "y": 550
}
],
"label": {
- "x": 1646,
- "y": 1087,
+ "x": 5378,
+ "y": 600,
"width": 125,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48761,25 +50252,17 @@
"visible": true,
"vertices": [
{
- "x": 2300,
- "y": 1050
- },
- {
- "x": 2340,
- "y": 1050
+ "x": 5885,
+ "y": 410
},
{
- "x": 2340,
- "y": 1120
- },
- {
- "x": 7215,
- "y": 1120
+ "x": 674,
+ "y": 410
}
],
"label": {
- "x": 2296,
- "y": 1052,
+ "x": 5901,
+ "y": 412,
"width": 210,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48803,21 +50286,17 @@
"visible": true,
"vertices": [
{
- "x": 7415,
- "y": 500
- },
- {
- "x": 7370,
- "y": 500
+ "x": 510,
+ "y": 327
},
{
- "x": 7370,
- "y": 685
+ "x": 510,
+ "y": 345
}
],
"label": {
- "x": 7431,
- "y": 502,
+ "x": 518,
+ "y": 317,
"width": 255,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48841,17 +50320,17 @@
"visible": true,
"vertices": [
{
- "x": 7310,
- "y": 327
+ "x": 335,
+ "y": 610
},
{
- "x": 7310,
- "y": 685
+ "x": 355,
+ "y": 610
}
],
"label": {
- "x": 7318,
- "y": 317,
+ "x": 331,
+ "y": 612,
"width": 265,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48875,21 +50354,21 @@
"visible": true,
"vertices": [
{
- "x": 7020,
- "y": 2170
+ "x": 3300,
+ "y": 1685
},
{
- "x": 7270,
- "y": 2170
+ "x": 3300,
+ "y": 680
},
{
- "x": 7270,
- "y": 1207
+ "x": 674,
+ "y": 680
}
],
"label": {
- "x": 7016,
- "y": 2177,
+ "x": 3308,
+ "y": 1700,
"width": 159,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48913,25 +50392,17 @@
"visible": true,
"vertices": [
{
- "x": 7129,
- "y": 650
- },
- {
- "x": 7170,
- "y": 650
+ "x": 380,
+ "y": 5955
},
{
- "x": 7170,
- "y": 720
- },
- {
- "x": 7215,
- "y": 720
+ "x": 380,
+ "y": 867
}
],
"label": {
- "x": 7125,
- "y": 657,
+ "x": 388,
+ "y": 5970,
"width": 129,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48955,25 +50426,25 @@
"visible": true,
"vertices": [
{
- "x": 6785,
- "y": 680
+ "x": 520,
+ "y": 5955
},
{
- "x": 6820,
- "y": 680
+ "x": 520,
+ "y": 5920
},
{
- "x": 6820,
- "y": 740
+ "x": 400,
+ "y": 5920
},
{
- "x": 7215,
- "y": 740
+ "x": 400,
+ "y": 867
}
],
"label": {
- "x": 6781,
- "y": 682,
+ "x": 528,
+ "y": 5965,
"width": 161,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -48997,25 +50468,25 @@
"visible": true,
"vertices": [
{
- "x": 6443,
- "y": 700
+ "x": 500,
+ "y": 5625
},
{
- "x": 6480,
- "y": 700
+ "x": 500,
+ "y": 5580
},
{
- "x": 6480,
- "y": 770
+ "x": 410,
+ "y": 5580
},
{
- "x": 7215,
- "y": 770
+ "x": 410,
+ "y": 867
}
],
"label": {
- "x": 6439,
- "y": 702,
+ "x": 508,
+ "y": 5635,
"width": 223,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49039,25 +50510,25 @@
"visible": true,
"vertices": [
{
- "x": 6075,
- "y": 730
+ "x": 510,
+ "y": 5275
},
{
- "x": 6120,
- "y": 730
+ "x": 510,
+ "y": 5230
},
{
- "x": 6120,
- "y": 800
+ "x": 430,
+ "y": 5230
},
{
- "x": 7215,
- "y": 800
+ "x": 430,
+ "y": 867
}
],
"label": {
- "x": 6071,
- "y": 732,
+ "x": 518,
+ "y": 5285,
"width": 54,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49081,25 +50552,25 @@
"visible": true,
"vertices": [
{
- "x": 5739,
- "y": 760
+ "x": 530,
+ "y": 4915
},
{
- "x": 5780,
- "y": 760
+ "x": 530,
+ "y": 4880
},
{
- "x": 5780,
- "y": 820
+ "x": 440,
+ "y": 4880
},
{
- "x": 7215,
- "y": 820
+ "x": 440,
+ "y": 867
}
],
"label": {
- "x": 5735,
- "y": 762,
+ "x": 538,
+ "y": 4925,
"width": 54,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49123,21 +50594,21 @@
"visible": true,
"vertices": [
{
- "x": 7215,
- "y": 1170
+ "x": 674,
+ "y": 750
},
{
- "x": 1010,
- "y": 1170
+ "x": 2380,
+ "y": 750
},
{
- "x": 1010,
- "y": 5155
+ "x": 2380,
+ "y": 5255
}
],
"label": {
- "x": 7231,
- "y": 1177,
+ "x": 670,
+ "y": 757,
"width": 154,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49161,17 +50632,17 @@
"visible": true,
"vertices": [
{
- "x": 930,
- "y": 1136
+ "x": 2235,
+ "y": 5410
},
{
- "x": 930,
- "y": 5155
+ "x": 2255,
+ "y": 5410
}
],
"label": {
- "x": 938,
- "y": 1126,
+ "x": 2231,
+ "y": 5412,
"width": 251,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49195,21 +50666,17 @@
"visible": true,
"vertices": [
{
- "x": 540,
- "y": 5475
+ "x": 3125,
+ "y": 5410
},
{
- "x": 540,
- "y": 5310
- },
- {
- "x": 585,
- "y": 5310
+ "x": 2809,
+ "y": 5410
}
],
"label": {
- "x": 548,
- "y": 5485,
+ "x": 3141,
+ "y": 5412,
"width": 248,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49233,17 +50700,17 @@
"visible": true,
"vertices": [
{
- "x": 859,
- "y": 5310
+ "x": 2535,
+ "y": 5410
},
{
- "x": 875,
- "y": 5310
+ "x": 2515,
+ "y": 5410
}
],
"label": {
- "x": 855,
- "y": 5312,
+ "x": 2551,
+ "y": 5412,
"width": 269,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49267,25 +50734,25 @@
"visible": true,
"vertices": [
{
- "x": 5396,
- "y": 780
+ "x": 540,
+ "y": 4025
},
{
- "x": 5440,
- "y": 780
+ "x": 540,
+ "y": 3980
},
{
- "x": 5440,
- "y": 850
+ "x": 450,
+ "y": 3980
},
{
- "x": 7215,
- "y": 850
+ "x": 450,
+ "y": 867
}
],
"label": {
- "x": 5392,
- "y": 782,
+ "x": 548,
+ "y": 4035,
"width": 134,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49309,25 +50776,25 @@
"visible": true,
"vertices": [
{
- "x": 5035,
- "y": 810
+ "x": 550,
+ "y": 3585
},
{
- "x": 5080,
- "y": 810
+ "x": 550,
+ "y": 3540
},
{
- "x": 5080,
- "y": 880
+ "x": 470,
+ "y": 3540
},
{
- "x": 7215,
- "y": 880
+ "x": 470,
+ "y": 867
}
],
"label": {
- "x": 5031,
- "y": 812,
+ "x": 558,
+ "y": 3595,
"width": 159,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49351,25 +50818,25 @@
"visible": true,
"vertices": [
{
- "x": 4692,
- "y": 840
+ "x": 570,
+ "y": 3175
},
{
- "x": 4730,
- "y": 840
+ "x": 570,
+ "y": 3130
},
{
- "x": 4730,
- "y": 910
+ "x": 480,
+ "y": 3130
},
{
- "x": 7215,
- "y": 910
+ "x": 480,
+ "y": 867
}
],
"label": {
- "x": 4688,
- "y": 842,
+ "x": 373,
+ "y": 3942,
"width": 78,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49393,25 +50860,25 @@
"visible": true,
"vertices": [
{
- "x": 4350,
- "y": 870
+ "x": 580,
+ "y": 2655
},
{
- "x": 4390,
- "y": 870
+ "x": 580,
+ "y": 2610
},
{
- "x": 4390,
- "y": 930
+ "x": 490,
+ "y": 2610
},
{
- "x": 7215,
- "y": 930
+ "x": 490,
+ "y": 867
}
],
"label": {
- "x": 4346,
- "y": 872,
+ "x": 383,
+ "y": 3422,
"width": 142,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49435,25 +50902,25 @@
"visible": true,
"vertices": [
{
- "x": 3995,
- "y": 890
+ "x": 600,
+ "y": 2315
},
{
- "x": 4030,
- "y": 890
+ "x": 600,
+ "y": 2280
},
{
- "x": 4030,
- "y": 960
+ "x": 510,
+ "y": 2280
},
{
- "x": 7215,
- "y": 960
+ "x": 510,
+ "y": 867
}
],
"label": {
- "x": 3991,
- "y": 892,
+ "x": 403,
+ "y": 3082,
"width": 142,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49477,25 +50944,25 @@
"visible": true,
"vertices": [
{
- "x": 3648,
- "y": 920
+ "x": 610,
+ "y": 2095
},
{
- "x": 3690,
- "y": 920
+ "x": 610,
+ "y": 2050
},
{
- "x": 3690,
- "y": 990
+ "x": 520,
+ "y": 2050
},
{
- "x": 7215,
- "y": 990
+ "x": 520,
+ "y": 867
}
],
"label": {
- "x": 3644,
- "y": 922,
+ "x": 413,
+ "y": 2862,
"width": 118,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49519,25 +50986,25 @@
"visible": true,
"vertices": [
{
- "x": 3325,
- "y": 970
+ "x": 630,
+ "y": 1765
},
{
- "x": 3370,
- "y": 970
+ "x": 630,
+ "y": 1720
},
{
- "x": 3370,
- "y": 1010
+ "x": 540,
+ "y": 1720
},
{
- "x": 7215,
- "y": 1010
+ "x": 540,
+ "y": 867
}
],
"label": {
- "x": 3321,
- "y": 972,
+ "x": 433,
+ "y": 2532,
"width": 141,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49561,25 +51028,25 @@
"visible": true,
"vertices": [
{
- "x": 2985,
- "y": 1000
+ "x": 640,
+ "y": 1285
},
{
- "x": 3030,
- "y": 1000
+ "x": 640,
+ "y": 1240
},
{
- "x": 3030,
- "y": 1070
+ "x": 550,
+ "y": 1240
},
{
- "x": 7215,
- "y": 1070
+ "x": 550,
+ "y": 867
}
],
"label": {
- "x": 2981,
- "y": 1002,
+ "x": 443,
+ "y": 2052,
"width": 198,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49603,25 +51070,25 @@
"visible": true,
"vertices": [
{
- "x": 2645,
- "y": 1030
+ "x": 650,
+ "y": 955
},
{
- "x": 2690,
- "y": 1030
+ "x": 650,
+ "y": 910
},
{
- "x": 2690,
- "y": 1090
+ "x": 650,
+ "y": 910
},
{
- "x": 7215,
- "y": 1090
+ "x": 650,
+ "y": 867
}
],
"label": {
- "x": 2641,
- "y": 1032,
+ "x": 453,
+ "y": 1722,
"width": 141,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49645,17 +51112,17 @@
"visible": true,
"vertices": [
{
- "x": 2461,
- "y": 6500
+ "x": 2030,
+ "y": 7933
},
{
- "x": 2485,
- "y": 6500
+ "x": 2030,
+ "y": 7955
}
],
"label": {
- "x": 2457,
- "y": 6471,
+ "x": 1260,
+ "y": 10395,
"width": 237,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49679,17 +51146,21 @@
"visible": true,
"vertices": [
{
- "x": 2360,
- "y": 6613
+ "x": 1925,
+ "y": 7820
},
{
- "x": 2360,
- "y": 6625
+ "x": 820,
+ "y": 7820
+ },
+ {
+ "x": 820,
+ "y": 7690
}
],
"label": {
- "x": 2368,
- "y": 6603,
+ "x": 1260,
+ "y": 10193,
"width": 182,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49713,17 +51184,17 @@
"visible": true,
"vertices": [
{
- "x": 2447,
- "y": 6720
+ "x": 725,
+ "y": 7610
},
{
- "x": 2455,
- "y": 6720
+ "x": 707,
+ "y": 7610
}
],
"label": {
- "x": 2443,
- "y": 6691,
+ "x": 450,
+ "y": 9864,
"width": 194,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49747,17 +51218,17 @@
"visible": true,
"vertices": [
{
- "x": 2245,
- "y": 6500
+ "x": 2030,
+ "y": 7705
},
{
- "x": 1487,
- "y": 6500
+ "x": 2030,
+ "y": 7686
}
],
"label": {
- "x": 2261,
- "y": 6502,
+ "x": 1310,
+ "y": 10187,
"width": 200,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49781,17 +51252,25 @@
"visible": true,
"vertices": [
{
- "x": 1320,
- "y": 6415
+ "x": 2157,
+ "y": 7460
+ },
+ {
+ "x": 2200,
+ "y": 7460
+ },
+ {
+ "x": 2200,
+ "y": 7320
},
{
- "x": 1320,
- "y": 6338
+ "x": 2235,
+ "y": 7320
}
],
"label": {
- "x": 1328,
- "y": 6394,
+ "x": 1495,
+ "y": 10001,
"width": 275,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49815,17 +51294,17 @@
"visible": true,
"vertices": [
{
- "x": 2251,
- "y": 6720
+ "x": 935,
+ "y": 7610
},
{
- "x": 2265,
- "y": 6720
+ "x": 907,
+ "y": 7610
}
],
"label": {
- "x": 2247,
- "y": 6722,
+ "x": 460,
+ "y": 9864,
"width": 236,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49849,21 +51328,17 @@
"visible": true,
"vertices": [
{
- "x": 2110,
- "y": 6635
- },
- {
- "x": 2110,
- "y": 6610
+ "x": 1151,
+ "y": 7610
},
{
- "x": 1487,
- "y": 6610
+ "x": 1905,
+ "y": 7610
}
],
"label": {
- "x": 2118,
- "y": 6645,
+ "x": 549,
+ "y": 9931,
"width": 254,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49887,25 +51362,17 @@
"visible": true,
"vertices": [
{
- "x": 1480,
- "y": 6351
- },
- {
- "x": 1480,
- "y": 6380
- },
- {
- "x": 1430,
- "y": 6380
+ "x": 2235,
+ "y": 7530
},
{
- "x": 1430,
- "y": 6415
+ "x": 2157,
+ "y": 7530
}
],
"label": {
- "x": 1488,
- "y": 6341,
+ "x": 1370,
+ "y": 10155,
"width": 208,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49929,17 +51396,17 @@
"visible": true,
"vertices": [
{
- "x": 1405,
- "y": 6270
+ "x": 2360,
+ "y": 7395
},
{
- "x": 1393,
- "y": 6270
+ "x": 2360,
+ "y": 7378
}
],
"label": {
- "x": 1421,
- "y": 6241,
+ "x": 1380,
+ "y": 10097,
"width": 287,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49963,17 +51430,17 @@
"visible": true,
"vertices": [
{
- "x": 1220,
- "y": 7375
+ "x": 2090,
+ "y": 6559
},
{
- "x": 1220,
- "y": 7363
+ "x": 2090,
+ "y": 6575
}
],
"label": {
- "x": 1228,
- "y": 7385,
+ "x": 870,
+ "y": 8128,
"width": 182,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -49997,17 +51464,17 @@
"visible": true,
"vertices": [
{
- "x": 1230,
- "y": 7110
+ "x": 2090,
+ "y": 6825
},
{
- "x": 1230,
- "y": 7135
+ "x": 2090,
+ "y": 6803
}
],
"label": {
- "x": 1238,
- "y": 7100,
+ "x": 1427,
+ "y": 8699,
"width": 166,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50031,17 +51498,17 @@
"visible": true,
"vertices": [
{
- "x": 1325,
- "y": 7250
+ "x": 1985,
+ "y": 6740
},
{
- "x": 1307,
- "y": 7250
+ "x": 2005,
+ "y": 6740
}
],
"label": {
- "x": 1341,
- "y": 7252,
+ "x": 743,
+ "y": 8464,
"width": 152,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50065,25 +51532,21 @@
"visible": true,
"vertices": [
{
- "x": 2360,
- "y": 6385
- },
- {
- "x": 2360,
- "y": 6130
+ "x": 2141,
+ "y": 7820
},
{
- "x": 650,
- "y": 6130
+ "x": 2820,
+ "y": 7820
},
{
- "x": 650,
- "y": 6995
+ "x": 2820,
+ "y": 7682
}
],
"label": {
- "x": 2368,
- "y": 6395,
+ "x": 1339,
+ "y": 10401,
"width": 191,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50107,25 +51570,17 @@
"visible": true,
"vertices": [
{
- "x": 762,
- "y": 7090
- },
- {
- "x": 860,
- "y": 7090
+ "x": 2705,
+ "y": 7630
},
{
- "x": 860,
- "y": 6630
- },
- {
- "x": 1235,
- "y": 6630
+ "x": 2157,
+ "y": 7630
}
],
"label": {
- "x": 758,
- "y": 7092,
+ "x": 1963,
+ "y": 9504,
"width": 187,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50149,25 +51604,25 @@
"visible": true,
"vertices": [
{
- "x": 762,
- "y": 7040
+ "x": 2705,
+ "y": 7570
},
{
- "x": 800,
- "y": 7040
+ "x": 2520,
+ "y": 7570
},
{
- "x": 800,
- "y": 6300
+ "x": 2520,
+ "y": 7320
},
{
- "x": 1155,
- "y": 6300
+ "x": 2473,
+ "y": 7320
}
],
"label": {
- "x": 758,
- "y": 7011,
+ "x": 1963,
+ "y": 9504,
"width": 267,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50191,17 +51646,17 @@
"visible": true,
"vertices": [
{
- "x": 1320,
- "y": 6706
+ "x": 2090,
+ "y": 7395
},
{
- "x": 1320,
- "y": 6725
+ "x": 2090,
+ "y": 7282
}
],
"label": {
- "x": 1328,
- "y": 6696,
+ "x": 1500,
+ "y": 9673,
"width": 212,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50225,17 +51680,17 @@
"visible": true,
"vertices": [
{
- "x": 1260,
- "y": 6945
+ "x": 2090,
+ "y": 6990
},
{
- "x": 1260,
- "y": 6932
+ "x": 2090,
+ "y": 7075
}
],
"label": {
- "x": 1268,
- "y": 6955,
+ "x": 1500,
+ "y": 8989,
"width": 192,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50259,25 +51714,21 @@
"visible": true,
"vertices": [
{
- "x": 1430,
- "y": 6706
- },
- {
- "x": 1430,
- "y": 6800
+ "x": 1905,
+ "y": 7540
},
{
- "x": 2000,
- "y": 6800
+ "x": 1190,
+ "y": 7540
},
{
- "x": 2000,
- "y": 6935
+ "x": 1190,
+ "y": 7196
}
],
"label": {
- "x": 1438,
- "y": 6696,
+ "x": 1370,
+ "y": 9810,
"width": 187,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50301,25 +51752,25 @@
"visible": true,
"vertices": [
{
- "x": 650,
- "y": 7202
+ "x": 2880,
+ "y": 7475
},
{
- "x": 650,
- "y": 7610
+ "x": 2880,
+ "y": 6310
},
{
- "x": 2040,
- "y": 7610
+ "x": 1130,
+ "y": 6310
},
{
- "x": 2040,
- "y": 7436
+ "x": 1130,
+ "y": 6695
}
],
"label": {
- "x": 658,
- "y": 7192,
+ "x": 2230,
+ "y": 9267,
"width": 179,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50343,25 +51794,17 @@
"visible": true,
"vertices": [
{
- "x": 1915,
- "y": 7025
- },
- {
- "x": 1875,
- "y": 7025
- },
- {
- "x": 1875,
- "y": 6875
+ "x": 1305,
+ "y": 7145
},
{
- "x": 1397,
- "y": 6875
+ "x": 1985,
+ "y": 7145
}
],
"label": {
- "x": 1931,
- "y": 7027,
+ "x": 978,
+ "y": 9094,
"width": 240,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50385,25 +51828,17 @@
"visible": true,
"vertices": [
{
- "x": 1915,
- "y": 6995
- },
- {
- "x": 1905,
- "y": 6995
- },
- {
- "x": 1905,
- "y": 6845
+ "x": 1305,
+ "y": 7115
},
{
- "x": 1397,
- "y": 6845
+ "x": 1985,
+ "y": 7115
}
],
"label": {
- "x": 1931,
- "y": 6997,
+ "x": 1008,
+ "y": 9094,
"width": 230,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50427,21 +51862,21 @@
"visible": true,
"vertices": [
{
- "x": 2155,
- "y": 7205
+ "x": 1065,
+ "y": 6955
},
{
- "x": 2375,
- "y": 7205
+ "x": 835,
+ "y": 6955
},
{
- "x": 2375,
- "y": 6790
+ "x": 835,
+ "y": 7525
}
],
"label": {
- "x": 2151,
- "y": 7207,
+ "x": 670,
+ "y": 8714,
"width": 184,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50465,21 +51900,21 @@
"visible": true,
"vertices": [
{
- "x": 2155,
- "y": 7175
+ "x": 1065,
+ "y": 6925
},
{
- "x": 2345,
- "y": 7175
+ "x": 805,
+ "y": 6925
},
{
- "x": 2345,
- "y": 6790
+ "x": 805,
+ "y": 7525
}
],
"label": {
- "x": 2151,
- "y": 7177,
+ "x": 670,
+ "y": 8714,
"width": 175,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50503,17 +51938,25 @@
"visible": true,
"vertices": [
{
- "x": 762,
- "y": 7150
+ "x": 2705,
+ "y": 7520
+ },
+ {
+ "x": 2580,
+ "y": 7520
},
{
- "x": 895,
- "y": 7150
+ "x": 2580,
+ "y": 6830
+ },
+ {
+ "x": 2479,
+ "y": 6830
}
],
"label": {
- "x": 758,
- "y": 7152,
+ "x": 1963,
+ "y": 9344,
"width": 204,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50537,29 +51980,25 @@
"visible": true,
"vertices": [
{
- "x": 1915,
- "y": 7375
+ "x": 1215,
+ "y": 6695
},
{
- "x": 1905,
- "y": 7375
- },
- {
- "x": 1905,
- "y": 7565
+ "x": 1215,
+ "y": 6385
},
{
- "x": 985,
- "y": 7565
+ "x": 2365,
+ "y": 6385
},
{
- "x": 985,
- "y": 7282
+ "x": 2365,
+ "y": 6685
}
],
"label": {
- "x": 1931,
- "y": 7346,
+ "x": 1032,
+ "y": 8302,
"width": 178,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50583,29 +52022,25 @@
"visible": true,
"vertices": [
{
- "x": 1015,
- "y": 7282
- },
- {
- "x": 1015,
- "y": 7535
+ "x": 2395,
+ "y": 6685
},
{
- "x": 1875,
- "y": 7535
+ "x": 2395,
+ "y": 6355
},
{
- "x": 1875,
- "y": 7345
+ "x": 1185,
+ "y": 6355
},
{
- "x": 1915,
- "y": 7345
+ "x": 1185,
+ "y": 6695
}
],
"label": {
- "x": 1023,
- "y": 7272,
+ "x": 1380,
+ "y": 8397,
"width": 178,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50629,21 +52064,21 @@
"visible": true,
"vertices": [
{
- "x": 1000,
- "y": 7075
+ "x": 2380,
+ "y": 6892
},
{
- "x": 1000,
- "y": 6830
+ "x": 2380,
+ "y": 7170
},
{
- "x": 1185,
- "y": 6830
+ "x": 2197,
+ "y": 7170
}
],
"label": {
- "x": 1008,
- "y": 7085,
+ "x": 1380,
+ "y": 8771,
"width": 272,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50667,17 +52102,17 @@
"visible": true,
"vertices": [
{
- "x": 1109,
- "y": 7200
+ "x": 2265,
+ "y": 6740
},
{
- "x": 1125,
- "y": 7200
+ "x": 2187,
+ "y": 6740
}
],
"label": {
- "x": 1105,
- "y": 7202,
+ "x": 1176,
+ "y": 8504,
"width": 176,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50701,17 +52136,17 @@
"visible": true,
"vertices": [
{
- "x": 1908,
- "y": 7250
+ "x": 1395,
+ "y": 6750
},
{
- "x": 1915,
- "y": 7250
+ "x": 1305,
+ "y": 6750
}
],
"label": {
- "x": 1904,
- "y": 7252,
+ "x": 1173,
+ "y": 8474,
"width": 223,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50735,17 +52170,17 @@
"visible": true,
"vertices": [
{
- "x": 462,
- "y": 7105
+ "x": 2775,
+ "y": 7451
},
{
- "x": 525,
- "y": 7105
+ "x": 2775,
+ "y": 7475
}
],
"label": {
- "x": 458,
- "y": 7107,
+ "x": 2325,
+ "y": 9298,
"width": 223,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50769,17 +52204,17 @@
"visible": true,
"vertices": [
{
- "x": 245,
- "y": 7090
+ "x": 2730,
+ "y": 7265
},
{
- "x": 221,
- "y": 7090
+ "x": 2730,
+ "y": 7238
}
],
"label": {
- "x": 261,
- "y": 7061,
+ "x": 2477,
+ "y": 9147,
"width": 250,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50803,17 +52238,17 @@
"visible": true,
"vertices": [
{
- "x": 462,
- "y": 7075
+ "x": 2745,
+ "y": 7451
},
{
- "x": 525,
- "y": 7075
+ "x": 2745,
+ "y": 7475
}
],
"label": {
- "x": 458,
- "y": 7077,
+ "x": 2295,
+ "y": 9328,
"width": 232,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50837,17 +52272,17 @@
"visible": true,
"vertices": [
{
- "x": 1505,
- "y": 7250
+ "x": 1805,
+ "y": 6740
},
{
- "x": 1515,
- "y": 7250
+ "x": 1785,
+ "y": 6740
}
],
"label": {
- "x": 1501,
- "y": 7252,
+ "x": 583,
+ "y": 8464,
"width": 184,
"height": 31,
"fontName": "Arial Unicode MS",
@@ -50871,17 +52306,17 @@
"visible": true,
"vertices": [
{
- "x": 1715,
- "y": 7250
+ "x": 1588,
+ "y": 6740
},
{
- "x": 1695,
- "y": 7250
+ "x": 1605,
+ "y": 6740
}
],
"label": {
- "x": 1731,
- "y": 7252,
+ "x": 1260,
+ "y": 8464,
"width": 219,
"height": 31,
"fontName": "Arial Unicode MS",
diff --git a/schema/20210811-augur-0.2.1-release.pdf b/schema/20210811-augur-0.2.1-release.pdf
new file mode 100644
index 0000000000..1c5a247536
Binary files /dev/null and b/schema/20210811-augur-0.2.1-release.pdf differ
diff --git a/schema/20210811-augur-0.2.1-release.png b/schema/20210811-augur-0.2.1-release.png
new file mode 100644
index 0000000000..7459c36a9a
Binary files /dev/null and b/schema/20210811-augur-0.2.1-release.png differ
diff --git a/schema/20210811-augur-0.2.1-release.svg b/schema/20210811-augur-0.2.1-release.svg
new file mode 100644
index 0000000000..14e714627b
--- /dev/null
+++ b/schema/20210811-augur-0.2.1-release.svg
@@ -0,0 +1,60200 @@
+
+
diff --git a/setup.py b/setup.py
index 7173c50617..59d8653709 100644
--- a/setup.py
+++ b/setup.py
@@ -49,7 +49,7 @@
"psycopg2-binary==2.8.6",
"click<8.0,>=5.1",
"psutil==5.8.0",
- "gunicorn==20.1.0",
+ "gunicorn==20.0.4",
"six==1.15.0",
"bokeh==2.0.2",
"selenium==3.141.0",
diff --git a/workers/github_worker/github_worker.py b/workers/github_worker/github_worker.py
index c038c81d4b..57a0f7985f 100644
--- a/workers/github_worker/github_worker.py
+++ b/workers/github_worker/github_worker.py
@@ -191,9 +191,18 @@ def issues_model(self, entry_info, repo_id):
pk_source_issues = self._get_pk_source_issues()
if pk_source_issues:
- self.issue_comments_model(pk_source_issues)
- issue_events_all = self.issue_events_model(pk_source_issues)
- self.issue_nested_data_model(pk_source_issues, issue_events_all)
+ try:
+ self.issue_comments_model(pk_source_issues)
+ except Exception as e:
+ self.logger.info(f"issue comments model failed on {e}.")
+ try:
+ issue_events_all = self.issue_events_model(pk_source_issues)
+ except Exception as e:
+ self.logger.info(f"issue events model failed on {e}")
+ try:
+ self.issue_nested_data_model(pk_source_issues, issue_events_all)
+ except Exception as e:
+ self.logger.info("issue nested model failed on {e}.")
# Register this task as completed
self.register_task_completion(entry_info, self.repo_id, 'issues')
diff --git a/workers/pull_request_worker/pull_request_worker.py b/workers/pull_request_worker/pull_request_worker.py
index 5e3a685731..241da6a098 100644
--- a/workers/pull_request_worker/pull_request_worker.py
+++ b/workers/pull_request_worker/pull_request_worker.py
@@ -541,15 +541,30 @@ def pull_requests_model(self, entry_info, repo_id):
self.logger.info("Beginning collection of Pull Requests...\n")
self.logger.info(f"Repo ID: {self.repo_id}, Git URL: {github_url}\n")
- pk_source_prs = self._get_pk_source_prs()
+ try:
+ pk_source_prs = self._get_pk_source_prs()
+ except Exception as e:
+ self.logger(f"Pull Requests model failed with {e}.")
self.write_debug_data(pk_source_prs, 'pk_source_prs')
if pk_source_prs:
- self.pull_request_comments_model()
- self.pull_request_events_model(pk_source_prs)
- self.pull_request_reviews_model(pk_source_prs)
- self.pull_request_nested_data_model(pk_source_prs)
+ try:
+ self.pull_request_comments_model()
+ except Exception as e:
+ self.logger(f"Comments model failed with {e}.")
+ try:
+ self.pull_request_events_model(pk_source_prs)
+ except Exception as e:
+ self.logger(f"PR Events model failed with {e}.")
+ try:
+ self.pull_request_reviews_model(pk_source_prs)
+ except Exception as e:
+ self.logger(f"PR Reviews model failed with {e}.")
+ try:
+ self.pull_request_nested_data_model(pk_source_prs)
+ except Exception as e:
+ self.logger(f"PR Nested Data model failed with {e}.")
self.register_task_completion(self.task_info, self.repo_id, 'pull_requests')
diff --git a/workers/worker_persistance.py b/workers/worker_persistance.py
index 3544b02204..b0557bde39 100644
--- a/workers/worker_persistance.py
+++ b/workers/worker_persistance.py
@@ -37,6 +37,8 @@ class Persistant():
def __init__(self, worker_type, data_tables=[],operations_tables=[]):
+ self.db_schema = None
+ self.helper_schema = None
self.worker_type = worker_type
#For database functionality
self.data_tables = data_tables
@@ -178,13 +180,13 @@ def initialize_database_connections(self):
# Create an sqlalchemy engine for both database schemas
self.logger.info("Making database connections")
- db_schema = 'augur_data'
+ self.db_schema = 'augur_data'
self.db = s.create_engine(DB_STR, poolclass=s.pool.NullPool,
- connect_args={'options': '-csearch_path={}'.format(db_schema)})
-
- helper_schema = 'augur_operations'
+ connect_args={'options': '-csearch_path={}'.format(self.db_schema)})
+ # , 'client_encoding': 'utf8'
+ self.helper_schema = 'augur_operations'
self.helper_db = s.create_engine(DB_STR, poolclass=s.pool.NullPool,
- connect_args={'options': '-csearch_path={}'.format(helper_schema)})
+ connect_args={'options': '-csearch_path={}'.format(self.helper_schema)})
metadata = s.MetaData()
helper_metadata = s.MetaData()
@@ -755,8 +757,7 @@ def psql_insert_copy(table, conn, keys, data_iter):
"""
# gets a DBAPI connection that can provide a cursor
dbapi_conn = conn.connection
- with dbapi_conn.cursor() as cur:
- psycopg2.extensions.register_type(psycopg2.extensions.UNICODE, cur)
+ with dbapi_conn.cursor() as curs:
s_buf = io.StringIO()
writer = csv.writer(s_buf)
writer.writerows(data_iter)
@@ -772,15 +773,19 @@ def psql_insert_copy(table, conn, keys, data_iter):
table_name, columns)
#This causes the github worker to throw an error with pandas
#cur.copy_expert(sql=sql, file=self.text_clean(s_buf))
- s_buf_encoded = s_buf.read().encode("UTF-8")
- self.logger.info(f"this is the sbuf_encdoded {s_buf_encoded}")
- cur.copy_expert(sql=sql, file=s_buf)
+ # s_buf_encoded = s_buf.read().encode("UTF-8")
+ #self.logger.info(f"this is the sbuf_encdoded {s_buf_encoded}")
+ try:
+ curs.copy_expert(sql=sql, file=s_buf)
+ except Exception as e:
+ self.logger.info(f"this is the error: {e}.")
df = pd.DataFrame(insert)
if convert_float_int:
df = self._convert_float_nan_to_int(df)
df.to_sql(
+ schema = self.db_schema,
name=table.name,
con=self.db,
if_exists="append",
@@ -815,7 +820,10 @@ def text_clean(self, data, field):
#field: data_point[field].replace("\x00", "\uFFFD")
#self.logger.info(f"Null replaced data point{field:datapoint[field]}")
## trying to use standard python3 method for text cleaning here.
- field: bytes(data_point[field], "utf-8").decode("utf-8", "ignore").replace("\x00", "\uFFFD")
+ # This was after `data_point[field]` for a while as `, "utf-8"` and did not work
+ # Nay, it cause silent errors without insert; or was part of that hot mess.
+ # field: bytes(data_point[field]).decode("utf-8", "ignore")
+ field: bytes(data_point[field], "utf-8").decode("utf-8", "ignore").replace("\x00", "\uFFFD")
#0x00
} for data_point in data
]