diff --git a/.gitignore b/.gitignore index f12d60d459..6bd54951be 100644 --- a/.gitignore +++ b/.gitignore @@ -180,10 +180,12 @@ workers/clustering_worker/vocabulary_count # nohup logs nohup.out -# vscode +# vscode .vscode/ - +# local db volume +pgdata/ +postgres-data/ # Generated files from github .history/ diff --git a/A1.png b/A1.png deleted file mode 100644 index 587a1d6a53..0000000000 Binary files a/A1.png and /dev/null differ diff --git a/SECURITY.md b/SECURITY.md index b4f934956b..72308bcbfc 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,7 +6,20 @@ These versions of Augur are currently supported with security updates. | Version | Supported | | ------- | ------------------ | -| 0.12.x | :white_check_mark: | +| 0.26.x | :white_check_mark: | +| 0.25.x | :white_check_mark: | +| 0.24.x | :white_check_mark: | +| 0.23.x | :x: | +| 0.21.x | :x: | +| 0.20.x | :x: | +| 0.19.x | :x: | +| 0.18.x | :x: | +| 0.17.x | :x: | +| 0.16.x | :x: | +| 0.15.x | :x: | +| 0.14.x | :x: | +| 0.13.x | :x: | +| 0.12.x | :x: | | 0.11.x | :x: | | 0.10.x | :x: | | < 0.10 | :x: | diff --git a/docs/source/conf.py b/docs/source/conf.py index eca5b57157..548d6d450b 100755 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -48,7 +48,8 @@ 'sphinx.ext.githubpages', 'sphinx_rtd_theme', 'sphinxcontrib.openapi', - 'sphinxcontrib.redoc' + 'sphinxcontrib.redoc', + 'sphinx.ext.autosectionlabel' ] redoc = [ diff --git a/docs/source/deployment/nginx-configuration.rst b/docs/source/deployment/nginx-configuration.rst index fcf1667bc8..5142420db2 100644 --- a/docs/source/deployment/nginx-configuration.rst +++ b/docs/source/deployment/nginx-configuration.rst @@ -1,5 +1,5 @@ Web Server Configuration ------------------------- +------------------------------------- Configuring nginx for Augur to run behind nginx requires you to have certain options available for symlinks and other basic nginx options. The `nginx.conf` file below is one example of a configuration known to work. @@ -11,9 +11,9 @@ Once you have nginx configured, run these commands to make sure everything is lo 2. ``sudo systemctl restart nginx`` on Ubuntu. 3. sudo nginx on OS X. ------------------- +-------------------------- Server Compilation ------------------- +-------------------------- **Your Augur instance must compile with a publicly accessible domain that the frontend instance will be able to access.** diff --git a/docs/source/quick-start.rst b/docs/source/quick-start.rst index a945c82e29..01a8434353 100644 --- a/docs/source/quick-start.rst +++ b/docs/source/quick-start.rst @@ -3,55 +3,56 @@ Quickstart Get going fast! Intended for folks familiar with setting up DevOps environments. These instructions were tested using Ubuntu 20.04. Ubuntu 18x is no longer supported because the versions of Python3 available on it are not current. +:ref:`Complete installation instructions with more complete explanations are located in our "Getting Started" section.` Setting up VirtualBox ~~~~~~~~~~~~~~~~~~~~~~~ -- Type "Download VirtualBox for windows" in the search bar. +- Type "Download VirtualBox for Windows" in the search bar. - Click on the websight by Oracle. .. image:: development-guide/images/A1.png :width: 600 -- Download VirtualBox for "windows hosts". +- Download VirtualBox for "Windows hosts". .. image:: development-guide/images/A2.png :width: 600 -- Click on the downloaded VirtualBox and continue clicking NEXT with the default options. +- Click on the downloaded VirtualBox and continue clicking Next with the default options. .. image:: development-guide/images/A3.png :width: 600 -- Accept the warning for network Interfaces. +- Accept the warning for Network Interfaces. .. image:: development-guide/images/A5.png :width: 600 -- Give it all the permissions it wants. +- Allow all permissions .. image:: development-guide/images/A4.png :width: 600 -- Open the VirtualBox by clicking on the windows desktop icon. -- Click on "machine" and then on "new". +- Open the VirtualBox by clicking on the Windows desktop icon. +- Click "Machine" and then "New". .. image:: development-guide/images/A6.png :width: 600 -- Name the machine as you wish. In type select "Linux" and in version select "Ubuntu (64-bits)". +- Name the Machine. In type select "Linux" and in version select "Ubuntu (64-bits)". .. image:: development-guide/images/A7.png :width: 600 .. image:: development-guide/images/A8.png :width: 600 -- Allot it the memory size you want , then click on NEXT. +- Choose memory size, then click Next. .. image:: development-guide/images/A9.png :width: 600 -- Choose "Create a virtual hard disk now" and click on CREATE. +- Choose "Create a virtual hard disk now" and click Create. .. image:: development-guide/images/A10.png :width: 600 -- In hard disk file type choose VDI(VirtualBox Disk Image) and click on NEXT. +- Hard disk file type choose VDI (VirtualBox Disk Image) and click Next. .. image:: development-guide/images/A11.png :width: 600 -- In storage on physical hard disk choose "Dynamically allocated" and click on NEXT. +- Storage on physical hard disk choose "Dynamically allocated" and click Next. .. image:: development-guide/images/A12.png :width: 600 -- Continue with the default options by clicking on next. Your machine will be created. -- Start the machine. +- Continue with the default options by clicking Next. Your machine will be created. +- Start the Machine. .. image:: development-guide/images/A13.png :width: 600 Ubuntu download ~~~~~~~~~~~~~~~~~ -- Type "Download ubuntu" in the search bar. -- Click on download (Prefer LTS version). Ubuntu will be downloaded. +- Type "Download Ubuntu" in the search bar. +- Click download (Prefer LTS version). Ubuntu will be downloaded. .. image:: development-guide/images/A14.png :width: 600 @@ -62,8 +63,8 @@ Installing Ubuntu in VirtualBox - In the welcome window select Install Ubuntu and move forward with the default options. .. image:: development-guide/images/Af.png :width: 600 -- Select the keyboard layout you desire. -- Select installation type as "Erase disk and install Ubuntu". +- Select Keyboard layout. +- Select Installation type "Erase disk and install Ubuntu". .. image:: development-guide/images/Ad.png :width: 600 - Enter your details and set a password. @@ -71,7 +72,7 @@ Installing Ubuntu in VirtualBox :width: 600 .. image:: development-guide/images/Ab.png :width: 600 -- Your Ubuntu will be ready to use in few minutes. +- Your Ubuntu will be ready to use in a few minutes. .. image:: development-guide/images/Aa.png :width: 600 @@ -98,7 +99,7 @@ PostgreSQL Installation $ su - postgres $ psql -Then, once you've connected to your PostgreSQL instance\: +Then, once you've connected to your PostgreSQL instance: .. code-block:: postgresql diff --git a/frontend/.gitignore b/frontend/.gitignore index 9b99fb409b..68cb29bcba 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -9,6 +9,7 @@ *.swp *.vi *~ +*.spg *.sass-cache dist/* diff --git a/frontend/variables.env b/frontend/variables.env deleted file mode 100644 index f79b2fbcad..0000000000 --- a/frontend/variables.env +++ /dev/null @@ -1 +0,0 @@ -VUE_APP_PORT=5002 \ No newline at end of file diff --git a/lib-0.16.1.md b/lib-0.16.1.md deleted file mode 100644 index ed865ba3bf..0000000000 --- a/lib-0.16.1.md +++ /dev/null @@ -1,175 +0,0 @@ -absl-py==0.12.0 -alabaster==0.7.12 -appdirs==1.4.4 -astunparse==1.6.3 -attrs==21.2.0 --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=augur -Babel==2.9.1 -backcall==0.2.0 -Beaker==1.11.0 -beautifulsoup4==4.9.3 -blinker==1.4 -bokeh==2.0.2 -boto3==1.17.57 -botocore==1.20.92 -bs4==0.0.1 -cachetools==4.2.2 -certifi==2021.5.30 -chardet==3.0.4 -click==7.1.2 -cloudpickle==1.6.0 --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=clustering_worker&subdirectory=workers/clustering_worker -coloredlogs==15.0 --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=contributor_breadth_worker&subdirectory=workers/contributor_breadth_worker --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=contributor_worker&subdirectory=workers/contributor_worker -cycler==0.10.0 -dask==2021.6.0 -decorator==4.4.2 --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=deps_worker&subdirectory=workers/deps_worker --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=discourse_analysis_worker&subdirectory=workers/discourse_analysis_worker -distlib==0.3.2 -distributed==2021.6.0 -docutils==0.15 -emoji==1.2.0 --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=facade_worker&subdirectory=workers/facade_worker -filelock==3.0.12 -Flask==1.1.4 -Flask-Cors==3.0.10 -Flask-Login==0.5.0 -Flask-WTF==0.14.3 -flatbuffers==1.12 -fsspec==2021.6.0 -gast==0.4.0 -gensim==3.8.3 --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=github_worker&subdirectory=workers/github_worker --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=gitlab_issues_worker&subdirectory=workers/gitlab_issues_worker --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=gitlab_merge_request_worker&subdirectory=workers/gitlab_merge_request_worker -google-auth==1.31.0 -google-auth-oauthlib==0.4.4 -google-pasta==0.2.0 -grpcio==1.34.1 -gunicorn==20.0.4 -h5py==3.1.0 -HeapDict==1.0.1 -humanfriendly==9.1 -idna==2.8 -imageio==2.9.0 -imagesize==1.2.0 -iniconfig==1.1.1 --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=insight_worker&subdirectory=workers/insight_worker -ipdb==0.13.6 -ipython==7.24.1 -ipython-genutils==0.2.0 -itsdangerous==1.1.0 -jedi==0.18.0 -Jinja2==2.11.3 -jmespath==0.10.0 -joblib==1.0.1 -jsonschema==3.2.0 -Keras==2.4.3 -keras-nightly==2.5.0.dev2021032900 -Keras-Preprocessing==1.1.2 -kiwisolver==1.3.1 --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=linux_badge_worker&subdirectory=workers/linux_badge_worker -locket==0.2.1 -m2r==0.2.1 -Markdown==3.3.4 -MarkupSafe==2.0.1 -matplotlib==3.3.4 -matplotlib-inline==0.1.2 --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=message_insights_worker&subdirectory=workers/message_insights_worker -mistune==0.8.4 -msgpack==1.0.2 -networkx==2.5.1 -nltk==3.5 -numpy==1.19.5 -oauthlib==3.1.1 -opt-einsum==3.3.0 -packaging==20.9 -pandas==1.1.3 -parso==0.8.2 -partd==1.2.0 -pexpect==4.8.0 -pickleshare==0.7.5 -Pillow==8.2.0 -pluggy==0.13.1 -prompt-toolkit==3.0.18 -protobuf==3.17.3 -psutil==5.8.0 -psycopg2-binary==2.8.6 -ptyprocess==0.7.0 --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=pull_request_analysis_worker&subdirectory=workers/pull_request_analysis_worker --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=pull_request_worker&subdirectory=workers/pull_request_worker -py==1.10.0 -pyasn1==0.4.8 -pyasn1-modules==0.2.8 -Pygments==2.9.0 -pyparsing==2.4.7 -pyrsistent==0.17.3 -pytest==6.2.2 -python-crfsuite==0.9.7 -python-dateutil==2.8.1 -pytz==2021.1 -PyWavelets==1.1.1 -PyYAML==5.4.1 -regex==2021.4.4 --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=release_worker&subdirectory=workers/release_worker --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=repo_info_worker&subdirectory=workers/repo_info_worker -requests==2.22.0 -requests-oauthlib==1.3.0 -rsa==4.7.2 -s3transfer==0.4.2 -scikit-image==0.18.1 -scikit-learn==0.24.1 -scipy==1.4.1 -seaborn==0.11.1 -selenium==3.141.0 -six==1.15.0 -sklearn==0.0 -sklearn-crfsuite==0.3.6 -slack==0.0.2 -smart-open==5.1.0 -snowballstemmer==2.1.0 -sortedcontainers==2.4.0 -soupsieve==2.2.1 -Sphinx==3.5.2 -sphinx-rtd-theme==0.5.1 -sphinxcontrib-applehelp==1.0.2 -sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-htmlhelp==2.0.0 -sphinxcontrib-httpdomain==1.7.0 -sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-openapi==0.7.0 -sphinxcontrib-qthelp==1.0.3 -sphinxcontrib-redoc==1.6.0 -sphinxcontrib-serializinghtml==1.1.5 -SQLAlchemy==1.3.23 -tabulate==0.8.9 -tblib==1.7.0 -tensorboard==2.5.0 -tensorboard-data-server==0.6.1 -tensorboard-plugin-wit==1.8.0 -tensorflow==2.5.0 -tensorflow-estimator==2.5.0 -termcolor==1.1.0 -textblob==0.15.3 -threadpoolctl==2.1.0 -tifffile==2021.6.6 -toml==0.10.2 -toolz==0.11.1 -tornado==6.1 -tox==3.23.0 -tqdm==4.61.0 -traitlets==5.0.5 -typing-extensions==3.7.4.3 -urllib3==1.25.11 --e git+https://github.com/chaoss/augur@bf86da2210439979ed20512f911a660ba589fe61#egg=value_worker&subdirectory=workers/value_worker -virtualenv==20.4.7 -wcwidth==0.2.5 -Werkzeug==1.0.1 -wrapt==1.12.1 -WTForms==2.3.3 -xgboost==0.90 -xlrd==2.0.1 -XlsxWriter==1.3.7 -zict==2.0.0 diff --git a/metadata.py b/metadata.py index 82debc933e..d529a239db 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, models & data collection" -__version__ = "0.26.4" -__release__ = "v0.26.4" +__version__ = "0.26.5" +__release__ = "v0.26.5" __license__ = "MIT" __copyright__ = "University of Missouri, University of Nebraska-Omaha, CHAOSS, & Augurlabs 2022" diff --git a/sandiego_service.sh b/sandiego_service.sh new file mode 100755 index 0000000000..ae11434460 --- /dev/null +++ b/sandiego_service.sh @@ -0,0 +1,7 @@ +#!/usr/bin/bash +source /home/augur/github/virtualenvs/augur-red/bin/activate +cd /home/augur/github/augur-red +augur backend stop +augur backend kill +sleep 30 +(nohup augur backend start >logs/sean.log 2>logs/sean.err &) diff --git a/schema/generate/06-schema_update_8.sql b/schema/generate/06-schema_update_8.sql deleted file mode 100644 index 9d427c2faf..0000000000 --- a/schema/generate/06-schema_update_8.sql +++ /dev/null @@ -1,655 +0,0 @@ --- #SPDX-License-Identifier: MIT -/*** -Database update script. For release 8. - -***/ - - -------------------------------------------------- --- Database history table. If the tables does not exist, then create it and populate it and run all this stuff. --- This works for everything we already have deployed. After that, we will need the script to check the version in the table. --- This release is version 8 of the schema. -------------------------------------------------- -CREATE TABLE "augur_operations"."augur_settings" ( -"id" serial8 NOT NULL, -"setting" varchar, -"value" varchar, -"last_modified" timestamp(0) DEFAULT CURRENT_DATE, -PRIMARY KEY ("id") -) -WITHOUT OIDS; -ALTER TABLE "augur_operations"."augur_settings" OWNER TO "augur"; - - -INSERT INTO "augur_operations"."augur_settings"("id", "setting", "value", "last_modified") VALUES (1, 'augur_data_version', '8', '2019-11-18 08:41:51'); - -------------------------------------------------- - -------------------------------------------------- - - --- Updates to commit timestamps -ALTER TABLE "augur_data"."commits" ALTER COLUMN "cmt_author_timestamp" TYPE timestamptz(0) USING "cmt_author_timestamp"::timestamptz(0); - -ALTER TABLE "augur_data"."commits" ALTER COLUMN "cmt_committer_timestamp" TYPE timestamptz(0) USING "cmt_committer_timestamp"::timestamptz(0); - - - --- New operations tables - -CREATE TABLE "augur_operations"."worker_settings_facade" ( -"id" int4 NOT NULL, -"setting" varchar(32) COLLATE "default" NOT NULL, -"value" varchar COLLATE "default" NOT NULL, -"last_modified" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP, -CONSTRAINT "settings_pkey" PRIMARY KEY ("id") -) -WITHOUT OIDS; -ALTER TABLE "augur_operations"."worker_settings_facade" OWNER TO "augur"; - -CREATE TABLE "augur_operations"."repos_fetch_log" ( -"repos_id" int4 NOT NULL, -"status" varchar(128) COLLATE "default" NOT NULL, -"date" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP -) -WITHOUT OIDS; -CREATE INDEX "repos_id,statusops" ON "augur_operations"."repos_fetch_log" USING btree ("repos_id" "pg_catalog"."int4_ops" ASC NULLS LAST, "status" "pg_catalog"."text_ops" ASC NULLS LAST); -ALTER TABLE "augur_operations"."repos_fetch_log" OWNER TO "augur"; - -CREATE TABLE "augur_operations"."working_commits" ( -"repos_id" int4 NOT NULL, -"working_commit" varchar(40) COLLATE "default" DEFAULT 'NULL'::character varying -) -WITHOUT OIDS; -ALTER TABLE "augur_operations"."working_commits" OWNER TO "augur"; - -insert into "augur_operations"."worker_settings_facade" select * from "augur_data"."settings"; - - - - --- Contributor Alias Updates -ALTER TABLE "augur_data"."contributors_aliases" ALTER COLUMN "data_collection_date" SET DEFAULT CURRENT_TIMESTAMP; - - - - --- Repo Badging Table Update. - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "id"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "user_id"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "name"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "description"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "homepage_url"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "repo_url"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "license"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "homepage_url_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "homepage_url_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "sites_https_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "sites_https_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "description_good_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "description_good_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "interact_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "interact_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "contribution_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "contribution_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "contribution_requirements_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "contribution_requirements_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "license_location_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "license_location_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "floss_license_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "floss_license_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "floss_license_osi_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "floss_license_osi_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "documentation_basics_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "documentation_basics_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "documentation_interface_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "documentation_interface_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "repo_public_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "repo_public_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "repo_track_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "repo_track_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "repo_interim_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "repo_interim_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "repo_distributed_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "repo_distributed_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "version_unique_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "version_unique_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "version_semver_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "version_semver_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "version_tags_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "version_tags_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "release_notes_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "release_notes_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "release_notes_vulns_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "release_notes_vulns_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "report_url_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "report_url_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "report_tracker_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "report_tracker_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "report_process_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "report_process_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "report_responses_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "report_responses_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "enhancement_responses_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "enhancement_responses_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "report_archive_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "report_archive_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "vulnerability_report_process_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "vulnerability_report_process_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "vulnerability_report_private_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "vulnerability_report_private_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "vulnerability_report_response_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "vulnerability_report_response_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "build_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "build_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "build_common_tools_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "build_common_tools_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "build_floss_tools_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "build_floss_tools_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_invocation_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_invocation_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_most_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_most_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_policy_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_policy_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "tests_are_added_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "tests_are_added_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "tests_documented_added_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "tests_documented_added_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "warnings_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "warnings_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "warnings_fixed_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "warnings_fixed_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "warnings_strict_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "warnings_strict_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "know_secure_design_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "know_secure_design_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "know_common_errors_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "know_common_errors_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_published_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_published_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_call_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_call_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_floss_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_floss_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_keylength_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_keylength_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_working_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_working_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_pfs_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_pfs_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_password_storage_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_password_storage_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_random_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_random_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "delivery_mitm_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "delivery_mitm_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "delivery_unsigned_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "delivery_unsigned_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "vulnerabilities_fixed_60_days_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "vulnerabilities_fixed_60_days_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "vulnerabilities_critical_fixed_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "vulnerabilities_critical_fixed_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "static_analysis_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "static_analysis_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "static_analysis_common_vulnerabilities_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "static_analysis_common_vulnerabilities_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "static_analysis_fixed_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "static_analysis_fixed_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "static_analysis_often_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "static_analysis_often_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "dynamic_analysis_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "dynamic_analysis_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "dynamic_analysis_unsafe_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "dynamic_analysis_unsafe_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "dynamic_analysis_enable_assertions_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "dynamic_analysis_enable_assertions_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "dynamic_analysis_fixed_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "dynamic_analysis_fixed_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "general_comments"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "updated_at"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_weaknesses_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_weaknesses_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_continuous_integration_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_continuous_integration_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "cpe"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "discussion_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "discussion_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "no_leaked_credentials_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "no_leaked_credentials_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "english_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "english_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "hardening_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "hardening_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_used_network_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_used_network_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_tls12_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_tls12_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_certificate_verification_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_certificate_verification_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_verification_private_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_verification_private_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "hardened_site_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "hardened_site_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "installation_common_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "installation_common_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "build_reproducible_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "build_reproducible_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "badge_percentage_0"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "achieved_passing_at"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "lost_passing_at"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "last_reminder_at"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "disabled_reminders"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "implementation_languages"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "lock_version"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "badge_percentage_1"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "dco_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "dco_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "governance_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "governance_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "code_of_conduct_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "code_of_conduct_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "roles_responsibilities_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "roles_responsibilities_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "access_continuity_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "access_continuity_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "bus_factor_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "bus_factor_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "documentation_roadmap_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "documentation_roadmap_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "documentation_architecture_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "documentation_architecture_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "documentation_security_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "documentation_security_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "documentation_quick_start_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "documentation_quick_start_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "documentation_current_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "documentation_current_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "documentation_achievements_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "documentation_achievements_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "accessibility_best_practices_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "accessibility_best_practices_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "internationalization_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "internationalization_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "sites_password_security_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "sites_password_security_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "maintenance_or_update_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "maintenance_or_update_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "vulnerability_report_credit_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "vulnerability_report_credit_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "vulnerability_response_process_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "vulnerability_response_process_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "coding_standards_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "coding_standards_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "coding_standards_enforced_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "coding_standards_enforced_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "build_standard_variables_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "build_standard_variables_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "build_preserve_debug_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "build_preserve_debug_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "build_non_recursive_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "build_non_recursive_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "build_repeatable_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "build_repeatable_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "installation_standard_variables_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "installation_standard_variables_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "installation_development_quick_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "installation_development_quick_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "external_dependencies_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "external_dependencies_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "dependency_monitoring_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "dependency_monitoring_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "updateable_reused_components_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "updateable_reused_components_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "interfaces_current_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "interfaces_current_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "automated_integration_testing_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "automated_integration_testing_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "regression_tests_added50_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "regression_tests_added50_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_statement_coverage80_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_statement_coverage80_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_policy_mandated_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_policy_mandated_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "implement_secure_design_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "implement_secure_design_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "input_validation_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "input_validation_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_algorithm_agility_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_algorithm_agility_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_credential_agility_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "crypto_credential_agility_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "signed_releases_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "signed_releases_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "version_tags_signed_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "version_tags_signed_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "badge_percentage_2"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "contributors_unassociated_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "contributors_unassociated_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "copyright_per_file_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "copyright_per_file_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "license_per_file_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "license_per_file_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "small_tasks_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "small_tasks_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "require_2FA_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "require_2FA_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "secure_2FA_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "secure_2FA_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "code_review_standards_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "code_review_standards_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "two_person_review_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "two_person_review_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_statement_coverage90_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_statement_coverage90_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_branch_coverage80_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "test_branch_coverage80_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "security_review_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "security_review_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "assurance_case_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "assurance_case_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "achieve_passing_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "achieve_passing_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "achieve_silver_status"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "achieve_silver_justification"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "tiered_percentage"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "badge_level"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "additional_rights"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "project_entry_license"; - -ALTER TABLE "augur_data"."repo_badging" DROP COLUMN "project_entry_attribution"; - -ALTER TABLE "augur_data"."repo_badging" ADD COLUMN "data" jsonb; - -ALTER TABLE "augur_data"."repo_badging" ALTER COLUMN "created_at" TYPE timestamp(0) USING "created_at"::timestamp(0); - -ALTER TABLE "augur_data"."repo_badging" ALTER COLUMN "created_at" SET DEFAULT CURRENT_TIMESTAMP; - - - - diff --git a/schema/generate/07-schema_update_9.sql b/schema/generate/07-schema_update_9.sql deleted file mode 100644 index 82c7d7440b..0000000000 --- a/schema/generate/07-schema_update_9.sql +++ /dev/null @@ -1,209 +0,0 @@ --- #SPDX-License-Identifier: MIT -ALTER TABLE "augur_data"."issues" ADD CONSTRAINT "fk_issues_repo" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE CASCADE ON UPDATE CASCADE; -update "augur_operations"."augur_settings" set value = 9 where setting = 'augur_data_version'; - - - -- Index Update for Performance -CREATE INDEX "reponameindex" ON "augur_data"."repo" USING hash ( - "repo_name" -); - -CREATE INDEX "reponameindexbtree" ON "augur_data"."repo" USING btree ( - "repo_name" -); - -CREATE INDEX "rgnameindex" ON "augur_data"."repo_groups" USING btree ( - "rg_name" ASC -); - -CREATE INDEX "rggrouponrepoindex" ON "augur_data"."repo" USING btree ( - "repo_group_id" -); - -CREATE INDEX "repogitindexrep" ON "augur_data"."repo" USING btree ( - "repo_git" -); - - -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 - }, -'; - -ALTER TABLE "augur_data"."pull_request_repo" ALTER COLUMN "pr_src_node_id" TYPE varchar COLLATE "pg_catalog"."default" USING "pr_src_node_id"::varchar; - - diff --git a/schema/generate/08-schema_update_10.sql b/schema/generate/08-schema_update_10.sql deleted file mode 100644 index 9d3be0e122..0000000000 --- a/schema/generate/08-schema_update_10.sql +++ /dev/null @@ -1,14 +0,0 @@ --- #SPDX-License-Identifier: MIT -ALTER TABLE "augur_data"."repo" ALTER COLUMN "repo_git" TYPE varchar COLLATE "pg_catalog"."default"; - -ALTER TABLE "augur_data"."repo" ALTER COLUMN "repo_name" TYPE varchar COLLATE "pg_catalog"."default"; - -ALTER TABLE "augur_data"."repo_groups" ALTER COLUMN "rg_name" TYPE varchar COLLATE "pg_catalog"."default"; - -ALTER TABLE "augur_data"."repo_groups" ALTER COLUMN "rg_description" TYPE varchar COLLATE "pg_catalog"."default"; - -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_src_number" IS 'The pr_src_number is unique within a repository.'; - -update "augur_operations"."augur_settings" set value = 10 where setting = 'augur_data_version'; diff --git a/schema/generate/09-schema_update_11.sql b/schema/generate/09-schema_update_11.sql deleted file mode 100644 index c63c19fb99..0000000000 --- a/schema/generate/09-schema_update_11.sql +++ /dev/null @@ -1,49 +0,0 @@ --- #SPDX-License-Identifier: MIT -CREATE SEQUENCE "augur_data"."pull_request_commits_pr_cmt_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; - -CREATE TABLE "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 "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. '; - -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 NO ACTION ON UPDATE NO ACTION; - -SELECT setval('"augur_data"."pull_request_commits_pr_cmt_id_seq"', 3000000, true); - -ALTER SEQUENCE "augur_data"."pull_request_commits_pr_cmt_id_seq" -OWNED BY "augur_data"."pull_request_commits"."pr_cmt_id"; - -ALTER SEQUENCE "augur_data"."pull_request_commits_pr_cmt_id_seq" OWNER TO "augur"; - -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 -); - - -update "augur_operations"."augur_settings" set value = 11 where setting = 'augur_data_version'; diff --git a/schema/generate/10-schema_update_12.sql b/schema/generate/10-schema_update_12.sql deleted file mode 100644 index 0d83749936..0000000000 --- a/schema/generate/10-schema_update_12.sql +++ /dev/null @@ -1,19 +0,0 @@ --- #SPDX-License-Identifier: MIT -CREATE SEQUENCE "augur_operations"."worker_oauth_oauth_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1000 -CACHE 1; - -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"); - -SELECT setval('"augur_operations"."worker_oauth_oauth_id_seq"', 1000, false); - -ALTER SEQUENCE "augur_operations"."worker_oauth_oauth_id_seq" OWNER TO "augur"; - -update "augur_operations"."augur_settings" set value = 12 where setting = 'augur_data_version'; diff --git a/schema/generate/11-schema_update_13.sql b/schema/generate/11-schema_update_13.sql deleted file mode 100644 index a68b05e9da..0000000000 --- a/schema/generate/11-schema_update_13.sql +++ /dev/null @@ -1,14 +0,0 @@ --- #SPDX-License-Identifier: MIT -DROP INDEX "augur_data"."domain,active"; - -DROP INDEX "augur_data"."domain,affiliation,start_date"; - -ALTER TABLE "augur_data"."contributor_affiliations" ADD COLUMN "ca_last_used" timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP; - -ALTER TABLE "augur_data"."contributor_affiliations" DROP COLUMN "ca_affiliation"; - -ALTER TABLE "augur_data"."contributor_affiliations" DROP COLUMN "ca_active"; - -ALTER TABLE "augur_data"."contributor_affiliations" DROP COLUMN "ca_last_modified"; - -update "augur_operations"."augur_settings" set value = 13 where setting = 'augur_data_version'; diff --git a/schema/generate/12-schema_update_14.sql b/schema/generate/12-schema_update_14.sql deleted file mode 100644 index 0084e92934..0000000000 --- a/schema/generate/12-schema_update_14.sql +++ /dev/null @@ -1,546 +0,0 @@ --- #SPDX-License-Identifier: MIT -ALTER TABLE "augur_data"."contributor_affiliations" DROP CONSTRAINT "fk_contributor_affiliations_contributors_1"; - -ALTER TABLE "augur_data"."contributor_affiliations" DROP CONSTRAINT "contributor_affiliations_pkey"; - -ALTER TABLE "augur_data"."contributor_affiliations" ADD COLUMN "ca_affiliation" varchar COLLATE "pg_catalog"."default"; - -ALTER TABLE "augur_data"."contributor_affiliations" ALTER COLUMN "ca_start_date" DROP NOT NULL; - -ALTER TABLE "augur_data"."contributor_affiliations" ALTER COLUMN "ca_start_date" SET DEFAULT '1970-01-01'::date; - -ALTER TABLE "augur_data"."contributor_affiliations" ADD COLUMN "ca_active" int2 DEFAULT 1; - -ALTER TABLE "augur_data"."contributor_affiliations" DROP COLUMN "cntrb_id"; - -ALTER TABLE "augur_data"."contributor_affiliations" ADD CONSTRAINT "contributor_affiliations_pkey" PRIMARY KEY ("ca_id"); - -ALTER TABLE "augur_data"."contributor_affiliations" ADD CONSTRAINT "unique_domain" UNIQUE ("ca_domain"); - -COMMENT ON CONSTRAINT "unique_domain" ON "augur_data"."contributor_affiliations" IS 'Only one row should exist for any given top level domain or subdomain. '; - -ALTER TABLE "augur_data"."contributors" ADD COLUMN "cntrb_last_used" timestamptz(0) DEFAULT NULL::timestamp with time zone; - - -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (1, 'samsung.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-08-01 18:37:54', 'Samsung', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (2, 'linuxfoundation.org', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-08-01 18:37:54', 'Linux Foundation', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (3, 'ibm.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-08-01 18:37:54', 'IBM', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (8, 'walmart.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Walmart', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (9, 'exxonmobil.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Exxon Mobil', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (10, 'ge.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'General Electric', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (11, 'dupont.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'DuPont', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (12, 'avnet.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Avnet', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (13, 'macysinc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Macys', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (14, 'enterpriseproducts.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Enterprise Products Partners', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (15, 'travelers.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Travelers Cos.', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (16, 'pmi.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Philip Morris International', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (17, 'riteaid.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Rite Aid', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (18, 'techdata.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Tech Data', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (25156, 'pivotal.io', 'Manual Entry', '0.0.0', 'Gabe', '2020-03-25 00:30:57', '2020-03-25 00:30:57', 'VMware', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (25157, 'vmware.com', 'Manual Entry', '0.0.0', 'Gabe', '2020-03-25 00:33:35', '2020-03-25 00:33:35', 'VMware', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (25158, 'rabbitmq.com', 'Manual Entry', '0.0.0', 'Gabe', '2020-03-25 00:33:43', '2020-03-25 00:33:43', 'VMware', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (25161, 'pivotallabs.com', 'Manual Entry', '0.0.0', 'Gabe', '2020-03-25 00:43:53', '2020-03-25 00:43:53', 'VMware', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (25162, 'cloudcredo.com', 'Manual Entry', '0.0.0', 'Gabe', '2020-03-25 00:44:18', '2020-03-25 00:44:18', 'VMware', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (25163, 'gopivotal.com', 'Manual Entry', '0.0.0', 'Gabe', '2020-03-25 00:44:25', '2020-03-25 00:44:25', 'VMware', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (25164, 'heptio.com', 'Manual Entry', '0.0.0', 'Gabe', '2020-03-25 00:44:32', '2020-03-25 00:44:32', 'VMware', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (19, 'aboutmcdonalds.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'McDonalds', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (20, 'qualcomm.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Qualcomm', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (21, 'amerisourcebergen.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'AmerisourceBergen', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (22, 'searsholdings.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Sears Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (23, 'capitalone.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Capital One Financial', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (24, 'emc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'EMC', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (25, 'usaa.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'USAA', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (26, 'duke-energy.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Duke Energy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (27, 'twc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Time Warner Cable', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (28, 'halliburton.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Halliburton', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (29, 'northropgrumman.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Northrop Grumman', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (30, 'arrow.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Arrow Electronics', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (31, 'raytheon.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Raytheon', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (32, 'verizon.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Verizon', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (33, 'plainsallamerican.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Plains GP Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (34, 'usfoods.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'US Foods', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (35, 'abbvie.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'AbbVie', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (36, 'centene.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Centene', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (37, 'chs.net', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Community Health Systems', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (38, 'arconic.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Arconic', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (39, 'internationalpaper.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'International Paper', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (40, 'emerson.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Emerson Electric', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (41, 'up.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Union Pacific', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (42, 'amgen.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Amgen', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (43, 'chevron.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Chevron', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (44, 'usbank.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'U.S. Bancorp', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (45, 'staples.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Staples', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (46, 'danaher.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Danaher', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (47, 'whirlpoolcorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Whirlpool', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (48, 'aflac.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Aflac', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (49, 'autonation.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'AutoNation', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (50, 'progressive.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Progressive', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (51, 'abbott.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Abbott Laboratories', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (52, 'dollargeneral.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Dollar General', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (53, 'tenethealth.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Tenet Healthcare', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (54, 'costco.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Costco', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (55, 'lilly.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Eli Lilly', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (56, 'southwest.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Southwest Airlines', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (57, 'penskeautomotive.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Penske Automotive Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (58, 'manpowergroup.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'ManpowerGroup', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (59, 'kohlscorporation.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Kohls', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (60, 'starbucks.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Starbucks', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (61, 'paccar.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Paccar', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (62, 'cummins.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Cummins', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (63, 'altria.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Altria Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (64, 'xerox.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Xerox', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (65, 'fanniemae.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Fannie Mae', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (66, 'kimberly-clark.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Kimberly-Clark', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (67, 'thehartford.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Hartford Financial Services Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (68, 'kraftheinzcompany.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Kraft Heinz', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (69, 'lear.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Lear', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (70, 'fluor.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Fluor', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (71, 'aecom.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'AECOM', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (72, 'facebook.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Facebook', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (73, 'jabil.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Jabil Circuit', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (74, 'centurylink.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'CenturyLink', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (75, 'supervalu.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Supervalu', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (76, 'thekrogerco.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Kroger', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (77, 'generalmills.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'General Mills', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (78, 'southerncompany.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Southern', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (79, 'nexteraenergy.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'NextEra Energy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (80, 'thermofisher.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Thermo Fisher Scientific', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (81, 'aep.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'American Electric Power', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (82, 'pge.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'PG&E Corp.', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (83, 'nglenergypartners.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'NGL Energy Partners', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (84, 'bms.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Bristol-Myers Squibb', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (85, 'goodyear.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Goodyear Tire & Rubber', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (86, 'nucor.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Nucor', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (87, 'amazon.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Amazon.com', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (88, 'pnc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'PNC Financial Services Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (89, 'healthnet.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Health Net', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (90, 'micron.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Micron Technology', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (91, 'colgatepalmolive.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Colgate-Palmolive', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (92, 'fcx.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Freeport-McMoRan', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (93, 'conagrafoods.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'ConAgra Foods', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (94, 'gapinc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Gap', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (95, 'bakerhughes.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Baker Hughes', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (96, 'bnymellon.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Bank of New York Mellon Corp.', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (97, 'dollartree.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Dollar Tree', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (98, 'walgreensbootsalliance.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Walgreens', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (99, 'wholefoodsmarket.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Whole Foods Market', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (100, 'ppg.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'PPG Industries', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (101, 'genpt.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Genuine Parts', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (102, 'ielp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Icahn Enterprises', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (103, 'pfgc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Performance Food Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (104, 'omnicomgroup.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Omnicom Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (105, 'dish.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'DISH Network', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (106, 'firstenergycorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'FirstEnergy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (107, 'monsanto.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Monsanto', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (108, 'aes.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'AES', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (109, 'hp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'HP', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (110, 'carmax.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'CarMax', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (111, 'nov.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'National Oilwell Varco', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (112, 'nrgenergy.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'NRG Energy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (113, 'westerndigital.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Western Digital', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (114, 'marriott.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Marriott International', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (115, 'officedepot.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Office Depot', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (116, 'nordstrom.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Nordstrom', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (117, 'kindermorgan.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Kinder Morgan', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (118, 'aramark.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Aramark', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (119, 'davita.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'DaVita', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (120, 'apple.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Apple', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (121, 'cardinal.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Cardinal Health', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (122, 'molinahealthcare.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Molina Healthcare', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (123, 'wellcare.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'WellCare Health Plans', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (124, 'cbscorporation.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'CBS', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (125, 'visa.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Visa', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (126, 'lfg.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Lincoln National', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (127, 'ecolab.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Ecolab', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (128, 'kelloggcompany.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Kellogg', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (129, 'chrobinson.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'C.H. Robinson Worldwide', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (130, 'textron.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Textron', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (131, 'loews.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Loews', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (132, 'express-scripts.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Express Scripts Holding', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (133, 'itw.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Illinois Tool Works', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (134, 'synnex.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Synnex', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (135, 'viacom.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Viacom', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (136, 'hollyfrontier.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'HollyFrontier', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (137, 'landolakesinc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Land O Lakes', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (138, 'devonenergy.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Devon Energy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (139, 'pbfenergy.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'PBF Energy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (140, 'yum.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Yum Brands', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (141, 'ti.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Texas Instruments', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (142, 'cdw.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'CDW', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (143, 'jpmorganchase.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'J.P. Morgan Chase', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (144, 'wm.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Waste Management', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (145, 'mmc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Marsh & McLennan', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (146, 'chk.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Chesapeake Energy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (147, 'parker.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Parker-Hannifin', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (148, 'oxy.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Occidental Petroleum', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (149, 'guardianlife.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Guardian Life Ins. Co. of America', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (150, 'farmers.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Farmers Insurance Exchange', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (151, 'jcpenney.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'J.C. Penney', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (152, 'conedison.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Consolidated Edison', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (153, 'cognizant.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Cognizant Technology Solutions', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (154, 'boeing.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Boeing', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (155, 'vfc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'VF', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (156, 'ameriprise.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Ameriprise Financial', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (157, 'csc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Computer Sciences', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (158, 'lb.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'L Brands', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (159, 'jacobs.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Jacobs Engineering Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (160, 'principal.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Principal Financial Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (161, 'rossstores.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Ross Stores', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (162, 'bedbathandbeyond.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Bed Bath & Beyond', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (163, 'csx.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'CSX', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (164, 'toysrusinc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Toys \"R\" Us', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (165, 'microsoft.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Microsoft', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (166, 'sands.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Las Vegas Sands', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (167, 'leucadia.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Leucadia National', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (168, 'dom.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Dominion Resources', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (169, 'ussteel.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'United States Steel', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (170, 'l-3com.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'L-3 Communications', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (171, 'edisoninvestor.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Edison International', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (172, 'entergy.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Entergy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (173, 'adp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'ADP', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (174, 'firstdata.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'First Data', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (175, 'blackrock.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'BlackRock', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (176, 'bankofamerica.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Bank of America Corp.', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (177, 'westrock.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'WestRock', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (178, 'voya.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Voya Financial', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (179, 'sherwin.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Sherwin-Williams', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (180, 'hiltonworldwide.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Hilton Worldwide Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (181, 'rrdonnelley.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'R.R. Donnelley & Sons', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (182, 'stanleyblackanddecker.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Stanley Black & Decker', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (183, 'xcelenergy.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Xcel Energy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (184, 'corporate.murphyusa.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Murphy USA', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (185, 'cbre.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'CBRE Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (186, 'drhorton.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'D.R. Horton', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (187, 'wellsfargo.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Wells Fargo', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (188, 'elcompanies.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Estee Lauder', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (189, 'praxair.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Praxair', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (190, 'biogen.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Biogen', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (191, 'statestreet.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'State Street Corp.', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (192, 'unum.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Unum Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (193, 'reynoldsamerican.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Reynolds American', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (194, 'group1auto.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Group 1 Automotive', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (195, 'henryschein.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Henry Schein', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (196, 'hertz.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Hertz Global Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (197, 'nscorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Norfolk Southern', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (198, 'homedepot.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Home Depot', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (199, 'rgare.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Reinsurance Group of America', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (200, 'pseg.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Public Service Enterprise Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (201, 'bbt.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'BB&T Corp.', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (202, 'dteenergy.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'DTE Energy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (203, 'assurant.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Assurant', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (204, 'globalp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Global Partners', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (205, 'huntsman.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Huntsman', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (206, 'bd.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Becton Dickinson', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (207, 'sempra.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Sempra Energy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (208, 'autozone.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'AutoZone', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (209, 'citigroup.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Citigroup', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (210, 'navistar.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Navistar International', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (211, 'precast.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Precision Castparts', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (212, 'discoverfinancial.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Discover Financial Services', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (213, 'libertyinteractive.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Liberty Interactive', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (214, 'grainger.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'W.W. Grainger', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (215, 'baxter.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Baxter International', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (216, 'stryker.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Stryker', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (217, 'airproducts.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Air Products & Chemicals', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (218, 'wnr.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Western Refining', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (219, 'uhsinc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Universal Health Services', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (220, 'phillips66.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Phillips 66', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (221, 'owens-minor.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Owens & Minor', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (222, 'charter.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Charter Communications', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (223, 'advanceautoparts.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Advance Auto Parts', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (224, 'mastercard.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'MasterCard', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (225, 'appliedmaterials.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Applied Materials', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (226, 'eastman.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Eastman Chemical', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (227, 'sonicautomotive.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Sonic Automotive', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (228, 'ally.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Ally Financial', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (229, 'cstbrands.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'CST Brands', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (230, 'ebay.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'eBay', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (231, 'berkshirehathaway.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Berkshire Hathaway', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (233, 'lennar.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Lennar', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (234, 'gamestopcorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'GameStop', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (235, 'rsac.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Reliance Steel & Aluminum', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (236, 'hormelfoods.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Hormel Foods', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (237, 'celgene.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Celgene', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (238, 'genworth.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Genworth Financial', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (239, 'paypal.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'PayPal Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (240, 'pricelinegroup.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Priceline Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (241, 'mgmresorts.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'MGM Resorts International', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (242, 'autoliv.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Autoliv', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (243, 'valero.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Valero Energy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (244, 'fnf.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Fidelity National Financial', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (245, 'republicservices.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Republic Services', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (246, 'corning.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Corning', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (247, 'kiewit.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Peter Kiewit Sons', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (248, 'univar.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Univar', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (249, 'mosaicco.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Mosaic', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (250, 'core-mark.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Core-Mark Holding', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (251, 'thrivent.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Thrivent Financial for Lutherans', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (252, 'c-a-m.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Cameron International', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (253, 'hdsupply.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'HD Supply Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (254, 'antheminc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Anthem', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (255, 'crowncork.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Crown Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (256, 'eogresources.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'EOG Resources', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (257, 'veritivcorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Veritiv', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (258, 'anadarko.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Anadarko Petroleum', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (259, 'labcorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Laboratory Corp. of America', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (260, 'pacificlife.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Pacific Life', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (261, 'newscorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'News Corp.', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (262, 'jarden.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Jarden', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (263, 'suntrust.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'SunTrust Banks', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (264, 'avisbudgetgroup.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Avis Budget Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (265, 'pg.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Procter & Gamble', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (266, 'broadcom.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Broadcom', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (267, 'amfam.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'American Family Insurance Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (268, 'level3.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Level 3 Communications', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (269, 'tenneco.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Tenneco', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (270, 'unfi.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'United Natural Foods', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (271, 'deanfoods.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Dean Foods', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (272, 'campbellsoupcompany.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Campbell Soup', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (273, 'mohawkind.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Mohawk Industries', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (274, 'borgwarner.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'BorgWarner', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (275, 'pvh.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'PVH', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (276, 'statefarm.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'State Farm Insurance Cos.', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (277, 'ball.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Ball', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (278, 'oreillyauto.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'O Reilly Automotive', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (279, 'eversource.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Eversource Energy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (280, 'franklinresources.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Franklin Resources', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (281, 'masco.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Masco', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (282, 'lithia.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Lithia Motors', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (283, 'kkr.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'KKR', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (284, 'oneok.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Oneok', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (285, 'newmont.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Newmont Mining', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (286, 'pplweb.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'PPL', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (287, 'google.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Alphabet', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (288, 'spartannash.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'SpartanNash', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (289, 'quantaservices.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Quanta Services', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (290, 'xpo.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'XPO Logistics', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (291, 'ralphlauren.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Ralph Lauren', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (292, 'interpublic.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Interpublic Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (293, 'steeldynamics.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Steel Dynamics', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (294, 'wesco.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'WESCO International', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (295, 'questdiagnostics.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Quest Diagnostics', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (296, 'bostonscientific.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Boston Scientific', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (297, 'agcocorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'AGCO', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (298, 'comcastcorporation.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Comcast', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (299, 'footlocker-inc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Foot Locker', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (300, 'thehersheycompany.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Hershey', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (301, 'centerpointenergy.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'CenterPoint Energy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (302, 'williams.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Williams', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (303, 'dickssportinggoods.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Dicks Sporting Goods', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (304, 'livenation.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Live Nation Entertainment', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (305, 'mutualofomaha.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Mutual of Omaha Insurance', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (306, 'wrberkley.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'W.R. Berkley', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (307, 'lkqcorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'LKQ', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (308, 'avoncompany.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Avon Products', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (309, 'target.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Target', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (310, 'darden.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Darden Restaurants', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (311, 'kindredhealthcare.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Kindred Healthcare', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (312, 'weyerhaeuser.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Weyerhaeuser', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (313, 'caseys.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Caseys General Stores', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (314, 'sealedair.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Sealed Air', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (315, '53.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Fifth Third Bancorp', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (316, 'dovercorporation.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Dover', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (317, 'huntingtoningalls.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Huntington Ingalls Industries', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (318, 'netflix.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Netflix', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (319, 'dillards.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Dillards', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (320, 'jnj.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Johnson & Johnson', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (321, 'emcorgroup.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'EMCOR Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (322, 'edwardjones.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Jones Financial', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (323, 'aksteel.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'AK Steel Holding', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (324, 'ugicorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'UGI', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (325, 'expediainc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Expedia', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (326, 'salesforce.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'salesforce.com', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (327, 'targaresources.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Targa Resources', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (328, 'apachecorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Apache', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (329, 'spiritaero.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Spirit AeroSystems Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (330, 'expeditors.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Expeditors International of Washington', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (331, 'metlife.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'MetLife', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (332, 'anixter.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Anixter International', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (333, 'fisglobal.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Fidelity National Information Services', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (334, 'asburyauto.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Asbury Automotive Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (335, 'hess.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Hess', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (336, 'ryder.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Ryder System', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (337, 'terex.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Terex', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (338, 'cokecce.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Coca-Cola European Partners', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (339, 'auto-owners.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Auto-Owners Insurance', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (340, 'cablevision.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Cablevision Systems', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (341, 'symantec.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Symantec', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (342, 'mckesson.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'McKesson', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (343, 'adm.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Archer Daniels Midland', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (344, 'aboutschwab.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Charles Schwab', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (345, 'calpine.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Calpine', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (346, 'cmsenergy.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'CMS Energy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (347, 'alliancedata.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Alliance Data Systems', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (348, 'jetblue.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'JetBlue Airways', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (349, 'discoverycommunications.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Discovery Communications', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (350, 'trin.net', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Trinity Industries', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (351, 'sanmina.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Sanmina', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (352, 'ncr.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'NCR', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (353, 'fmctechnologies.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'FMC Technologies', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (354, 'marathonpetroleum.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Marathon Petroleum', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (355, 'erieinsurance.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Erie Insurance Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (356, 'rockwellautomation.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Rockwell Automation', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (357, 'drpeppersnapplegroup.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Dr Pepper Snapple Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (358, 'iheartmedia.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'iHeartMedia', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (359, 'tractorsupply.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Tractor Supply', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (360, 'jbhunt.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'J.B. Hunt Transport Services', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (361, 'cmc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Commercial Metals', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (362, 'o-i.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Owens-Illinois', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (363, 'harman.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Harman International Industries', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (364, 'baxalta.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Baxalta', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (365, 'freddiemac.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Freddie Mac', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (366, 'afginc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'American Financial Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (367, 'netapp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'NetApp', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (368, 'graybar.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Graybar Electric', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (369, 'oshkoshcorporation.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Oshkosh', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (370, 'ameren.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Ameren', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (371, 'amark.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'A-Mark Precious Metals', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (372, 'barnesandnobleinc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Barnes & Noble', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (373, 'dana.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Dana Holding', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (374, 'cbrands.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Constellation Brands', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (375, 'lifepointhealth.net', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'LifePoint Health', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (376, 'pepsico.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'PepsiCo', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (377, 'zimmerbiomet.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Zimmer Biomet Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (378, 'harley-davidson.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Harley-Davidson', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (379, 'pultegroupinc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'PulteGroup', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (380, 'newellbrands.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Newell Brands', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (381, 'averydennison.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Avery Dennison', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (382, 'jll.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Jones Lang LaSalle', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (383, 'wecenergygroup.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'WEC Energy Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (384, 'marathonoil.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Marathon Oil', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (385, 'ta-petrol.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'TravelCenters of America', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (386, 'unitedrentals.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'United Rentals', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (387, 'utc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'United Technologies', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (388, 'hrggroup.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'HRG Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (389, 'oldrepublic.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Old Republic International', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (390, 'windstream.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Windstream Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (391, 'starwoodhotels.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Starwood Hotels & Resorts', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (392, 'delekus.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Delek US Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (393, 'packagingcorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Packaging Corp. of America', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (394, 'quintiles.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Quintiles IMS Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (395, 'hanes.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Hanesbrands', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (396, 'realogy.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Realogy Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (397, 'mattel.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Mattel', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (398, 'aetna.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Aetna', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (399, 'motorolasolutions.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Motorola Solutions', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (400, 'jmsmucker.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'J.M. Smucker', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (401, 'regions.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Regions Financial', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (402, 'celanese.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Celanese', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (403, 'thecloroxcompany.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Clorox', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (404, 'ingredion.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Ingredion', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (405, 'genesishcc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Genesis Healthcare', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (406, 'peabodyenergy.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Peabody Energy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (407, 'alaskaair.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Alaska Air Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (408, 'seaboardcorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Seaboard', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (409, 'lowes.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Lowes', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (410, 'frontier.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Frontier Communications', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (411, 'amphenol.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Amphenol', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (412, 'lansingtradegroup.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Lansing Trade Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (413, 'sandisk.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'SanDisk', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (414, 'sjm.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'St. Jude Medical', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (415, 'wyndhamworldwide.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Wyndham Worldwide', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (416, 'kellyservices.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Kelly Services', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (417, 'westernunion.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Western Union', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (418, 'evhc.net', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Envision Healthcare Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (419, 'visteon.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Visteon', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (420, 'ups.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'UPS', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (421, 'ajg.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Arthur J. Gallagher', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (422, 'hosthotels.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Host Hotels & Resorts', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (423, 'ashland.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Ashland', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (424, 'insight.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Insight Enterprises', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (425, 'energyfutureholdings.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Energy Future Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (426, 'markelcorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Markel', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (427, 'essendant.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Essendant', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (428, 'ch2m.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'CH2M Hill', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (429, 'westernsouthern.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Western & Southern Financial Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (430, 'owenscorning.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Owens Corning', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (431, 'aig.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'AIG', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (432, 'spglobal.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'S&P Global', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (433, 'raymondjames.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Raymond James Financial', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (434, 'nisource.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'NiSource', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (435, 'airgas.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Airgas', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (436, 'abm.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'ABM Industries', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (437, 'citizensbank.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Citizens Financial Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (438, 'boozallen.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Booz Allen Hamilton Holding', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (439, 'simon.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Simon Property Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (440, 'domtar.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Domtar', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (441, 'rockwellcollins.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Rockwell Collins', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (442, 'prudential.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Prudential Financial', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (443, 'lamresearch.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Lam Research', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (444, 'fiserv.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Fiserv', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (445, 'spectraenergy.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Spectra Energy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (446, 'navient.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Navient', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (447, 'biglots.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Big Lots', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (448, 'tdsinc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Telephone & Data Systems', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (449, 'firstam.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'First American Financial', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (450, 'nvrinc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'NVR', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (451, 'cinfin.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Cincinnati Financial', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (452, 'burlingtonstores.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Burlington Stores', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (453, 'unitedhealthgroup.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'UnitedHealth Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (454, 'intel.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Intel', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (455, 'humana.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Humana', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (456, 'disney.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Disney', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (457, 'cisco.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Cisco Systems', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (458, 'pfizer.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Pfizer', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (459, 'dow.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Dow Chemical', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (460, 'sysco.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Sysco', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (461, 'fedex.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'FedEx', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (462, 'caterpillar.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Caterpillar', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (463, 'lockheedmartin.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Lockheed Martin', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (464, 'cvshealth.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'CVS Health', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (465, 'newyorklife.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'New York Life Insurance', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (466, 'coca-colacompany.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Coca-Cola', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (467, 'hcahealthcare.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'HCA Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (468, 'ingrammicro.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Ingram Micro', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (469, 'energytransfer.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Energy Transfer Equity', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (470, 'tysonfoods.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Tyson Foods', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (471, 'aa.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'American Airlines Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (472, 'delta.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Delta Air Lines', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (473, 'nationwide.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Nationwide', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (474, 'johnsoncontrols.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Johnson Controls', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (475, 'gm.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'General Motors', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (476, 'bestbuy.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Best Buy', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (477, 'merck.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Merck', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (478, 'libertymutual.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Liberty Mutual Insurance Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (479, 'gs.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Goldman Sachs Group', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (480, 'honeywell.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Honeywell International', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (481, 'massmutual.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Massachusetts Mutual Life Insurance', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (482, 'oracle.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Oracle', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (483, 'morganstanley.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Morgan Stanley', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (484, 'cigna.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Cigna', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (485, 'unitedcontinentalholdings.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'United Continental Holdings', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (486, 'ford.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Ford Motor', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (487, 'allstate.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Allstate', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (488, 'tiaa.org', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'TIAA', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (489, 'intlfcstone.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'INTL FCStone', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (490, 'chsinc.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'CHS', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (491, 'americanexpress.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'American Express', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (492, 'gilead.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Gilead Sciences', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (493, 'publix.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Publix Super Markets', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (494, 'generaldynamics.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'General Dynamics', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (495, 'tjx.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'TJX', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (496, 'conocophillips.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'ConocoPhillips', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (497, 'att.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'AT&T', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (498, 'nike.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Nike', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (499, 'wfscorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'World Fuel Services', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (500, '3m.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', '3M', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (501, 'mondelezinternational.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Mondelez International', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (502, 'exeloncorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Exelon', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (503, '21cf.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Twenty-First Century Fox', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (504, 'johndeere.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Deere', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (505, 'tsocorp.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Tesoro', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (506, 'timewarner.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Time Warner', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (507, 'redhat.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Red Hat', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (509, 'openwrt.org', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'OpenWRT', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (510, 'panasonic.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Panasonic', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (511, 'comcast.net', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Comcast', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (512, 'linux.org', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Linux', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (514, 'northwesternmutual.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Northwestern Mutual', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (515, 'kde.org', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'KDE', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (516, 'twitter.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Twitter', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (517, 'adobe.com', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-01 06:00:00', 'Adobe', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (519, 'acm.org', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-12 02:01:59', 'ACM', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (520, 'outdoors@acm.org', 'load', '1.0', 'load', '2013-07-15 00:00:00', '2018-09-12 02:32:53', 'University of Missouri', '1970-01-01', 1); -INSERT INTO "augur_data"."contributor_affiliations"("ca_id", "ca_domain", "tool_source", "tool_version", "data_source", "data_collection_date", "ca_last_used", "ca_affiliation", "ca_start_date", "ca_active") VALUES (521, 'freebsd.org', 'load', '1.0', 'load', '1970-01-01 00:00:00', '2018-09-13 21:15:22', 'Free BSD', '1970-01-01', 1); - -update "augur_operations"."augur_settings" set value = 14 where setting = 'augur_data_version'; diff --git a/schema/generate/13-schema_update_15.sql b/schema/generate/13-schema_update_15.sql deleted file mode 100644 index cba1706e31..0000000000 --- a/schema/generate/13-schema_update_15.sql +++ /dev/null @@ -1,4 +0,0 @@ --- #SPDX-License-Identifier: MIT -INSERT INTO "augur_operations"."augur_settings"("id", "setting", "value", "last_modified") VALUES (2, 'augur_api_key', 'invalid_key', CURRENT_TIMESTAMP); - -update "augur_operations"."augur_settings" set value = 15 where setting = 'augur_data_version'; diff --git a/schema/generate/14-schema_update_16.sql b/schema/generate/14-schema_update_16.sql deleted file mode 100644 index 929a15c419..0000000000 --- a/schema/generate/14-schema_update_16.sql +++ /dev/null @@ -1,37 +0,0 @@ --- #SPDX-License-Identifier: MIT -CREATE SEQUENCE "augur_data"."pull_request_files_pr_file_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 25150 -CACHE 1; - -CREATE TABLE "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 "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. '; - -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 NO ACTION ON UPDATE NO ACTION; - -SELECT setval('"augur_data"."pull_request_files_pr_file_id_seq"', 25150, true); - -ALTER SEQUENCE "augur_data"."pull_request_files_pr_file_id_seq" OWNER TO "augur"; - -update "augur_operations"."augur_settings" set value = 16 where setting = 'augur_data_version'; diff --git a/schema/generate/15-schema_update_17.sql b/schema/generate/15-schema_update_17.sql deleted file mode 100644 index ef162d896c..0000000000 --- a/schema/generate/15-schema_update_17.sql +++ /dev/null @@ -1,39 +0,0 @@ --- #SPDX-License-Identifier: MIT -BEGIN; -ALTER TABLE "augur_data"."repo" - ALTER COLUMN "forked_from" TYPE varchar USING "forked_from"::varchar; - -ALTER TABLE "augur_data"."repo" - ADD COLUMN IF NOT EXISTS "repo_archived" int4, - ADD COLUMN IF NOT EXISTS "repo_archived_date_collected" timestamptz(0), - ALTER COLUMN "forked_from" TYPE varchar USING "forked_from"::varchar; - - -INSERT INTO "augur_data"."repo" ("repo_id", "repo_group_id", "repo_git", "repo_path", "repo_name", "repo_added", "repo_status", "repo_type", "url", "owner_id", "description", "primary_language", "created_at", "forked_from", "updated_at", "tool_source", "tool_version", "data_source", "data_collection_date", "repo_archived", "repo_archived_date_collected") VALUES (1, 1, 'https://github.com/chaoss/augur', NULL, NULL, '2021-08-10 14:28:44', 'New', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'data load', 'one', 'git', '2021-06-05 18:41:14', NULL, NULL); - - - -INSERT INTO "augur_data"."repo_groups" ("repo_group_id", "rg_name", "rg_description", "rg_website", "rg_recache", "rg_last_modified", "rg_type", "tool_source", "tool_version", "data_source", "data_collection_date") VALUES (25155, 'chaoss', 'CHAOSS PROJECT Repos', 'https://chaoss.community', 0, '2021-09-13 11:40:32', 'CHAOSS Base', 'Loaded by user', '1.0', 'Git', '2020-04-17 21:40:32'); -INSERT INTO "augur_data"."repo_groups" ("repo_group_id", "rg_name", "rg_description", "rg_website", "rg_recache", "rg_last_modified", "rg_type", "tool_source", "tool_version", "data_source", "data_collection_date") VALUES (20000, 'chaoss', 'CHAOSS PROJECT Repos', 'https://chaoss.community', 0, '2021-09-13 11:40:32', 'CHAOSS Base', 'Loaded by user', '1.0', 'Git', '2020-04-17 21:40:32'); - - -INSERT INTO "augur_data"."repo" ("repo_id", "repo_group_id", "repo_git", "repo_path", "repo_name", "repo_added", "repo_status", "repo_type", "url", "owner_id", "description", "primary_language", "created_at", "forked_from", "updated_at", "tool_source", "tool_version", "data_source", "data_collection_date", "repo_archived", "repo_archived_date_collected") VALUES (25445, 25155, 'https://github.com/chaoss/grimoirelab-perceval-opnfv', 'github.com/chaoss/', 'grimoirelab-perceval-opnfv', '2020-04-17 21:40:39', 'Complete', '', NULL, NULL, NULL, NULL, NULL, 'Parent not available', NULL, 'CLI', '1.0', 'Git', '2020-04-17 21:40:39', 0, NULL); -INSERT INTO "augur_data"."repo" ("repo_id", "repo_group_id", "repo_git", "repo_path", "repo_name", "repo_added", "repo_status", "repo_type", "url", "owner_id", "description", "primary_language", "created_at", "forked_from", "updated_at", "tool_source", "tool_version", "data_source", "data_collection_date", "repo_archived", "repo_archived_date_collected") VALUES (25450, 25155, 'https://github.com/chaoss/grimoirelab-hatstall', 'github.com/chaoss/', 'grimoirelab-hatstall', '2020-04-17 21:40:42', 'Complete', '', NULL, NULL, NULL, NULL, NULL, 'Parent not available', NULL, 'CLI', '1.0', 'Git', '2020-04-17 21:40:42', 0, NULL); -INSERT INTO "augur_data"."repo" ("repo_id", "repo_group_id", "repo_git", "repo_path", "repo_name", "repo_added", "repo_status", "repo_type", "url", "owner_id", "description", "primary_language", "created_at", "forked_from", "updated_at", "tool_source", "tool_version", "data_source", "data_collection_date", "repo_archived", "repo_archived_date_collected") VALUES (25452, 25155, 'https://github.com/chaoss/whitepaper', 'github.com/chaoss/', 'whitepaper', '2020-04-17 21:40:42', 'Complete', '', NULL, NULL, NULL, NULL, NULL, 'Parent not available', NULL, 'CLI', '1.0', 'Git', '2020-04-17 21:40:42', 0, NULL); - -INSERT INTO "augur_data"."repo" ("repo_id", "repo_group_id", "repo_git", "repo_path", "repo_name", "repo_added", "repo_status", "repo_type", "url", "owner_id", "description", "primary_language", "created_at", "forked_from", "updated_at", "tool_source", "tool_version", "data_source", "data_collection_date", "repo_archived", "repo_archived_date_collected") VALUES (24441, 20000, 'https://github.com/operate-first/operate-first-twitter', 'github.com/operate-first/', 'operate-first-twitter', '2021-08-25 16:47:47', 'Complete', '', NULL, NULL, NULL, NULL, NULL, 'Parent not available', NULL, 'CLI', '1.0', 'Git', '2021-08-25 16:47:47', 0, NULL); -INSERT INTO "augur_data"."repo" ("repo_id", "repo_group_id", "repo_git", "repo_path", "repo_name", "repo_added", "repo_status", "repo_type", "url", "owner_id", "description", "primary_language", "created_at", "forked_from", "updated_at", "tool_source", "tool_version", "data_source", "data_collection_date", "repo_archived", "repo_archived_date_collected") VALUES (24442, 20000, 'https://github.com/operate-first/blueprint', 'github.com/operate-first/', 'blueprint', '2021-08-25 16:47:47', 'Complete', '', NULL, NULL, NULL, NULL, NULL, 'Parent not available', NULL, 'CLI', '1.0', 'Git', '2021-08-25 16:47:47', 0, NULL); - - -update augur_data.repo set repo_status = 'New'; -update augur_data.repo set repo_name = NULL; -update augur_data.repo set repo_path = NULL; - - -COMMIT; - -BEGIN; - -update "augur_operations"."augur_settings" set value = 17 where setting = 'augur_data_version'; - -COMMIT; \ No newline at end of file diff --git a/schema/generate/16-schema_update_18.sql b/schema/generate/16-schema_update_18.sql deleted file mode 100644 index 6be6ea895e..0000000000 --- a/schema/generate/16-schema_update_18.sql +++ /dev/null @@ -1,43 +0,0 @@ --- #SPDX-License-Identifier: MIT -CREATE SEQUENCE "augur_data"."releases_release_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; - -CREATE TABLE "augur_data"."releases" ( - "release_id" int8 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(255) 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, - CONSTRAINT "releases_pkey" PRIMARY KEY ("release_id") -) -; - -ALTER TABLE "augur_data"."releases" OWNER TO "augur"; - -ALTER TABLE "augur_data"."repo" ALTER COLUMN "forked_from" TYPE varchar COLLATE "pg_catalog"."default" USING "forked_from"::varchar; - -SELECT setval('"augur_data"."releases_release_id_seq"', 1, false); - -ALTER SEQUENCE "augur_data"."releases_release_id_seq" -OWNED BY "augur_data"."releases"."release_id"; - -ALTER SEQUENCE "augur_data"."releases_release_id_seq" OWNER TO "augur"; - -ALTER TABLE "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; - -update "augur_operations"."augur_settings" set value = 18 where setting = 'augur_data_version'; diff --git a/schema/generate/17-schema_update_19.sql b/schema/generate/17-schema_update_19.sql deleted file mode 100644 index a1c8744caf..0000000000 --- a/schema/generate/17-schema_update_19.sql +++ /dev/null @@ -1,6 +0,0 @@ --- #SPDX-License-Identifier: MIT -ALTER TABLE "augur_operations"."worker_oauth" ADD COLUMN "platform" varchar COLLATE "pg_catalog"."default" DEFAULT 'github'::character varying; - -update "augur_operations"."worker_oauth" set platform = 'github' where platform is NULL; - -update "augur_operations"."augur_settings" set value = 19 where setting = 'augur_data_version'; diff --git a/schema/generate/18-schema_update_20.sql b/schema/generate/18-schema_update_20.sql deleted file mode 100644 index c01269b590..0000000000 --- a/schema/generate/18-schema_update_20.sql +++ /dev/null @@ -1,35 +0,0 @@ --- #SPDX-License-Identifier: MIT -DROP INDEX if exists "augur_data"."cntrb_id"; - -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 "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 "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 "cntrb_login_platform_index" ON "augur_data"."contributors" USING btree ( - "cntrb_login" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST -); - -ALTER TABLE "augur_data"."repo_info" ALTER COLUMN "data_collection_date" SET DEFAULT CURRENT_TIMESTAMP; - -update "augur_operations"."augur_settings" set value = 20 where setting = 'augur_data_version'; - - --- BRIN Index Summary Calls --- SELECT brin_summarize_new_values('cmt_commiter_contrib_worker'::regclass); --- SELECT brin_summarize_new_values('cmt_author_contrib_worker'::regclass); diff --git a/schema/generate/19-schema_update_21.sql b/schema/generate/19-schema_update_21.sql deleted file mode 100644 index 69723d888c..0000000000 --- a/schema/generate/19-schema_update_21.sql +++ /dev/null @@ -1,49 +0,0 @@ --- #SPDX-License-Identifier: MIT --- DROP TABLE "augur_data"."message_analysis"; --- DROP TABLE "augur_data"."message_analysis_summary"; - -CREATE TABLE "augur_data"."message_analysis" ( -"msg_analysis_id" serial8 NOT NULL, -"msg_id" int8, -"worker_run_id" int8, -"sentiment_score" float8, -"reconstruction_error" float8, -"novelty_flag" bool, -"feedback_flag" bool, -"tool_source" varchar, -"tool_version" varchar, -"data_source" varchar, -"data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP, -PRIMARY KEY ("msg_analysis_id") -) -WITHOUT OIDS; -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. '; -ALTER TABLE "augur_data"."message_analysis" OWNER TO "augur"; - -CREATE TABLE "augur_data"."message_analysis_summary" ( -"msg_summary_id" serial8 NOT NULL, -"repo_id" int8, -"worker_run_id" int8, -"positive_ratio" float8, -"negative_ratio" float8, -"novel_count" int8, -"period" timestamp(0), -"tool_source" varchar, -"tool_version" varchar, -"data_source" varchar, -"data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP, -PRIMARY KEY ("msg_summary_id") -) -WITHOUT OIDS; -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. '; -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. '; -ALTER TABLE "augur_data"."message_analysis_summary" OWNER TO "augur"; - - -update "augur_operations"."augur_settings" set value = 21 where setting = 'augur_data_version'; diff --git a/schema/generate/20-schema_update_22.sql b/schema/generate/20-schema_update_22.sql deleted file mode 100644 index c3ad68344b..0000000000 --- a/schema/generate/20-schema_update_22.sql +++ /dev/null @@ -1,15 +0,0 @@ --- #SPDX-License-Identifier: MIT -CREATE TABLE augur_data.repo_cluster_messages -( - msg_cluster_id serial8, - repo_id bigint, - cluster_content integer, - cluster_mechanism integer, - "tool_source" varchar, - "tool_version" varchar, - "data_source" varchar, - "data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP, - PRIMARY KEY ("msg_cluster_id") -); - -update "augur_operations"."augur_settings" set value = 22 where setting = 'augur_data_version'; diff --git a/schema/generate/21-schema_update_23.sql b/schema/generate/21-schema_update_23.sql deleted file mode 100644 index 49d8c5aa2d..0000000000 --- a/schema/generate/21-schema_update_23.sql +++ /dev/null @@ -1,25 +0,0 @@ --- #SPDX-License-Identifier: MIT -CREATE INDEX CONCURRENTLY if not exists "contributor_delete_finder" ON "augur_data"."contributors" USING brin ( - "cntrb_id", - "cntrb_email" -); - -CREATE INDEX CONCURRENTLY if not exists "contributor_worker_finder" ON "augur_data"."contributors" USING brin ( - "cntrb_login", - "cntrb_email", - "cntrb_id" -); - -CREATE INDEX CONCURRENTLY if not exists "contributor_worker_fullname_finder" ON "augur_data"."contributors" USING brin ( - "cntrb_full_name" -); - -CREATE INDEX CONCURRENTLY if not exists "contributor_worker_email_finder" ON "augur_data"."contributors" USING brin ( - "cntrb_email" -); - -update "augur_operations"."augur_settings" set value = 23 where setting = 'augur_data_version'; - - --- - diff --git a/schema/generate/22-schema_update_24.sql b/schema/generate/22-schema_update_24.sql deleted file mode 100644 index 57dd78133f..0000000000 --- a/schema/generate/22-schema_update_24.sql +++ /dev/null @@ -1,140 +0,0 @@ --- #SPDX-License-Identifier: MIT --- 22-schema_update_24.sql --- - -CREATE SEQUENCE if not exists "augur_data"."repo_topic_repo_topic_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; - -CREATE SEQUENCE if not exists "augur_data"."topic_words_topic_words_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; - -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") -) -; - -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" int4, - "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") -) -; - -SELECT setval('"augur_data"."repo_topic_repo_topic_id_seq"', 14655, true); - -ALTER SEQUENCE "augur_data"."repo_topic_repo_topic_id_seq" -OWNED BY "augur_data"."repo_topic"."repo_topic_id"; - -SELECT setval('"augur_data"."topic_words_topic_words_id_seq"', 25, true); - -ALTER SEQUENCE "augur_data"."topic_words_topic_words_id_seq" -OWNED BY "augur_data"."topic_words"."topic_words_id"; - - - --- ---- LSTM Models --- - -CREATE SEQUENCE if not exists "augur_data"."lstm_anomaly_models_model_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; - -CREATE SEQUENCE if not exists "augur_data"."lstm_anomaly_results_result_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; - -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 "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 "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. '; - -ALTER TABLE "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 "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; - -SELECT setval('"augur_data"."lstm_anomaly_models_model_id_seq"', 11, true); - -ALTER SEQUENCE "augur_data"."lstm_anomaly_models_model_id_seq" -OWNED BY "augur_data"."lstm_anomaly_models"."model_id"; - -ALTER SEQUENCE "augur_data"."lstm_anomaly_models_model_id_seq" OWNER TO "augur"; - -SELECT setval('"augur_data"."lstm_anomaly_results_result_id_seq"', 37, true); - -ALTER SEQUENCE "augur_data"."lstm_anomaly_results_result_id_seq" -OWNED BY "augur_data"."lstm_anomaly_results"."result_id"; - -ALTER SEQUENCE "augur_data"."lstm_anomaly_results_result_id_seq" OWNER TO "augur"; - --- ---- --- - - -update "augur_operations"."augur_settings" set value = 24 where setting = 'augur_data_version'; diff --git a/schema/generate/23-schema_update_25.sql b/schema/generate/23-schema_update_25.sql deleted file mode 100644 index 35e6a4daea..0000000000 --- a/schema/generate/23-schema_update_25.sql +++ /dev/null @@ -1,49 +0,0 @@ --- #SPDX-License-Identifier: MIT --- DROP TABLE "augur_data"."message_analysis"; --- DROP TABLE "augur_data"."message_analysis_summary"; - -CREATE TABLE if not exists "augur_data"."message_analysis" ( -"msg_analysis_id" serial8 NOT NULL, -"msg_id" int8, -"worker_run_id" int8, -"sentiment_score" float8, -"reconstruction_error" float8, -"novelty_flag" bool, -"feedback_flag" bool, -"tool_source" varchar, -"tool_version" varchar, -"data_source" varchar, -"data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP, -PRIMARY KEY ("msg_analysis_id") -) -WITHOUT OIDS; -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. '; -ALTER TABLE "augur_data"."message_analysis" OWNER TO "augur"; - -CREATE TABLE if not exists "augur_data"."message_analysis_summary" ( -"msg_summary_id" serial8 NOT NULL, -"repo_id" int8, -"worker_run_id" int8, -"positive_ratio" float8, -"negative_ratio" float8, -"novel_count" int8, -"period" timestamp(0), -"tool_source" varchar, -"tool_version" varchar, -"data_source" varchar, -"data_collection_date" timestamp(0) DEFAULT CURRENT_TIMESTAMP, -PRIMARY KEY ("msg_summary_id") -) -WITHOUT OIDS; -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. '; -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. '; -ALTER TABLE "augur_data"."message_analysis_summary" OWNER TO "augur"; - - -update "augur_operations"."augur_settings" set value = 25 where setting = 'augur_data_version'; diff --git a/schema/generate/24-schema_update_26.sql b/schema/generate/24-schema_update_26.sql deleted file mode 100644 index 7b5aebd885..0000000000 --- a/schema/generate/24-schema_update_26.sql +++ /dev/null @@ -1,7 +0,0 @@ -ALTER TABLE "augur_data"."releases" ALTER COLUMN "release_id" TYPE char(64) COLLATE "pg_catalog"."default" USING "release_id"::char(64); - -ALTER TABLE "augur_data"."releases" ALTER COLUMN "release_description" TYPE varchar COLLATE "pg_catalog"."default"; - -ALTER TABLE "augur_data"."releases" ADD COLUMN "tag_only" bool; - -update "augur_operations"."augur_settings" set value = 26 where setting = 'augur_data_version'; diff --git a/schema/generate/25-schema_update_27.sql b/schema/generate/25-schema_update_27.sql deleted file mode 100644 index f576c9b592..0000000000 --- a/schema/generate/25-schema_update_27.sql +++ /dev/null @@ -1,29 +0,0 @@ -ALTER TABLE "spdx"."file_types" DROP CONSTRAINT IF EXISTS "uc_file_type_name"; - -ALTER TABLE "spdx"."file_types" DROP CONSTRAINT IF EXISTS "file_types_pkey" CASCADE; - -ALTER TABLE "spdx"."file_types" ALTER COLUMN "file_type_id" DROP NOT NULL; - -ALTER TABLE "spdx"."file_types" ALTER COLUMN "file_type_id" DROP DEFAULT; - -ALTER TABLE "spdx"."file_types" ADD CONSTRAINT "uc_file_type_name" PRIMARY KEY ("name"); - -ALTER TABLE "spdx"."files" ALTER COLUMN "file_type_id" DROP NOT NULL; - -ALTER TABLE "spdx"."identifiers" DROP CONSTRAINT IF EXISTS "ck_identifier_exactly_one"; - -ALTER TABLE "spdx"."identifiers" ADD 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 "spdx"."packages" DROP CONSTRAINT IF EXISTS "uc_sha256_ds2_dir_code_exactly_one"; - -ALTER TABLE "spdx"."packages" ADD CONSTRAINT "uc_sha256_ds2_dir_code_exactly_one" CHECK (((sha256 IS NOT NULL)::integer + (dosocs2_dir_code IS NOT NULL)::integer) = 1); - -ALTER TABLE "spdx"."identifiers" DROP CONSTRAINT IF EXISTS "ck_identifier_exactly_one"; - -ALTER TABLE "spdx"."identifiers" ADD 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 "spdx"."packages" DROP CONSTRAINT IF EXISTS "uc_sha256_ds2_dir_code_exactly_one"; - -ALTER TABLE "spdx"."packages" ADD CONSTRAINT "uc_sha256_ds2_dir_code_exactly_one" CHECK (((((sha256 IS NOT NULL))::integer + ((dosocs2_dir_code IS NOT NULL))::integer) = 1)); - -update "augur_operations"."augur_settings" set value = 27 where setting = 'augur_data_version'; diff --git a/schema/generate/26-schema_update_28.sql b/schema/generate/26-schema_update_28.sql deleted file mode 100644 index 5d132d004f..0000000000 --- a/schema/generate/26-schema_update_28.sql +++ /dev/null @@ -1,112 +0,0 @@ -CREATE SEQUENCE "augur_data"."message_sentiment_msg_analysis_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; - -CREATE SEQUENCE "augur_data"."message_sentiment_summary_msg_summary_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; - -CREATE TABLE "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 "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 "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 "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. '; - -SELECT setval('"augur_data"."message_sentiment_msg_analysis_id_seq"', 12089, true); - -ALTER SEQUENCE "augur_data"."message_sentiment_msg_analysis_id_seq" -OWNED BY "augur_data"."message_sentiment"."msg_analysis_id"; - -ALTER SEQUENCE "augur_data"."message_sentiment_msg_analysis_id_seq" OWNER TO "augur"; - -SELECT setval('"augur_data"."message_sentiment_summary_msg_summary_id_seq"', 206, true); - -ALTER SEQUENCE "augur_data"."message_sentiment_summary_msg_summary_id_seq" -OWNED BY "augur_data"."message_sentiment_summary"."msg_summary_id"; - -ALTER SEQUENCE "augur_data"."message_sentiment_summary_msg_summary_id_seq" OWNER TO "augur"; - -CREATE INDEX "login-contributor-idx" ON "augur_data"."contributors" USING btree ( - "cntrb_login" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST -); - - -------query two optimization - -CREATE INDEX "cmt-author-date-idx2" ON "augur_data"."commits" USING btree ( - "cmt_author_date" -); - - -CREATE INDEX "cmt-committer-date-idx3" ON "augur_data"."commits" USING btree ( - "cmt_committer_date" -); - -CREATE INDEX "cmt_cmmter-name-idx4" ON "augur_data"."commits" USING btree ( - "cmt_author_name" -); - -CREATE INDEX "cmt_author-name-idx5" ON "augur_data"."commits" USING btree ( - "cmt_committer_name" -); - - - -------end query two optimization - - -update "augur_operations"."augur_settings" set value = 28 where setting = 'augur_data_version'; diff --git a/schema/generate/27-schema_update_29.sql b/schema/generate/27-schema_update_29.sql deleted file mode 100644 index cb283fb4ad..0000000000 --- a/schema/generate/27-schema_update_29.sql +++ /dev/null @@ -1,158 +0,0 @@ --- commits - -CREATE INDEX CONCURRENTLY IF NOT EXISTS "author_email,author_affiliation,author_date" ON "augur_data"."commits" USING btree ( - "cmt_author_email" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops", - "cmt_author_affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops", - "cmt_author_date" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" -); - -CREATE INDEX CONCURRENTLY IF NOT EXISTS "committer_cntrb_id" ON "augur_data"."commits" USING btree ( - "cmt_ght_committer_id" -); - -CREATE INDEX CONCURRENTLY IF NOT EXISTS "author_cntrb_id" ON "augur_data"."commits" USING btree ( - "cmt_ght_author_id" -); - - --- pull_request_repo -CREATE INDEX CONCURRENTLY IF NOT EXISTS "pr-cntrb-idx-repo" ON "augur_data"."pull_request_repo" USING btree ( - "pr_cntrb_id" -); - --- messages - -CREATE INDEX CONCURRENTLY IF NOT EXISTS "msg-cntrb-id-idx" ON "augur_data"."message" USING btree ( - "cntrb_id" -); - --- pull request meta -CREATE INDEX CONCURRENTLY IF NOT EXISTS "pr_meta-cntrbid-idx" ON "augur_data"."pull_request_meta" USING btree ( - "cntrb_id" -); - - --- pull request assignees -CREATE INDEX CONCURRENTLY IF NOT EXISTS "pr_meta_cntrb-idx" ON "augur_data"."pull_request_assignees" USING btree ( - "contrib_id" -); - - --- pull request reviewers -CREATE INDEX CONCURRENTLY IF NOT EXISTS "pr-reviewers-cntrb-idx1" ON "augur_data"."pull_request_reviewers" USING btree ( - "cntrb_id" -); - - --- issue assignees -CREATE INDEX CONCURRENTLY IF NOT EXISTS "issue-cntrb-assign-idx-1" ON "augur_data"."issue_assignees" USING btree ( - "cntrb_id" -); - - --- issues -CREATE INDEX CONCURRENTLY IF NOT EXISTS "issue-cntrb-dix2" ON "augur_data"."issues" USING btree ( - "cntrb_id" -); - - - --- issue events -CREATE INDEX CONCURRENTLY IF NOT EXISTS "issue-cntrb-idx2" ON "augur_data"."issue_events" USING btree ( - "issue_event_src_id" -); - - --- contributor aliases -CREATE INDEX CONCURRENTLY IF NOT EXISTS "issue-alias-cntrb-idx1" ON "augur_data"."contributors_aliases" USING btree ( - "cntrb_id" -); - -CREATE INDEX CONCURRENTLY IF NOT EXISTS "issue-alias-cntrb-idx2" ON "augur_data"."contributors_aliases" USING btree ( - "cntrb_a_id" -); - - --- contributor history -CREATE INDEX CONCURRENTLY IF NOT EXISTS "contrb-history-dix1" ON "augur_data"."contributors_history" USING btree ( - "cntrb_id" -); - - -CREATE INDEX CONCURRENTLY -IF - NOT EXISTS commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam ON "augur_data"."commits" ( repo_id, cmt_author_email, cmt_author_date, cmt_author_name ); - -CREATE INDEX CONCURRENTLY -IF - NOT EXISTS commits_idx_cmt_email_cmt_date_cmt_name ON "augur_data"."commits" ( cmt_author_email, cmt_author_date, cmt_author_name ); - -CREATE INDEX CONCURRENTLY -IF - NOT EXISTS commits_idx_repo_id_cmt_ema_cmt_dat_cmt_nam2 ON "augur_data"."commits" ( repo_id, cmt_committer_email, cmt_committer_date, cmt_committer_name ); - -CREATE INDEX CONCURRENTLY -IF - NOT EXISTS commits_idx_cmt_email_cmt_date_cmt_name2 ON "augur_data"."commits" ( cmt_committer_email, cmt_committer_date, cmt_committer_name ); - -CREATE INDEX CONCURRENTLY -IF - NOT EXISTS commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat2 ON "augur_data"."commits" ( repo_id, cmt_author_email, cmt_author_name, cmt_author_date ); - -CREATE INDEX CONCURRENTLY -IF - NOT EXISTS commits_idx_cmt_name_cmt_date2 ON "augur_data"."commits" ( cmt_author_name, cmt_author_date ); - -CREATE INDEX CONCURRENTLY -IF - NOT EXISTS commits_idx_repo_id_cmt_ema_cmt_nam_cmt_dat3 ON "augur_data"."commits" ( repo_id, cmt_committer_email, cmt_committer_name, cmt_author_date ); - -CREATE INDEX CONCURRENTLY -IF - NOT EXISTS commits_idx_cmt_name_cmt_date_cmt_date3 ON "augur_data"."commits" ( cmt_committer_name, cmt_author_date, cmt_committer_date ); - -CREATE INDEX CONCURRENTLY -IF - NOT EXISTS contributors_idx_cntrb_email3 ON "augur_data"."contributors" ( cntrb_email ); - - --- Field Name Consistency - -ALTER TABLE "augur_data"."contributors" - ALTER COLUMN "cntrb_email" TYPE varchar COLLATE "pg_catalog"."default"; - -ALTER TABLE "augur_data"."commits" - ALTER COLUMN "cmt_author_email" TYPE varchar COLLATE "pg_catalog"."default", - ALTER COLUMN "cmt_committer_email" TYPE varchar COLLATE "pg_catalog"."default"; - -ALTER TABLE "augur_data"."contributors" - ALTER COLUMN "cntrb_canonical" TYPE varchar COLLATE "pg_catalog"."default"; - -ALTER TABLE "augur_data"."contributors_aliases" - ALTER COLUMN "canonical_email" TYPE varchar COLLATE "pg_catalog"."default"; - ---- Hash index change - -DROP INDEX "augur_data"."author_affiliation"; - -CREATE INDEX CONCURRENTLY IF NOT EXISTS "author_affiliation" ON "augur_data"."commits" USING hash ( - "cmt_author_affiliation" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" -); - -CREATE INDEX CONCURRENTLY IF NOT EXISTS "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 IF NOT EXISTS "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 IF NOT EXISTS "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 IF NOT EXISTS "cmt_cmmter-name-idx4" ON "augur_data"."commits" USING btree ( - "cmt_author_name" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST -); - -update "augur_operations"."augur_settings" set value = 29 where setting = 'augur_data_version'; diff --git a/schema/generate/28-schema_update_30.sql b/schema/generate/28-schema_update_30.sql deleted file mode 100644 index 8fbf18226e..0000000000 --- a/schema/generate/28-schema_update_30.sql +++ /dev/null @@ -1,24 +0,0 @@ -ALTER TABLE "augur_data"."message_analysis" ADD CONSTRAINT "fk_message_analysis_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id"); - -ALTER TABLE "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 "augur_data"."message_sentiment" ADD CONSTRAINT "fk_message_sentiment_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id"); - -ALTER TABLE "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 "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 "augur_data"."topic_words" ALTER COLUMN "topic_id" TYPE int8 USING "topic_id"::int8; - -ALTER TABLE "augur_data"."topic_words" ADD CONSTRAINT "fk_topic_words_repo_topic_1" FOREIGN KEY ("topic_id") REFERENCES "augur_data"."repo_topic" ("repo_topic_id"); - -DROP TABLE IF EXISTS "augur_data"."_git_census"; - -DROP TABLE IF EXISTS "augur_data"."repo_ghtorrent_map"; - -DROP TABLE IF EXISTS "augur_operations"."cncf_users"; - -DROP TABLE IF EXISTS "augur_operations"."science"; - - -update "augur_operations"."augur_settings" set value = 30 where setting = 'augur_data_version'; diff --git a/schema/generate/29-schema_update_31.sql b/schema/generate/29-schema_update_31.sql deleted file mode 100644 index 5b4714246e..0000000000 --- a/schema/generate/29-schema_update_31.sql +++ /dev/null @@ -1,48 +0,0 @@ -CREATE SEQUENCE "augur_data"."discourse_insights_msg_discourse_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; - -CREATE SEQUENCE "augur_data"."discourse_insights_msg_discourse_id_seq1" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; - -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. '; - -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 "augur_data"."discourse_insights" ( - "msg_discourse_id" int8 NOT NULL DEFAULT nextval('"augur_data".discourse_insights_msg_discourse_id_seq1'::regclass), - "msg_id" int8, - "discourse_act" 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" timestamptz(6) DEFAULT CURRENT_TIMESTAMP, - CONSTRAINT "discourse_insights_pkey" PRIMARY KEY ("msg_discourse_id") -) -; - -ALTER TABLE "augur_data"."discourse_insights" OWNER TO "augur"; - -ALTER TABLE "augur_data"."discourse_insights" ADD CONSTRAINT "fk_discourse_insights_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id") ON DELETE NO ACTION ON UPDATE NO ACTION; - -SELECT setval('"augur_data"."discourse_insights_msg_discourse_id_seq"', 1, false); - -ALTER SEQUENCE "augur_data"."discourse_insights_msg_discourse_id_seq" OWNER TO "augur"; - -SELECT setval('"augur_data"."discourse_insights_msg_discourse_id_seq1"', 1, false); - -ALTER SEQUENCE "augur_data"."discourse_insights_msg_discourse_id_seq1" -OWNED BY "augur_data"."discourse_insights"."msg_discourse_id"; - -ALTER SEQUENCE "augur_data"."discourse_insights_msg_discourse_id_seq1" OWNER TO "augur"; - -update "augur_operations"."augur_settings" set value = 31 where setting = 'augur_data_version'; diff --git a/schema/generate/30-schema_update_32.sql b/schema/generate/30-schema_update_32.sql deleted file mode 100644 index 8572a3a827..0000000000 --- a/schema/generate/30-schema_update_32.sql +++ /dev/null @@ -1,33 +0,0 @@ -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" DROP CONSTRAINT IF EXISTS "fk_pull_request_analysis_pull_requests_1"; -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'; diff --git a/schema/generate/31-schema_update_33.sql b/schema/generate/31-schema_update_33.sql deleted file mode 100644 index d6927b60d4..0000000000 --- a/schema/generate/31-schema_update_33.sql +++ /dev/null @@ -1,6 +0,0 @@ --- # 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'; diff --git a/schema/generate/32-schema_update_34.sql b/schema/generate/32-schema_update_34.sql deleted file mode 100644 index 70be183550..0000000000 --- a/schema/generate/32-schema_update_34.sql +++ /dev/null @@ -1,2 +0,0 @@ --- # Pull request commit updates -update "augur_operations"."augur_settings" set value = 34 where setting = 'augur_data_version'; diff --git a/schema/generate/33-schema_update_35.sql b/schema/generate/33-schema_update_35.sql deleted file mode 100644 index e524bfd0f7..0000000000 --- a/schema/generate/33-schema_update_35.sql +++ /dev/null @@ -1,4 +0,0 @@ --- 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'; diff --git a/schema/generate/34-schema_update_36.sql b/schema/generate/34-schema_update_36.sql deleted file mode 100644 index e2b8aa55d2..0000000000 --- a/schema/generate/34-schema_update_36.sql +++ /dev/null @@ -1,102 +0,0 @@ --- Pull request worker schema changes for PR Reviews - -CREATE SEQUENCE "augur_data"."pull_request_review_message_ref_pr_review_msg_ref_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; - -CREATE SEQUENCE "augur_data"."pull_request_reviews_pr_review_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; - -ALTER TABLE "augur_data"."pull_request_assignees" ADD COLUMN "pr_assignee_src_id" int8; - -CREATE TABLE "augur_data"."pull_request_review_message_ref" ( - "pr_review_msg_ref_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_review_message_ref_pr_review_msg_ref_id_seq'::regclass), - "pr_review_id" int8 NOT NULL, - "msg_id" int8 NOT NULL, - "pr_review_msg_url" varchar COLLATE "pg_catalog"."default", - "pr_review_src_id" int8, - "pr_review_msg_src_id" int8, - "pr_review_msg_node_id" varchar COLLATE "pg_catalog"."default", - "pr_review_msg_diff_hunk" varchar COLLATE "pg_catalog"."default", - "pr_review_msg_path" varchar COLLATE "pg_catalog"."default", - "pr_review_msg_position" varchar COLLATE "pg_catalog"."default", - "pr_review_msg_original_position" varchar COLLATE "pg_catalog"."default", - "pr_review_msg_commit_id" varchar COLLATE "pg_catalog"."default", - "pr_review_msg_original_commit_id" varchar COLLATE "pg_catalog"."default", - "pr_review_msg_updated_at" timestamp(6), - "pr_review_msg_html_url" varchar COLLATE "pg_catalog"."default", - "pr_url" varchar COLLATE "pg_catalog"."default", - "pr_review_msg_author_association" varchar COLLATE "pg_catalog"."default", - "pr_review_msg_start_line" varchar COLLATE "pg_catalog"."default", - "pr_review_msg_original_start_line" varchar COLLATE "pg_catalog"."default", - "pr_review_msg_start_side" varchar COLLATE "pg_catalog"."default", - "pr_review_msg_line" varchar COLLATE "pg_catalog"."default", - "pr_review_msg_original_line" varchar COLLATE "pg_catalog"."default", - "pr_review_msg_side" 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 "pr_review_msg_ref_id" PRIMARY KEY ("pr_review_msg_ref_id") -) -; - -ALTER TABLE "augur_data"."pull_request_review_message_ref" OWNER TO "augur"; - -ALTER TABLE "augur_data"."pull_request_reviewers" ADD COLUMN "pr_reviewer_src_id" int8; - -CREATE TABLE "augur_data"."pull_request_reviews" ( - "pr_review_id" int8 NOT NULL DEFAULT nextval('"augur_data".pull_request_reviews_pr_review_id_seq'::regclass), - "pull_request_id" int8 NOT NULL, - "cntrb_id" int8 NOT NULL, - "pr_review_author_association" varchar(255) COLLATE "pg_catalog"."default", - "pr_review_state" varchar(255) COLLATE "pg_catalog"."default", - "pr_review_body" varchar(255) COLLATE "pg_catalog"."default", - "pr_review_submitted_at" timestamp(6), - "pr_review_src_id" int8, - "pr_review_node_id" varchar(255) COLLATE "pg_catalog"."default", - "pr_review_html_url" varchar(255) COLLATE "pg_catalog"."default", - "pr_review_pull_request_url" varchar(255) COLLATE "pg_catalog"."default", - "pr_review_commit_id" 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 "pull_request_review_id" PRIMARY KEY ("pr_review_id") -) -; - -ALTER TABLE "augur_data"."pull_request_reviews" OWNER TO "augur"; - -ALTER TABLE "augur_data"."pull_request_review_message_ref" ADD CONSTRAINT "fk_pull_request_review_message_ref_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id") ON DELETE NO ACTION ON UPDATE NO ACTION; - -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 NO ACTION ON UPDATE NO ACTION; - -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 NO ACTION ON UPDATE NO ACTION; - -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 NO ACTION ON UPDATE NO ACTION; - -SELECT setval('"augur_data"."pull_request_review_message_ref_pr_review_msg_ref_id_seq"', 1, false); - -ALTER SEQUENCE "augur_data"."pull_request_review_message_ref_pr_review_msg_ref_id_seq" -OWNED BY "augur_data"."pull_request_review_message_ref"."pr_review_msg_ref_id"; - -ALTER SEQUENCE "augur_data"."pull_request_review_message_ref_pr_review_msg_ref_id_seq" OWNER TO "augur"; - -SELECT setval('"augur_data"."pull_request_reviews_pr_review_id_seq"', 1, false); - -ALTER SEQUENCE "augur_data"."pull_request_reviews_pr_review_id_seq" -OWNED BY "augur_data"."pull_request_reviews"."pr_review_id"; - -ALTER SEQUENCE "augur_data"."pull_request_reviews_pr_review_id_seq" OWNER TO "augur"; - - - -update "augur_operations"."augur_settings" set value = 36 where setting = 'augur_data_version'; diff --git a/schema/generate/35-schema_update_37.sql b/schema/generate/35-schema_update_37.sql deleted file mode 100644 index a9fc789008..0000000000 --- a/schema/generate/35-schema_update_37.sql +++ /dev/null @@ -1,66 +0,0 @@ --- Contributor repo and machine learning index changes - -CREATE SEQUENCE "augur_data"."contributor_repo_cntrb_repo_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 2147483647 -START 1 -CACHE 1; - -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, - "cntrb_category" 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 "cntrb_repo_id_key" PRIMARY KEY ("cntrb_repo_id") -) -; - -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 - } -] -




'; - -ALTER TABLE "augur_data"."contributor_repo" ADD CONSTRAINT "fk_contributor_repo_contributors_1" FOREIGN KEY ("cntrb_repo_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION; - -ALTER TABLE "augur_data"."repo_topic" ADD CONSTRAINT "fk_repo_topic_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION; - -SELECT setval('"augur_data"."contributor_repo_cntrb_repo_id_seq"', 1, false); - -ALTER SEQUENCE "augur_data"."contributor_repo_cntrb_repo_id_seq" -OWNED BY "augur_data"."contributor_repo"."cntrb_repo_id"; - -ALTER SEQUENCE "augur_data"."contributor_repo_cntrb_repo_id_seq" OWNER TO "augur"; - - -update "augur_operations"."augur_settings" set value = 37 where setting = 'augur_data_version'; diff --git a/schema/generate/36-schema_update_38.sql b/schema/generate/36-schema_update_38.sql deleted file mode 100644 index e19761064e..0000000000 --- a/schema/generate/36-schema_update_38.sql +++ /dev/null @@ -1,23 +0,0 @@ -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'; diff --git a/schema/generate/37-schema_update_39.sql b/schema/generate/37-schema_update_39.sql deleted file mode 100644 index a824261782..0000000000 --- a/schema/generate/37-schema_update_39.sql +++ /dev/null @@ -1,79 +0,0 @@ -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'; diff --git a/schema/generate/38-schema_update_40.sql b/schema/generate/38-schema_update_40.sql deleted file mode 100644 index adbe793163..0000000000 --- a/schema/generate/38-schema_update_40.sql +++ /dev/null @@ -1,49 +0,0 @@ -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'; diff --git a/schema/generate/39-schema_update_41.sql b/schema/generate/39-schema_update_41.sql deleted file mode 100644 index 4b93b10275..0000000000 --- a/schema/generate/39-schema_update_41.sql +++ /dev/null @@ -1,6 +0,0 @@ -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'; diff --git a/schema/generate/40-schema_update_42.sql b/schema/generate/40-schema_update_42.sql deleted file mode 100644 index fedcf7a930..0000000000 --- a/schema/generate/40-schema_update_42.sql +++ /dev/null @@ -1,11 +0,0 @@ --- 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'; diff --git a/schema/generate/41-schema_update_43.sql b/schema/generate/41-schema_update_43.sql deleted file mode 100644 index 82cd9f71f4..0000000000 --- a/schema/generate/41-schema_update_43.sql +++ /dev/null @@ -1,196 +0,0 @@ --- 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; - diff --git a/schema/generate/42-schema_update_44.sql b/schema/generate/42-schema_update_44.sql deleted file mode 100644 index a19647c3fa..0000000000 --- a/schema/generate/42-schema_update_44.sql +++ /dev/null @@ -1,12 +0,0 @@ -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'; diff --git a/schema/generate/43-schema_update_45.sql b/schema/generate/43-schema_update_45.sql deleted file mode 100644 index 2c2019a448..0000000000 --- a/schema/generate/43-schema_update_45.sql +++ /dev/null @@ -1,63 +0,0 @@ - -CREATE SEQUENCE IF NOT EXISTS "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" DROP CONSTRAINT "worker_oauth_pkey"; - -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. '; - - - -CREATE SEQUENCE IF NOT EXISTS "augur_operations"."affiliations_corp_id_seq" - -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 620000 -CACHE 1; - - -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 CONCURRENTLY IF NOT EXISTS "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'; diff --git a/schema/generate/44-schema_update_46.sql b/schema/generate/44-schema_update_46.sql deleted file mode 100644 index 19f87efd02..0000000000 --- a/schema/generate/44-schema_update_46.sql +++ /dev/null @@ -1,72 +0,0 @@ - --- ---------------------------- --- 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 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 = 46 where setting = 'augur_data_version'; - - -COMMIT; - - diff --git a/schema/generate/45-schema_update_47.sql b/schema/generate/45-schema_update_47.sql deleted file mode 100644 index 9403f8257b..0000000000 --- a/schema/generate/45-schema_update_47.sql +++ /dev/null @@ -1,79 +0,0 @@ - -BEGIN; - - --- ---------------------------- --- Table structure for contributor_repo --- ---------------------------- -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, - "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), - "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 -) -; -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 - } -] -'; - --- ---------------------------- --- Uniques structure for table contributor_repo --- ---------------------------- -ALTER TABLE "augur_data"."contributor_repo" DROP CONSTRAINT IF EXISTS "eventer"; - -ALTER TABLE "augur_data"."contributor_repo" ADD CONSTRAINT "eventer" UNIQUE ("event_id", "tool_version"); - - --- ---------------------------- --- 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; - diff --git a/schema/generate/46-schema_update_48.sql b/schema/generate/46-schema_update_48.sql deleted file mode 100644 index 96cdf3db92..0000000000 --- a/schema/generate/46-schema_update_48.sql +++ /dev/null @@ -1,11 +0,0 @@ - -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/generate/47-schema_update_49.sql b/schema/generate/47-schema_update_49.sql deleted file mode 100644 index 25ca0be4b3..0000000000 --- a/schema/generate/47-schema_update_49.sql +++ /dev/null @@ -1,11 +0,0 @@ - -BEGIN; - -alter table "augur_data"."pull_requests" drop constraint if exists fk_pr_contribs; - 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 RESTRICT ON UPDATE CASCADE NOT VALID; - -update "augur_operations"."augur_settings" set value = 49 where setting = 'augur_data_version'; - - -COMMIT; - diff --git a/schema/generate/48-schema_update_50.sql b/schema/generate/48-schema_update_50.sql deleted file mode 100644 index bae345f3e5..0000000000 --- a/schema/generate/48-schema_update_50.sql +++ /dev/null @@ -1,63 +0,0 @@ -/* - Navicat Premium Data Transfer - - Source Server : data.guillotine.io - Source Server Type : PostgreSQL - Source Server Version : 120006 - Source Host : data.guillotine.io:5432 - Source Catalog : augur_osshealth - Source Schema : augur_data - - Target Server Type : PostgreSQL - Target Server Version : 120006 - File Encoding : 65001 - - Date: 29/04/2021 13:14:58 - - This is base off of a SQL file suggested by Dr. Goggins -*/ - - --- ---------------------------- --- Table structure for contributors --- ---------------------------- -BEGIN; - -DROP TABLE IF EXISTS "augur_data"."dependencies"; - -DROP TABLE IF EXISTS "augur_data"."repo_dependencies"; - -CREATE TABLE "augur_data"."repo_dependencies" ( - "repo_dependencies_id" serial8 NOT NULL, - "repo_id" int8 NOT NULL, - "dep_name" varchar(255), - "dep_count" int, - "dep_language" varchar(255), - "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 -); - -ALTER TABLE "augur_data"."repo_dependencies" OWNER TO "augur"; -COMMENT ON COLUMN "augur_data"."repo_dependencies"."repo_id" IS 'Forign key for repo id. '; -COMMENT ON COLUMN "augur_data"."repo_dependencies"."dep_name" IS 'Name of the dependancy found in project. '; -COMMENT ON COLUMN "augur_data"."repo_dependencies"."dep_count" IS 'Number of times the dependancy was found. '; -COMMENT ON COLUMN "augur_data"."repo_dependencies"."dep_language" IS 'Language of the dependancy. '; -COMMENT ON TABLE "augur_data"."repo_dependencies" IS 'Contains the dependencies for a repo.'; - --- ---------------------------- --- Indexes structure for table contributors --- leaving this blank for getting moving --- ---------------------------- - - --- adding the constraint isn't working --- ---------------------------- --- add foreign keys to tie into everything else --- ---------------------------- -ALTER TABLE "augur_data"."repo_dependencies" ADD CONSTRAINT "repo_id" FOREIGN KEY (repo_id) REFERENCES augur_data.repo(repo_id); - -update "augur_operations"."augur_settings" set value = 50 where setting = 'augur_data_version'; - -COMMIT; diff --git a/schema/generate/49-schema_update_51.sql b/schema/generate/49-schema_update_51.sql deleted file mode 100644 index 0d14536fd6..0000000000 --- a/schema/generate/49-schema_update_51.sql +++ /dev/null @@ -1,10 +0,0 @@ -BEGIN; - -ALTER TABLE IF EXISTS "augur_data"."repo_dependencies" - ALTER COLUMN "repo_id" DROP NOT NULL, - ADD PRIMARY KEY ("repo_dependencies_id"); - -update "augur_operations"."augur_settings" set value = 51 - where setting = 'augur_data_version'; - -COMMIT; diff --git a/schema/generate/50-schema_update_52.sql b/schema/generate/50-schema_update_52.sql deleted file mode 100644 index 4a99dc9397..0000000000 --- a/schema/generate/50-schema_update_52.sql +++ /dev/null @@ -1,56 +0,0 @@ -BEGIN; -DROP TABLE IF EXISTS "augur_data"."repo_deps_scorecard"; -CREATE TABLE "augur_data"."repo_deps_scorecard" ( - "repo_deps_scorecard_id" serial8 NOT NULL, - "repo_id" int8, - "ossf_active_status" varchar COLLATE "pg_catalog"."default", - "ossf_branch_protection_status" varchar COLLATE "pg_catalog"."default", - "ossf_ci_tests_status" varchar COLLATE "pg_catalog"."default", - "ossf_cii_badge_status" varchar COLLATE "pg_catalog"."default", - "ossf_code_review_status" varchar COLLATE "pg_catalog"."default", - "ossf_contributors_status" varchar COLLATE "pg_catalog"."default", - "ossf_frozen_deps_status" varchar COLLATE "pg_catalog"."default", - "ossf_fuzzing_status" varchar COLLATE "pg_catalog"."default", - "ossf_packaging_status" varchar COLLATE "pg_catalog"."default", - "ossf_pull_request_status" varchar COLLATE "pg_catalog"."default", - "ossf_sast_status" varchar COLLATE "pg_catalog"."default", - "ossf_security_policy_status" varchar COLLATE "pg_catalog"."default", - "ossf_signed_releases_status" varchar COLLATE "pg_catalog"."default", - "ossf_signed_tags_status" varchar COLLATE "pg_catalog"."default", - "ossf_active_score" varchar COLLATE "pg_catalog"."default", - "ossf_branch_protection_score" varchar COLLATE "pg_catalog"."default", - "ossf_ci_tests_score" varchar COLLATE "pg_catalog"."default", - "ossf_cii_badge_score" varchar COLLATE "pg_catalog"."default", - "ossf_code_review_score" varchar COLLATE "pg_catalog"."default", - "ossf_contributors_score" varchar COLLATE "pg_catalog"."default", - "ossf_frozen_deps_score" varchar COLLATE "pg_catalog"."default", - "ossf_fuzzing_score" varchar COLLATE "pg_catalog"."default", - "ossf_packaging_score" varchar COLLATE "pg_catalog"."default", - "ossf_pull_request_score" varchar COLLATE "pg_catalog"."default", - "ossf_sast_score" varchar COLLATE "pg_catalog"."default", - "ossf_security_policy_score" varchar COLLATE "pg_catalog"."default", - "ossf_signed_releases_score" varchar COLLATE "pg_catalog"."default", - "ossf_signed_tags_score" 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 -) -; -ALTER TABLE "augur_data"."repo_deps_scorecard" OWNER TO "augur"; - --- ---------------------------- --- Primary Key structure for table repo_deps_scorecard --- ---------------------------- -ALTER TABLE "augur_data"."repo_deps_scorecard" ADD CONSTRAINT "repo_deps_scorecard_pkey" PRIMARY KEY ("repo_deps_scorecard_id"); - --- ---------------------------- --- Foreign Keys structure for table repo_deps_scorecard --- ---------------------------- -ALTER TABLE "augur_data"."repo_deps_scorecard" ADD CONSTRAINT "repo_id" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION; - - -update "augur_operations"."augur_settings" set value = 52 - where setting = 'augur_data_version'; - -COMMIT; diff --git a/schema/generate/50-toss_specific.sql b/schema/generate/50-toss_specific.sql deleted file mode 100644 index 66beeed49f..0000000000 --- a/schema/generate/50-toss_specific.sql +++ /dev/null @@ -1,297 +0,0 @@ -/* - Navicat PostgreSQL Data Transfer - - Source Server : facetrust - Source Server Type : PostgreSQL - Source Server Version : 120004 - Source Host : facetrust.io:5433 - Source Catalog : toss - Source Schema : toss_specific - - Target Server Type : PostgreSQL - Target Server Version : 120004 - File Encoding : 65001 - - Date: 27/11/2020 18:27:23 -*/ - -ALTER TABLE augur_data.repo_info -ALTER COLUMN keywords DROP DEFAULT, -ALTER COLUMN keywords TYPE VARCHAR [] USING keywords :: CHARACTER VARYING [], -ALTER COLUMN keywords SET DEFAULT '{}'; - --- ---------------------------- --- Sequence structure for contributor_language_experience_contributor_language_id_seq --- ---------------------------- -DROP SEQUENCE IF EXISTS "toss_specific"."contributor_language_experience_contributor_language_id_seq"; -CREATE SEQUENCE "toss_specific"."contributor_language_experience_contributor_language_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; -ALTER SEQUENCE "toss_specific"."contributor_language_experience_contributor_language_id_seq" OWNER TO "augur"; - --- ---------------------------- --- Sequence structure for contributor_library_experience_contributor_library_id_seq --- ---------------------------- -DROP SEQUENCE IF EXISTS "toss_specific"."contributor_library_experience_contributor_library_id_seq"; -CREATE SEQUENCE "toss_specific"."contributor_library_experience_contributor_library_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; -ALTER SEQUENCE "toss_specific"."contributor_library_experience_contributor_library_id_seq" OWNER TO "augur"; - --- ---------------------------- --- Sequence structure for file_extension_language_map_file_extension_language_id_seq --- ---------------------------- -DROP SEQUENCE IF EXISTS "toss_specific"."file_extension_language_map_file_extension_language_id_seq"; -CREATE SEQUENCE "toss_specific"."file_extension_language_map_file_extension_language_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; -ALTER SEQUENCE "toss_specific"."file_extension_language_map_file_extension_language_id_seq" OWNER TO "augur"; - --- ---------------------------- --- Sequence structure for repo_language_info_repo_language_info_id_seq --- ---------------------------- -DROP SEQUENCE IF EXISTS "toss_specific"."repo_language_info_repo_language_info_id_seq"; -CREATE SEQUENCE "toss_specific"."repo_language_info_repo_language_info_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; -ALTER SEQUENCE "toss_specific"."repo_language_info_repo_language_info_id_seq" OWNER TO "augur"; - --- ---------------------------- --- Sequence structure for repo_library_info_repo_library_info_id_seq --- ---------------------------- -DROP SEQUENCE IF EXISTS "toss_specific"."repo_library_info_repo_library_info_id_seq"; -CREATE SEQUENCE "toss_specific"."repo_library_info_repo_library_info_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; -ALTER SEQUENCE "toss_specific"."repo_library_info_repo_library_info_id_seq" OWNER TO "augur"; - --- ---------------------------- --- Sequence structure for users_user_id_seq --- ---------------------------- -DROP SEQUENCE IF EXISTS "toss_specific"."users_user_id_seq"; -CREATE SEQUENCE "toss_specific"."users_user_id_seq" -INCREMENT 1 -MINVALUE 1 -MAXVALUE 9223372036854775807 -START 1 -CACHE 1; -ALTER SEQUENCE "toss_specific"."users_user_id_seq" OWNER TO "augur"; - --- ---------------------------- --- Table structure for contributor_language_experience --- ---------------------------- -DROP TABLE IF EXISTS "toss_specific"."contributor_language_experience"; -CREATE TABLE "toss_specific"."contributor_language_experience" ( - "contributor_language_id" int8 NOT NULL DEFAULT nextval('"toss_specific".contributor_language_experience_contributor_language_id_seq'::regclass), - "augur_cntrb_id" int8, - "language" varchar(255) COLLATE "pg_catalog"."default" NOT NULL, - "earliest_commit_time" timestamp(6) NOT NULL, - "commit_count" int8, - "file_count" int8, - "loc_additions" int8, - "loc_deletions" int8, - "data_collection_time" timestamp(6) DEFAULT CURRENT_TIMESTAMP, - "latest_commit_time" timestamp(6) NOT NULL -) -; -ALTER TABLE "toss_specific"."contributor_language_experience" OWNER TO "augur"; - --- ---------------------------- --- Table structure for contributor_library_experience --- ---------------------------- -DROP TABLE IF EXISTS "toss_specific"."contributor_library_experience"; -CREATE TABLE "toss_specific"."contributor_library_experience" ( - "contributor_library_id" int8 NOT NULL DEFAULT nextval('"toss_specific".contributor_library_experience_contributor_library_id_seq'::regclass), - "augur_cntrb_id" int8, - "library" varchar(255) COLLATE "pg_catalog"."default" NOT NULL, - "earliest_commit_time" timestamp(6) NOT NULL, - "commit_count" int8, - "file_count" int8, - "loc_additions" int8, - "loc_deletions" int8, - "data_collection_time" timestamp(6) DEFAULT CURRENT_TIMESTAMP, - "latest_commit_time" timestamp(6) NOT NULL -) -; -ALTER TABLE "toss_specific"."contributor_library_experience" OWNER TO "augur"; - --- ---------------------------- --- Table structure for file_extension_language_map --- ---------------------------- -DROP TABLE IF EXISTS "toss_specific"."file_extension_language_map"; -CREATE TABLE "toss_specific"."file_extension_language_map" ( - "file_extension_language_id" int8 NOT NULL DEFAULT nextval('"toss_specific".file_extension_language_map_file_extension_language_id_seq'::regclass), - "file_extension" varchar(255) COLLATE "pg_catalog"."default" NOT NULL, - "language" varchar(255) COLLATE "pg_catalog"."default" NOT NULL, - "data_collection_time" timestamp(6) DEFAULT CURRENT_TIMESTAMP -) -; -ALTER TABLE "toss_specific"."file_extension_language_map" OWNER TO "augur"; - --- ---------------------------- --- Table structure for repo_language_info --- ---------------------------- -DROP TABLE IF EXISTS "toss_specific"."repo_language_info"; -CREATE TABLE "toss_specific"."repo_language_info" ( - "repo_language_info_id" int8 NOT NULL DEFAULT nextval('"toss_specific".repo_language_info_repo_language_info_id_seq'::regclass), - "repo_id" int8 NOT NULL, - "language" varchar(255) COLLATE "pg_catalog"."default" NOT NULL, - "percentage" float8, - "commit_count" int8, - "file_count" int8, - "earliest_commit_time" timestamp(6), - "latest_commit_time" timestamp(6), - "data_collection_time" timestamp(6) DEFAULT CURRENT_TIMESTAMP, - "loc_additions" int8, - "loc_deletions" int8 -) -; -ALTER TABLE "toss_specific"."repo_language_info" OWNER TO "augur"; - --- ---------------------------- --- Table structure for repo_library_info --- ---------------------------- -DROP TABLE IF EXISTS "toss_specific"."repo_library_info"; -CREATE TABLE "toss_specific"."repo_library_info" ( - "repo_library_info_id" int8 NOT NULL DEFAULT nextval('"toss_specific".repo_library_info_repo_library_info_id_seq'::regclass), - "repo_id" int8 NOT NULL, - "library" varchar(255) COLLATE "pg_catalog"."default" NOT NULL, - "percentage" float8, - "commit_count" int8, - "file_count" int8, - "earliest_commit_time" timestamp(6), - "latest_commit_time" timestamp(6), - "data_collection_time" timestamp(6) DEFAULT CURRENT_TIMESTAMP -) -; -ALTER TABLE "toss_specific"."repo_library_info" OWNER TO "augur"; - --- ---------------------------- --- Table structure for users --- ---------------------------- -DROP TABLE IF EXISTS "toss_specific"."users"; -CREATE TABLE "toss_specific"."users" ( - "user_id" int8 NOT NULL DEFAULT nextval('"toss_specific".users_user_id_seq'::regclass), - "dev_or_repo_account_type" varchar(255) COLLATE "pg_catalog"."default" NOT NULL, - "augur_cntrb_id" int8, - "augur_repo_id" int8, - "user_email" varchar(255) COLLATE "pg_catalog"."default" NOT NULL, - "user_password" varchar(255) COLLATE "pg_catalog"."default" NOT NULL, - "data_collection_time" timestamp(6) DEFAULT CURRENT_TIMESTAMP, - "taken_quiz" bool DEFAULT false -) -; -ALTER TABLE "toss_specific"."users" OWNER TO "augur"; - --- ---------------------------- --- Alter sequences owned by --- ---------------------------- -ALTER SEQUENCE "toss_specific"."contributor_language_experience_contributor_language_id_seq" -OWNED BY "toss_specific"."contributor_language_experience"."contributor_language_id"; -SELECT setval('"toss_specific"."contributor_language_experience_contributor_language_id_seq"', 2, false); - --- ---------------------------- --- Alter sequences owned by --- ---------------------------- -ALTER SEQUENCE "toss_specific"."contributor_library_experience_contributor_library_id_seq" -OWNED BY "toss_specific"."contributor_library_experience"."contributor_library_id"; -SELECT setval('"toss_specific"."contributor_library_experience_contributor_library_id_seq"', 2, false); - --- ---------------------------- --- Alter sequences owned by --- ---------------------------- -ALTER SEQUENCE "toss_specific"."file_extension_language_map_file_extension_language_id_seq" -OWNED BY "toss_specific"."file_extension_language_map"."file_extension_language_id"; -SELECT setval('"toss_specific"."file_extension_language_map_file_extension_language_id_seq"', 1957, true); - --- ---------------------------- --- Alter sequences owned by --- ---------------------------- -ALTER SEQUENCE "toss_specific"."repo_language_info_repo_language_info_id_seq" -OWNED BY "toss_specific"."repo_language_info"."repo_language_info_id"; -SELECT setval('"toss_specific"."repo_language_info_repo_language_info_id_seq"', 2, false); - --- ---------------------------- --- Alter sequences owned by --- ---------------------------- -ALTER SEQUENCE "toss_specific"."repo_library_info_repo_library_info_id_seq" -OWNED BY "toss_specific"."repo_library_info"."repo_library_info_id"; -SELECT setval('"toss_specific"."repo_library_info_repo_library_info_id_seq"', 2, false); - --- ---------------------------- --- Alter sequences owned by --- ---------------------------- -ALTER SEQUENCE "toss_specific"."users_user_id_seq" -OWNED BY "toss_specific"."users"."user_id"; -SELECT setval('"toss_specific"."users_user_id_seq"', 24, true); - --- ---------------------------- --- Primary Key structure for table contributor_language_experience --- ---------------------------- -ALTER TABLE "toss_specific"."contributor_language_experience" ADD CONSTRAINT "contributor_language_id" PRIMARY KEY ("contributor_language_id"); - --- ---------------------------- --- Primary Key structure for table contributor_library_experience --- ---------------------------- -ALTER TABLE "toss_specific"."contributor_library_experience" ADD CONSTRAINT "contributor_library_id" PRIMARY KEY ("contributor_library_id"); - --- ---------------------------- --- Primary Key structure for table file_extension_language_map --- ---------------------------- -ALTER TABLE "toss_specific"."file_extension_language_map" ADD CONSTRAINT "file_extension_language_id" PRIMARY KEY ("file_extension_language_id"); - --- ---------------------------- --- Primary Key structure for table repo_language_info --- ---------------------------- -ALTER TABLE "toss_specific"."repo_language_info" ADD CONSTRAINT "repo_language_info_id" PRIMARY KEY ("repo_language_info_id"); - --- ---------------------------- --- Primary Key structure for table repo_library_info --- ---------------------------- -ALTER TABLE "toss_specific"."repo_library_info" ADD CONSTRAINT "repo_library_info_id" PRIMARY KEY ("repo_library_info_id"); - --- ---------------------------- --- Primary Key structure for table users --- ---------------------------- -ALTER TABLE "toss_specific"."users" ADD CONSTRAINT "user_id" PRIMARY KEY ("user_id"); - --- ---------------------------- --- Foreign Keys structure for table contributor_language_experience --- ---------------------------- -ALTER TABLE "toss_specific"."contributor_language_experience" ADD CONSTRAINT "fk_contributor_experience_contributors_1_copy_1" FOREIGN KEY ("augur_cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION; - --- ---------------------------- --- Foreign Keys structure for table contributor_library_experience --- ---------------------------- -ALTER TABLE "toss_specific"."contributor_library_experience" ADD CONSTRAINT "fk_contributor_experience_contributors_1" FOREIGN KEY ("augur_cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION; - --- ---------------------------- --- Foreign Keys structure for table repo_language_info --- ---------------------------- -ALTER TABLE "toss_specific"."repo_language_info" ADD CONSTRAINT "fk_repo_language_map_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION; - --- ---------------------------- --- Foreign Keys structure for table repo_library_info --- ---------------------------- -ALTER TABLE "toss_specific"."repo_library_info" ADD CONSTRAINT "fk_repo_library_map_repo_1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION; - --- ---------------------------- --- Foreign Keys structure for table users --- ---------------------------- -ALTER TABLE "toss_specific"."users" ADD CONSTRAINT "fk_users_contributors_1" FOREIGN KEY ("augur_cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE NO ACTION ON UPDATE NO ACTION; -ALTER TABLE "toss_specific"."users" ADD CONSTRAINT "fk_users_repo_1" FOREIGN KEY ("augur_repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION; diff --git a/schema/generate/51-schema_update_53.sql b/schema/generate/51-schema_update_53.sql deleted file mode 100644 index a0bfd80fda..0000000000 --- a/schema/generate/51-schema_update_53.sql +++ /dev/null @@ -1,60 +0,0 @@ -BEGIN; -ALTER TABLE IF EXISTS "augur_data"."repo_deps_scorecard" RENAME TO "_dev1_repo_deps_scorecard"; -CREATE TABLE "augur_data"."repo_deps_scorecard" ( - "repo_deps_scorecard_id" serial8 NOT NULL, - "repo_id" int8, - "ossf_active_status" varchar COLLATE "pg_catalog"."default", - "ossf_branch_protection_status" varchar COLLATE "pg_catalog"."default", - "ossf_ci_tests_status" varchar COLLATE "pg_catalog"."default", - "ossf_cii_best_practices_status" varchar COLLATE "pg_catalog"."default", - "ossf_code_review_status" varchar COLLATE "pg_catalog"."default", - "ossf_contributors_status" varchar COLLATE "pg_catalog"."default", - "ossf_frozen_deps_status" varchar COLLATE "pg_catalog"."default", - "ossf_fuzzing_status" varchar COLLATE "pg_catalog"."default", - "ossf_packaging_status" varchar COLLATE "pg_catalog"."default", - "ossf_pull_request_status" varchar COLLATE "pg_catalog"."default", - "ossf_sast_status" varchar COLLATE "pg_catalog"."default", - "ossf_security_policy_status" varchar COLLATE "pg_catalog"."default", - "ossf_signed_releases_status" varchar COLLATE "pg_catalog"."default", - "ossf_signed_tags_status" varchar COLLATE "pg_catalog"."default", - "ossf_automated_dendency_update_status" varchar COLLATE "pg_catalog"."default", - "ossf_token_permissions_status" varchar COLLATE "pg_catalog"."default", - "ossf_active_score" varchar COLLATE "pg_catalog"."default", - "ossf_branch_protection_score" varchar COLLATE "pg_catalog"."default", - "ossf_ci_tests_score" varchar COLLATE "pg_catalog"."default", - "ossf_cii_best_practices_score" varchar COLLATE "pg_catalog"."default", - "ossf_code_review_score" varchar COLLATE "pg_catalog"."default", - "ossf_contributors_score" varchar COLLATE "pg_catalog"."default", - "ossf_frozen_deps_score" varchar COLLATE "pg_catalog"."default", - "ossf_fuzzing_score" varchar COLLATE "pg_catalog"."default", - "ossf_packaging_score" varchar COLLATE "pg_catalog"."default", - "ossf_pull_request_score" varchar COLLATE "pg_catalog"."default", - "ossf_sast_score" varchar COLLATE "pg_catalog"."default", - "ossf_security_policy_score" varchar COLLATE "pg_catalog"."default", - "ossf_signed_releases_score" varchar COLLATE "pg_catalog"."default", - "ossf_signed_tags_score" varchar COLLATE "pg_catalog"."default", - "ossf_automated_dendency_update_score" varchar COLLATE "pg_catalog"."default", - "ossf_token_permissions_score" 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 -) -; -ALTER TABLE "augur_data"."repo_deps_scorecard" OWNER TO "augur"; - --- ---------------------------- --- Primary Key structure for table repo_deps_scorecard --- ---------------------------- -ALTER TABLE "augur_data"."repo_deps_scorecard" ADD CONSTRAINT "repo_deps_scorecard_pkey_x" PRIMARY KEY ("repo_deps_scorecard_id"); - --- ---------------------------- --- Foreign Keys structure for table repo_deps_scorecard --- ---------------------------- -ALTER TABLE "augur_data"."repo_deps_scorecard" ADD CONSTRAINT "repo_id" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION; - - -update "augur_operations"."augur_settings" set value = 53 - where setting = 'augur_data_version'; - -COMMIT; diff --git a/schema/generate/52-schema_update_54.sql b/schema/generate/52-schema_update_54.sql deleted file mode 100644 index 418727d8ac..0000000000 --- a/schema/generate/52-schema_update_54.sql +++ /dev/null @@ -1,31 +0,0 @@ -BEGIN; -DROP TABLE IF EXISTS "augur_data"."repo_deps_scorecard"; -CREATE TABLE "augur_data"."repo_deps_scorecard" ( - "repo_deps_scorecard_id" serial8 NOT NULL, - "repo_id" int8, - "name" varchar COLLATE "pg_catalog"."default", - "status" varchar COLLATE "pg_catalog"."default", - "score" 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 -) -; -ALTER TABLE "augur_data"."repo_deps_scorecard" OWNER TO "augur"; - --- ---------------------------- --- Primary Key structure for table repo_deps_scorecard --- ---------------------------- -ALTER TABLE "augur_data"."repo_deps_scorecard" ADD CONSTRAINT "repo_deps_scorecard_pkey1" PRIMARY KEY ("repo_deps_scorecard_id"); - --- ---------------------------- --- Foreign Keys structure for table repo_deps_scorecard --- ---------------------------- -ALTER TABLE "augur_data"."repo_deps_scorecard" ADD CONSTRAINT "repo_id" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION; - - -update "augur_operations"."augur_settings" set value = 54 - where setting = 'augur_data_version'; - -COMMIT; \ No newline at end of file diff --git a/schema/generate/53-schema_update_55.sql b/schema/generate/53-schema_update_55.sql deleted file mode 100644 index f91b484666..0000000000 --- a/schema/generate/53-schema_update_55.sql +++ /dev/null @@ -1,17 +0,0 @@ -BEGIN; - - -ALTER TABLE "augur_operations"."worker_history" ALTER COLUMN "oauth_id" DROP NOT NULL; - -ALTER TABLE "augur_data"."pull_requests" DROP CONSTRAINT if exists "fk_pull_requests_pull_request_meta_2"; - -ALTER TABLE "augur_data"."pull_requests" DROP CONSTRAINT if exists "fk_pull_requests_pull_request_meta_1"; - -CREATE INDEX IF NOT EXISTS "cntrb_canonica-idx11" ON "augur_data"."contributors" USING btree ( - "cntrb_canonical" COLLATE "pg_catalog"."default" "pg_catalog"."text_ops" ASC NULLS LAST -); - -update "augur_operations"."augur_settings" set value = 55 where setting = 'augur_data_version'; - -COMMIT; - diff --git a/schema/generate/54-schema_update_56.sql b/schema/generate/54-schema_update_56.sql deleted file mode 100644 index fa2676e53c..0000000000 --- a/schema/generate/54-schema_update_56.sql +++ /dev/null @@ -1,12 +0,0 @@ -BEGIN; - -alter index if exists cmt_author_contrib_worker set (pages_per_range = 64,autosummarize = on); -alter index if exists cmt_commiter_contrib_worker set (pages_per_range = 64,autosummarize = on); -alter index if exists contributor_delete_finder set (pages_per_range = 64,autosummarize = on); -alter index if exists contributor_worker_finder set (pages_per_range = 64,autosummarize = on); -alter index if exists contributor_worker_fullname_finder set (pages_per_range = 64,autosummarize = on); -alter index if exists contributor_worker_email_finder set (pages_per_range = 64,autosummarize = on); - -update "augur_operations"."augur_settings" set value = 56 where setting = 'augur_data_version'; - -COMMIT; diff --git a/schema/generate/55-schema_update_57.sql b/schema/generate/55-schema_update_57.sql deleted file mode 100644 index 607abc866c..0000000000 --- a/schema/generate/55-schema_update_57.sql +++ /dev/null @@ -1,119 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."contributors" ADD COLUMN "gl_id" int8; - -ALTER TABLE "augur_data"."contributors" ADD COLUMN "gl_full_name" varchar COLLATE "pg_catalog"."default"; - -ALTER TABLE "augur_data"."contributors" ADD COLUMN "gl_username" varchar COLLATE "pg_catalog"."default"; - -ALTER TABLE "augur_data"."contributors" ADD COLUMN "gl_state" varchar COLLATE "pg_catalog"."default"; - -ALTER TABLE "augur_data"."contributors" ADD COLUMN "gl_avatar_url" varchar COLLATE "pg_catalog"."default"; - -ALTER TABLE "augur_data"."contributors" ADD COLUMN "gl_web_url" varchar COLLATE "pg_catalog"."default"; - -COMMENT ON COLUMN "augur_data"."contributors"."gl_id" IS '"id" value from these API calls to GitLab, all for the same user - -https://gitlab.com/api/v4/users?username=computationalmystic -https://gitlab.com/api/v4/users?search=s@goggins.com -https://gitlab.com/api/v4/users?search=outdoors@acm.org - -[ - { - "id": 5481034, - "name": "sean goggins", - "username": "computationalmystic", - "state": "active", - "avatar_url": "https://secure.gravatar.com/avatar/fb1fb43953a6059df2fe8d94b21d575c?s=80&d=identicon", - "web_url": "https://gitlab.com/computationalmystic" - } -]'; - -COMMENT ON COLUMN "augur_data"."contributors"."gl_full_name" IS '“name” value from these API calls to GitLab, all for the same user - -https://gitlab.com/api/v4/users?username=computationalmystic -https://gitlab.com/api/v4/users?search=s@goggins.com -https://gitlab.com/api/v4/users?search=outdoors@acm.org - -[ - { - "id": 5481034, - "name": "sean goggins", - "username": "computationalmystic", - "state": "active", - "avatar_url": "https://secure.gravatar.com/avatar/fb1fb43953a6059df2fe8d94b21d575c?s=80&d=identicon", - "web_url": "https://gitlab.com/computationalmystic" - } -]'; - -COMMENT ON COLUMN "augur_data"."contributors"."gl_username" IS '“username” value from these API calls to GitLab, all for the same user - -https://gitlab.com/api/v4/users?username=computationalmystic -https://gitlab.com/api/v4/users?search=s@goggins.com -https://gitlab.com/api/v4/users?search=outdoors@acm.org - -[ - { - "id": 5481034, - "name": "sean goggins", - "username": "computationalmystic", - "state": "active", - "avatar_url": "https://secure.gravatar.com/avatar/fb1fb43953a6059df2fe8d94b21d575c?s=80&d=identicon", - "web_url": "https://gitlab.com/computationalmystic" - } -]'; - -COMMENT ON COLUMN "augur_data"."contributors"."gl_state" IS '“state” value from these API calls to GitLab, all for the same user - -https://gitlab.com/api/v4/users?username=computationalmystic -https://gitlab.com/api/v4/users?search=s@goggins.com -https://gitlab.com/api/v4/users?search=outdoors@acm.org - -[ - { - "id": 5481034, - "name": "sean goggins", - "username": "computationalmystic", - "state": "active", - "avatar_url": "https://secure.gravatar.com/avatar/fb1fb43953a6059df2fe8d94b21d575c?s=80&d=identicon", - "web_url": "https://gitlab.com/computationalmystic" - } -]'; - -COMMENT ON COLUMN "augur_data"."contributors"."gl_avatar_url" IS '“avatar_url” value from these API calls to GitLab, all for the same user - -https://gitlab.com/api/v4/users?username=computationalmystic -https://gitlab.com/api/v4/users?search=s@goggins.com -https://gitlab.com/api/v4/users?search=outdoors@acm.org - -[ - { - "id": 5481034, - "name": "sean goggins", - "username": "computationalmystic", - "state": "active", - "avatar_url": "https://secure.gravatar.com/avatar/fb1fb43953a6059df2fe8d94b21d575c?s=80&d=identicon", - "web_url": "https://gitlab.com/computationalmystic" - } -]'; - -COMMENT ON COLUMN "augur_data"."contributors"."gl_web_url" IS '“web_url” value from these API calls to GitLab, all for the same user - -https://gitlab.com/api/v4/users?username=computationalmystic -https://gitlab.com/api/v4/users?search=s@goggins.com -https://gitlab.com/api/v4/users?search=outdoors@acm.org - -[ - { - "id": 5481034, - "name": "sean goggins", - "username": "computationalmystic", - "state": "active", - "avatar_url": "https://secure.gravatar.com/avatar/fb1fb43953a6059df2fe8d94b21d575c?s=80&d=identicon", - "web_url": "https://gitlab.com/computationalmystic" - } -]'; - -update "augur_operations"."augur_settings" set value = 57 where setting = 'augur_data_version'; - -COMMIT; diff --git a/schema/generate/56-schema_update_58.sql b/schema/generate/56-schema_update_58.sql deleted file mode 100644 index 80aa5ffa11..0000000000 --- a/schema/generate/56-schema_update_58.sql +++ /dev/null @@ -1,38 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."contributors" - ADD CONSTRAINT "GH-UNIQUE-A" UNIQUE ("cntrb_login") DEFERRABLE INITIALLY DEFERRED, - ADD CONSTRAINT "GH-UNIQUE-B" UNIQUE ("gh_user_id") DEFERRABLE INITIALLY DEFERRED, - ADD CONSTRAINT "GH-UNIQUE-C" UNIQUE ("gh_login") DEFERRABLE INITIALLY DEFERRED; - - -ALTER TABLE IF EXISTS "augur_data"."message" - ADD COLUMN "platform_msg_id" int8, - ADD COLUMN "platform_node_id" varchar; - -ALTER TABLE IF EXISTS "augur_data"."pull_request_review_message_ref" - ADD COLUMN "repo_id" int8; - -ALTER TABLE IF EXISTS "augur_data"."issue_message_ref" - ADD COLUMN "repo_id" int8; - -ALTER TABLE IF EXISTS "augur_data"."pull_request_message_ref" - ADD COLUMN "repo_id" int8; - -ALTER TABLE "augur_data"."issue_message_ref" - DROP CONSTRAINT "fk_issue_message_ref_issues_1"; - -ALTER TABLE "augur_data"."issue_message_ref" - DROP CONSTRAINT "fk_issue_message_ref_message_1"; - -ALTER TABLE "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 RESTRICT ON UPDATE CASCADE, - ADD CONSTRAINT "fk_issue_message_ref_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id") ON DELETE RESTRICT ON UPDATE CASCADE; - - - -update "augur_operations"."augur_settings" set value = 58 where setting = 'augur_data_version'; - - -COMMIT; - diff --git a/schema/generate/57-schema_update_59.sql b/schema/generate/57-schema_update_59.sql deleted file mode 100644 index 3e05c7dca7..0000000000 --- a/schema/generate/57-schema_update_59.sql +++ /dev/null @@ -1,10 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."contributors" - DROP CONSTRAINT "GH-UNIQUE-A"; - -update "augur_operations"."augur_settings" set value = 59 where setting = 'augur_data_version'; - - -COMMIT; - diff --git a/schema/generate/58-schema_update_60.sql b/schema/generate/58-schema_update_60.sql deleted file mode 100644 index 1b8fbb46cf..0000000000 --- a/schema/generate/58-schema_update_60.sql +++ /dev/null @@ -1,11 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."contributors" - ADD CONSTRAINT "GL-UNIQUE-B" UNIQUE ("gl_id"), - ADD CONSTRAINT "GL-UNIQUE-C" UNIQUE ("gl_username"); - -update "augur_operations"."augur_settings" set value = 60 where setting = 'augur_data_version'; - - -COMMIT; - diff --git a/schema/generate/59-schema_update_61.sql b/schema/generate/59-schema_update_61.sql deleted file mode 100644 index a20a4d9f05..0000000000 --- a/schema/generate/59-schema_update_61.sql +++ /dev/null @@ -1,9 +0,0 @@ -BEGIN; - -INSERT INTO "augur_operations"."worker_history" ("history_id", "repo_id", "worker", "job_model", "oauth_id", "timestamp", "status", "total_results") VALUES (1, 1, 'seed.worker.record', 'seed', NULL, '2021-07-27 09:50:56', 'Success', 0); - -update "augur_operations"."augur_settings" set value = 61 where setting = 'augur_data_version'; - - -COMMIT; - diff --git a/schema/generate/60-schema_update_62.sql b/schema/generate/60-schema_update_62.sql deleted file mode 100644 index 5d4aadf04f..0000000000 --- a/schema/generate/60-schema_update_62.sql +++ /dev/null @@ -1,42 +0,0 @@ -BEGIN; - -DROP TABLE IF EXISTS "augur_data"."repo_deps_libyear"; -CREATE TABLE "augur_data"."repo_deps_libyear" ( - "repo_deps_libyear_id" serial8 NOT NULL, - "repo_id" int8, - "name" varchar COLLATE "pg_catalog"."default", - "requirement" varchar COLLATE "pg_catalog"."default", - "type" varchar COLLATE "pg_catalog"."default", - "package_manager" varchar COLLATE "pg_catalog"."default", - "current_verion" varchar COLLATE "pg_catalog"."default", - "latest_version" varchar COLLATE "pg_catalog"."default", - "current_release_date" varchar COLLATE "pg_catalog"."default", - "latest_release_date" varchar COLLATE "pg_catalog"."default", - "libyear" 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 -) -; -ALTER TABLE "augur_data"."repo_deps_libyear" OWNER TO "augur"; - --- ---------------------------- --- Primary Key structure for table repo_deps_scorecard --- ---------------------------- -ALTER TABLE "augur_data"."repo_deps_libyear" ADD CONSTRAINT "repo_deps_libyear_pkey" PRIMARY KEY ("repo_deps_libyear_id"); - --- ---------------------------- --- Foreign Keys structure for table repo_deps_scorecard --- ---------------------------- -ALTER TABLE "augur_data"."repo_deps_libyear" ADD CONSTRAINT "repo_id" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE NO ACTION ON UPDATE NO ACTION; - - -ALTER TABLE "augur_data"."repo_deps_libyear" - ALTER COLUMN "libyear" TYPE float8 USING "libyear"::float8; - - -update "augur_operations"."augur_settings" set value = 62 - where setting = 'augur_data_version'; - -COMMIT; diff --git a/schema/generate/61-schema_update_63.sql b/schema/generate/61-schema_update_63.sql deleted file mode 100644 index 851e1505f6..0000000000 --- a/schema/generate/61-schema_update_63.sql +++ /dev/null @@ -1,27 +0,0 @@ -BEGIN; -ALTER TABLE "augur_data"."contributors" DROP CONSTRAINT "GL-UNIQUE-B"; - -ALTER TABLE "augur_data"."contributors" DROP CONSTRAINT "GL-UNIQUE-C"; - -ALTER TABLE "augur_data"."contributors" ADD CONSTRAINT "GL-UNIQUE-B" UNIQUE ("gl_id") DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "augur_data"."contributors" ADD CONSTRAINT "GL-UNIQUE-C" UNIQUE ("gl_username") DEFERRABLE INITIALLY DEFERRED; - -ALTER TABLE "augur_data"."message" ADD CONSTRAINT "gh-message" UNIQUE ("platform_msg_id", "tool_source"); - -COMMENT ON CONSTRAINT "gh-message" ON "augur_data"."message" IS 'The GitHub Issue and Pull Request APIs both return messages for Pull Requests. By including the tools source in the natural key, we are preserving the GitHub API’s provenance as a source. - -This has implications for data retrieval. For example, if you are processing messages, attending to the platform_msg_id you can select distinct and avoid duplicate messages. '; - - -ALTER TABLE "augur_data"."issue_message_ref" ADD CONSTRAINT "repo-issue" UNIQUE ("issue_msg_ref_src_comment_id", "tool_source"); - -COMMENT ON CONSTRAINT "repo-issue" ON "augur_data"."issue_message_ref" IS 'The comment ID, and tool source are the natural key for this table, same as messages. This preserves the integrity of data provenance from GitHub, which returns identical messages in the issue API and pull request API. Inclusion of the tool ensures both a natural key from the source, and the preservation of provenance. - -Use select distinct on `issue_msg_ref_src_comment_id` to ensure only one of the two messages is analyzed when performing text analysis. '; - -update "augur_operations"."augur_settings" set value = 63 where setting = 'augur_data_version'; - - -COMMIT; - diff --git a/schema/generate/62-schema_update_64.sql b/schema/generate/62-schema_update_64.sql deleted file mode 100644 index fb0d1ae1a4..0000000000 --- a/schema/generate/62-schema_update_64.sql +++ /dev/null @@ -1,9 +0,0 @@ -BEGIN; -ALTER TABLE "augur_data"."pull_request_reviews" ADD CONSTRAINT "sourcepr-review-id" UNIQUE ("pr_review_src_id", "tool_source"); - -COMMENT ON CONSTRAINT "sourcepr-review-id" ON "augur_data"."pull_request_reviews" IS 'Natural Key from Source, plus tool source to account for different platforms like GitHub and gitlab. '; -update "augur_operations"."augur_settings" set value = 64 where setting = 'augur_data_version'; - - -COMMIT; - diff --git a/schema/generate/63-schema_update_65.sql b/schema/generate/63-schema_update_65.sql deleted file mode 100644 index 9a706175d6..0000000000 --- a/schema/generate/63-schema_update_65.sql +++ /dev/null @@ -1,13 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."pull_request_message_ref" ADD CONSTRAINT "pr-comment-nk" UNIQUE ("pr_message_ref_src_comment_id", "tool_source"); - -ALTER TABLE "augur_data"."pull_request_review_message_ref" ADD CONSTRAINT "pr-review-nk" UNIQUE ("pr_review_msg_src_id", "tool_source"); - -DROP TABLE IF EXISTS "augur_data"."_dev1_repo_deps_scorecard"; - -update "augur_operations"."augur_settings" set value = 65 where setting = 'augur_data_version'; - - -COMMIT; - diff --git a/schema/generate/64-schema_update_66.sql b/schema/generate/64-schema_update_66.sql deleted file mode 100644 index 7aaa29f545..0000000000 --- a/schema/generate/64-schema_update_66.sql +++ /dev/null @@ -1,15 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."issues" ALTER COLUMN "issue_title" TYPE varchar COLLATE "pg_catalog"."default"; - -ALTER TABLE "augur_data"."issues" ALTER COLUMN "issue_body" TYPE varchar COLLATE "pg_catalog"."default" USING "issue_body"::varchar; - -ALTER TABLE "augur_data"."message" ALTER COLUMN "msg_text" TYPE varchar COLLATE "pg_catalog"."default" USING "msg_text"::varchar; - -ALTER TABLE "augur_data"."message" ALTER COLUMN "msg_header" TYPE varchar COLLATE "pg_catalog"."default"; - -update "augur_operations"."augur_settings" set value = 66 where setting = 'augur_data_version'; - - -COMMIT; - diff --git a/schema/generate/65-schema_update_67.sql b/schema/generate/65-schema_update_67.sql deleted file mode 100644 index 48edd73e1c..0000000000 --- a/schema/generate/65-schema_update_67.sql +++ /dev/null @@ -1,23 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."pull_request_reviewers" ADD COLUMN "repo_id" int8; - -ALTER TABLE "augur_data"."pull_request_reviews" DROP CONSTRAINT "fk_pull_request_reviews_pull_requests_1"; - -ALTER TABLE "augur_data"."pull_request_reviews" DROP CONSTRAINT "fk_pull_request_reviews_contributors_1"; - -ALTER TABLE "augur_data"."pull_request_reviews" ADD COLUMN "repo_id" int8; - -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 RESTRICT 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 RESTRICT ON UPDATE CASCADE; - -ALTER TABLE "augur_data"."pull_request_reviews" ADD CONSTRAINT "fk_repo_review" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE RESTRICT ON UPDATE CASCADE; - -ALTER TABLE "augur_data"."issue_message_ref" ADD CONSTRAINT "fk_repo_id_fk1" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE RESTRICT ON UPDATE CASCADE; - -update "augur_operations"."augur_settings" set value = 67 where setting = 'augur_data_version'; - - -COMMIT; - diff --git a/schema/generate/66-schema_update_68.sql b/schema/generate/66-schema_update_68.sql deleted file mode 100644 index be30461ae4..0000000000 --- a/schema/generate/66-schema_update_68.sql +++ /dev/null @@ -1,35 +0,0 @@ -BEGIN; --- ---------------------------- --- Table structure for contributors_aliases --- ---------------------------- -DROP TABLE IF EXISTS "augur_data"."contributors_aliases"; -CREATE TABLE "augur_data"."contributors_aliases" ( - "cntrb_alias_id" serial8, - "cntrb_id" int8 NOT NULL, - "canonical_email" varchar COLLATE "pg_catalog"."default" NOT NULL, - "alias_email" varchar COLLATE "pg_catalog"."default" NOT NULL, - "cntrb_active" int2 NOT NULL DEFAULT 1, - "cntrb_last_modified" 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 -) -; -ALTER TABLE "augur_data"."contributors_aliases" OWNER TO "augur"; -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. '; - --- ---------------------------- --- Primary Key structure for table contributors_aliases --- ---------------------------- -ALTER TABLE "augur_data"."contributors_aliases" ADD CONSTRAINT "contributors_aliases_pkey" PRIMARY KEY ("cntrb_alias_id"); - --- ---------------------------- --- Foreign Keys structure for table contributors_aliases --- ---------------------------- -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 DEFERRABLE INITIALLY DEFERRED; - - -update "augur_operations"."augur_settings" set value = 68 where setting = 'augur_data_version'; - -COMMIT; diff --git a/schema/generate/67-schema_update_69.sql b/schema/generate/67-schema_update_69.sql deleted file mode 100644 index 3aa944d783..0000000000 --- a/schema/generate/67-schema_update_69.sql +++ /dev/null @@ -1,25 +0,0 @@ -BEGIN; - -DROP TABLE IF EXISTS "augur_data"."unresolved_commit_emails"; -CREATE TABLE "augur_data"."unresolved_commit_emails" ( - "email_unresolved_id" serial8, - "email" varchar COLLATE "pg_catalog"."default" NOT NULL, - "name" 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, - PRIMARY KEY ("email_unresolved_id"), - UNIQUE ("email") -) -; - -update "augur_operations"."augur_settings" set value = 69 where setting = 'augur_data_version'; - -COMMIT; - -BEGIN; - -ALTER TABLE "augur_data"."contributors_aliases" ADD CONSTRAINT "only-email-once" UNIQUE ("alias_email", "canonical_email") DEFERRABLE INITIALLY DEFERRED; - -COMMIT; diff --git a/schema/generate/68-schema_update_70.sql b/schema/generate/68-schema_update_70.sql deleted file mode 100644 index 292272f7d6..0000000000 --- a/schema/generate/68-schema_update_70.sql +++ /dev/null @@ -1,9 +0,0 @@ -BEGIN; - -INSERT INTO "augur_data"."contributors" ("cntrb_id", "cntrb_login", "cntrb_email", "cntrb_company", "cntrb_created_at", "cntrb_type", "cntrb_fake", "cntrb_deleted", "cntrb_long", "cntrb_lat", "cntrb_country_code", "cntrb_state", "cntrb_city", "cntrb_location", "cntrb_canonical", "gh_user_id", "gh_login", "gh_url", "gh_html_url", "gh_node_id", "gh_avatar_url", "gh_gravatar_id", "gh_followers_url", "gh_following_url", "gh_gists_url", "gh_starred_url", "gh_subscriptions_url", "gh_organizations_url", "gh_repos_url", "gh_events_url", "gh_received_events_url", "gh_type", "gh_site_admin", "tool_source", "tool_version", "data_source", "data_collection_date", "cntrb_full_name", "cntrb_last_used", "gl_id", "gl_full_name", "gl_username", "gl_state", "gl_avatar_url", "gl_web_url") VALUES (277245, 'ghost', NULL, NULL, '2008-05-13 06:14:25', NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, 'Nothing to see here, move along.', NULL, 10137, 'ghost', 'https://api.github.com/users/ghost', 'https://github.com/ghost', 'MDQ6VXNlcjEwMTM3', 'https://avatars.githubusercontent.com/u/10137?v=4', '', 'https://api.github.com/users/ghost/followers', 'https://api.github.com/users/ghost/following{/other_user}', 'https://api.github.com/users/ghost/gists{/gist_id}', 'https://api.github.com/users/ghost/starred{/owner}{/repo}', 'https://api.github.com/users/ghost/subscriptions', 'https://api.github.com/users/ghost/orgs', 'https://api.github.com/users/ghost/repos', 'https://api.github.com/users/ghost/events{/privacy}', 'https://api.github.com/users/ghost/received_events', 'User', 'false', 'GitHub API Worker', '1.0.0', 'GitHub API', '2021-09-18 15:46:29', 'Deleted user', '2018-04-10 12:22:33-05', NULL, NULL, NULL, NULL, NULL, NULL); - - -update "augur_operations"."augur_settings" set value = 70 where setting = 'augur_data_version'; - - -COMMIT; diff --git a/schema/generate/69-schema_update_71.sql b/schema/generate/69-schema_update_71.sql deleted file mode 100644 index 109dd589b8..0000000000 --- a/schema/generate/69-schema_update_71.sql +++ /dev/null @@ -1,13 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."message" ADD COLUMN "repo_id" int8; - - -ALTER TABLE "augur_data"."message" - ADD CONSTRAINT "fk_message_repoid" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE CASCADE ON UPDATE CASCADE DEFERRABLE INITIALLY DEFERRED; - - -update "augur_operations"."augur_settings" set value = 71 where setting = 'augur_data_version'; - - -COMMIT; \ No newline at end of file diff --git a/schema/generate/70-schema_update_72.sql b/schema/generate/70-schema_update_72.sql deleted file mode 100644 index c9ded17e17..0000000000 --- a/schema/generate/70-schema_update_72.sql +++ /dev/null @@ -1,18 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."pull_request_events" - ADD COLUMN "platform_id" int8 DEFAULT 25150, - ADD COLUMN "pr_platform_event_id" int8, - ADD COLUMN "repo_id" int8, - ADD CONSTRAINT "fkpr_platform" FOREIGN KEY ("platform_id") REFERENCES "augur_data"."platform" ("pltfrm_id") ON DELETE RESTRICT ON UPDATE RESTRICT DEFERRABLE INITIALLY DEFERRED, - ADD CONSTRAINT "fkprevent_repo_id" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE RESTRICT ON UPDATE RESTRICT DEFERRABLE INITIALLY DEFERRED, - ADD CONSTRAINT "unique-pr-event-id" UNIQUE ("pr_platform_event_id", "platform_id"); - -ALTER TABLE "augur_data"."pull_request_labels" - ADD CONSTRAINT "unique-pr-src-label-id" UNIQUE ("pr_src_id"); - - -update "augur_operations"."augur_settings" set value = 72 where setting = 'augur_data_version'; - - -COMMIT; \ No newline at end of file diff --git a/schema/generate/71-schema_update_73.sql b/schema/generate/71-schema_update_73.sql deleted file mode 100644 index 48bc0643bb..0000000000 --- a/schema/generate/71-schema_update_73.sql +++ /dev/null @@ -1,11 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."pull_request_reviews" - ADD COLUMN "platform_id" int8 DEFAULT 25150, - ADD CONSTRAINT "fk-review-platform" FOREIGN KEY ("platform_id") REFERENCES "augur_data"."platform" ("pltfrm_id") ON DELETE RESTRICT ON UPDATE CASCADE DEFERRABLE INITIALLY DEFERRED; - - -update "augur_operations"."augur_settings" set value = 73 where setting = 'augur_data_version'; - - -COMMIT; \ No newline at end of file diff --git a/schema/generate/72-schema_update_74.sql b/schema/generate/72-schema_update_74.sql deleted file mode 100644 index e113b038aa..0000000000 --- a/schema/generate/72-schema_update_74.sql +++ /dev/null @@ -1,14 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."contributors" - DROP CONSTRAINT "GH-UNIQUE-B", - ADD CONSTRAINT "GH-UNIQUE-B" UNIQUE ("gh_user_id", "gh_login") DEFERRABLE INITIALLY DEFERRED; - -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. -Github now allows a user to change their login name, but their user id remains the same in this case. So, the natural key is the combination of id and login, but there should never be repeated logins. '; - - -update "augur_operations"."augur_settings" set value = 74 where setting = 'augur_data_version'; - - -COMMIT; \ No newline at end of file diff --git a/schema/generate/73-schema_update_75.sql b/schema/generate/73-schema_update_75.sql deleted file mode 100644 index 4c758304f2..0000000000 --- a/schema/generate/73-schema_update_75.sql +++ /dev/null @@ -1,8 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."contributors" ADD CONSTRAINT "GL-cntrb-LOGIN-UNIQUE" UNIQUE ("cntrb_login"); - -update "augur_operations"."augur_settings" set value = 75 where setting = 'augur_data_version'; - - -COMMIT; \ No newline at end of file diff --git a/schema/generate/74-schema_update_76.sql b/schema/generate/74-schema_update_76.sql deleted file mode 100644 index 8e852139f8..0000000000 --- a/schema/generate/74-schema_update_76.sql +++ /dev/null @@ -1,19 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."contributors" - DROP CONSTRAINT IF EXISTS "GH-UNIQUE-B"; - -ALTER TABLE "augur_data"."commits" - DROP CONSTRAINT IF EXISTS "fk_commits_contributors_1", - DROP CONSTRAINT IF EXISTS "fk_commits_contributors_2", - DROP CONSTRAINT IF EXISTS "fk_commits_repo_1", - ADD COLUMN "cmt_author_platform_username" varchar, - ADD CONSTRAINT "fk_commits_contributors_3" FOREIGN KEY ("cmt_author_platform_username") REFERENCES "augur_data"."contributors" ("cntrb_login") ON DELETE CASCADE ON UPDATE CASCADE, - ADD CONSTRAINT "fk_commits_contributors_4" FOREIGN KEY ("cmt_author_platform_username") REFERENCES "augur_data"."contributors" ("cntrb_login") ON DELETE CASCADE ON UPDATE CASCADE, - ADD CONSTRAINT "fk_commits_repo_2" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE RESTRICT ON UPDATE CASCADE; - - -update "augur_operations"."augur_settings" set value = 76 where setting = 'augur_data_version'; - - -COMMIT; \ No newline at end of file diff --git a/schema/generate/75-schema_update_77.sql b/schema/generate/75-schema_update_77.sql deleted file mode 100644 index a810bdf127..0000000000 --- a/schema/generate/75-schema_update_77.sql +++ /dev/null @@ -1,85 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."commit_comment_ref" - DROP CONSTRAINT "fk_commit_comment_ref_commits_1", - DROP CONSTRAINT "fk_commit_comment_ref_message_1", - DROP CONSTRAINT "commitcomment", - ADD COLUMN "repo_id" int8, - ADD CONSTRAINT "fk_commit_comment_ref_commits_1" FOREIGN KEY ("cmt_id") REFERENCES "augur_data"."commits" ("cmt_id") ON DELETE RESTRICT ON UPDATE CASCADE, - ADD CONSTRAINT "fk_commit_comment_ref_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id") ON DELETE RESTRICT ON UPDATE CASCADE, - ADD CONSTRAINT "commitcomment" UNIQUE ("cmt_comment_src_id"); - - -COMMENT ON TABLE "augur_data"."contributor_affiliations" IS 'This table exists outside of relations with other tables. The purpose is to provide a dynamic, owner maintained (and augur augmented) list of affiliations. This table is processed in affiliation information in the DM_ tables generated when Augur is finished counting commits using the Facade Worker. '; - -COMMENT ON TABLE "augur_data"."discourse_insights" IS 'This table is populated by the “Discourse_Analysis_Worker”. It examines sequential discourse, using computational linguistic methods, to draw statistical inferences regarding the discourse in a particular comment thread. '; - -DROP TABLE -IF - EXISTS contributors_history; - -COMMENT ON TABLE "augur_data"."contributors_aliases" IS 'Every open source user may have more than one email used to make contributions over time. Augur selects the first email it encounters for a user as its “canonical_email”. - -The canonical_email is also added to the contributors_aliases table, with the canonical_email and alias_email being identical. Using this strategy, an email search will only need to join the alias table for basic email information, and can then more easily map the canonical email from each alias row to the same, more detailed information in the contributors table for a user. '; - --- issue events repo id and foreign key updates - -ALTER TABLE "augur_data"."issue_events" - DROP CONSTRAINT "fk_issue_events_contributors_1", - DROP CONSTRAINT "fk_issue_events_issues_1", - ADD COLUMN "repo_id" int8, - ADD CONSTRAINT "fk_issue_events_contributors_1" FOREIGN KEY ("cntrb_id") REFERENCES "augur_data"."contributors" ("cntrb_id") ON DELETE RESTRICT ON UPDATE CASCADE, - ADD CONSTRAINT "fk_issue_events_issues_1" FOREIGN KEY ("issue_id") REFERENCES "augur_data"."issues" ("issue_id") ON DELETE RESTRICT ON UPDATE CASCADE, - ADD CONSTRAINT "fk_issue_events_repo" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE RESTRICT ON UPDATE CASCADE; - --- issue labels repo id and foreign key - -ALTER TABLE "augur_data"."issue_labels" - ADD COLUMN "repo_id" int8, - ADD CONSTRAINT "fk_issue_labels_repo_id" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE RESTRICT ON UPDATE CASCADE; - --- issue assignee repo id and foreign key - -ALTER TABLE "augur_data"."issue_assignees" - ADD COLUMN "repo_id" int8, - ADD CONSTRAINT "fk_issue_assignee_repo_id" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE RESTRICT ON UPDATE CASCADE; - - --- pr assignee repo id and foreign key - -ALTER TABLE "augur_data"."pull_request_assignees" - ADD COLUMN "repo_id" int8, - ADD CONSTRAINT "fk_pull_request_assignees_repo_id" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE RESTRICT ON UPDATE CASCADE DEFERRABLE INITIALLY DEFERRED; - - --- pr commits repo id and foreign key - -ALTER TABLE "augur_data"."pull_request_commits" - ADD COLUMN "repo_id" int8, - ADD CONSTRAINT "fk_pull_request_commits_repo_id" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE RESTRICT ON UPDATE CASCADE; - --- pr files repo id and foreign key - -ALTER TABLE "augur_data"."pull_request_files" - ADD COLUMN "repo_id" int8, - ADD CONSTRAINT "fk_pull_request_files_repo_id" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE RESTRICT ON UPDATE CASCADE DEFERRABLE INITIALLY DEFERRED; - --- pr labels repo id and foreign key - -ALTER TABLE "augur_data"."pull_request_labels" - ADD COLUMN "repo_id" int8, - ADD CONSTRAINT "fk_pull_request_labels_repo" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE RESTRICT ON UPDATE CASCADE; - --- pr meta repo id and foreign key - -ALTER TABLE "augur_data"."pull_request_meta" - ADD COLUMN "repo_id" int8, - ADD CONSTRAINT "fk_pull_request_repo_meta_repo_id" FOREIGN KEY ("repo_id") REFERENCES "augur_data"."repo" ("repo_id") ON DELETE RESTRICT ON UPDATE CASCADE DEFERRABLE INITIALLY DEFERRED; - - - - -update "augur_operations"."augur_settings" set value = 77 where setting = 'augur_data_version'; - - -COMMIT; \ No newline at end of file diff --git a/schema/generate/76-schema_update_78.sql b/schema/generate/76-schema_update_78.sql deleted file mode 100644 index ded476abbd..0000000000 --- a/schema/generate/76-schema_update_78.sql +++ /dev/null @@ -1,31 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."pull_request_labels" - DROP CONSTRAINT "unique-pr-src-label-id", - ADD CONSTRAINT "unique-pr-src-label-id" UNIQUE ("pr_src_id", "pull_request_id"); - -ALTER TABLE "augur_data"."issue_labels" - ADD CONSTRAINT "unique_issue_label" UNIQUE ("label_src_id", "issue_id"); - - -ALTER TABLE "augur_data"."issue_events" - ADD CONSTRAINT "unique_event_id_key" UNIQUE ("issue_id", "issue_event_src_id"); - -COMMENT ON CONSTRAINT "unique_event_id_key" ON "augur_data"."issue_events" IS 'Natural key for issue events. '; - -ALTER TABLE "augur_data"."pull_request_reviewers" - ADD COLUMN "pr_source_id" int8; - -ALTER TABLE "augur_data"."pull_request_reviewers" - ADD CONSTRAINT "unique_pr_src_reviewer_key" UNIQUE ("pr_source_id", "pr_reviewer_src_id") DEFERRABLE INITIALLY DEFERRED; - -COMMENT ON COLUMN "augur_data"."pull_request_reviewers"."pr_reviewer_src_id" IS 'The platform ID for the pull/merge request reviewer. Used as part of the natural key, along with pr_source_id in this table. '; - -COMMENT ON COLUMN "augur_data"."pull_request_reviewers"."pr_source_id" IS 'The platform ID for the pull/merge request. Used as part of the natural key, along with pr_reviewer_src_id in this table. '; - - - -update "augur_operations"."augur_settings" set value = 78 where setting = 'augur_data_version'; - - -COMMIT; \ No newline at end of file diff --git a/schema/generate/77-schema_update_79.sql b/schema/generate/77-schema_update_79.sql deleted file mode 100644 index dc1985a574..0000000000 --- a/schema/generate/77-schema_update_79.sql +++ /dev/null @@ -1,10 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."message" - DROP CONSTRAINT "REPOGROUPLISTER", - DROP CONSTRAINT "platformer"; - -update "augur_operations"."augur_settings" set value = 79 where setting = 'augur_data_version'; - - -COMMIT; \ No newline at end of file diff --git a/schema/generate/78-schema_update_80.sql b/schema/generate/78-schema_update_80.sql deleted file mode 100644 index 2b866a827a..0000000000 --- a/schema/generate/78-schema_update_80.sql +++ /dev/null @@ -1,6 +0,0 @@ -BEGIN; - -update "augur_operations"."augur_settings" set value = 80 where setting = 'augur_data_version'; - - -COMMIT; \ No newline at end of file diff --git a/schema/generate/90-schema_update_92.sql b/schema/generate/90-schema_update_92.sql index 8ff15ee329..8da89d0a34 100644 --- a/schema/generate/90-schema_update_92.sql +++ b/schema/generate/90-schema_update_92.sql @@ -2,6 +2,7 @@ BEGIN; ALTER TABLE "augur_data"."issue_events" ADD COLUMN IF NOT EXISTS "platform_id" int8, + DROP CONSTRAINT IF EXISTS "fk_issue_event_platform_ide", ADD CONSTRAINT "fk_issue_event_platform_ide" FOREIGN KEY ("platform_id") REFERENCES "augur_data"."platform" ("pltfrm_id") ON DELETE RESTRICT ON UPDATE CASCADE; diff --git a/schema/generate/99-schema_update_101.sql b/schema/generate/99-schema_update_101.sql new file mode 100644 index 0000000000..4da5804bf5 --- /dev/null +++ b/schema/generate/99-schema_update_101.sql @@ -0,0 +1,531 @@ +BEGIN; +drop materialized view IF EXISTS "augur_data"."explorer_new_contributors"; +CREATE MATERIALIZED VIEW "augur_data"."explorer_new_contributors" +AS +Select repo_id, cntrb_id, created_at, month, year, rank from +( + SELECT * FROM ( + SELECT ID AS + cntrb_id, + A.created_at AS created_at, + date_part('month', A.created_at::DATE) AS month, + date_part('year', A.created_at::DATE) AS year, + A.repo_id, + repo_name, + full_name, + login, + ACTION, + rank() OVER ( + PARTITION BY id + ORDER BY A.created_at ASC + ) + FROM + ( + ( + SELECT + canonical_id AS ID, + created_at AS created_at, + repo_id, + 'issue_opened' AS ACTION, + contributors.cntrb_full_name AS full_name, + contributors.cntrb_login AS login + FROM + augur_data.issues + LEFT OUTER JOIN augur_data.contributors ON contributors.cntrb_id = issues.reporter_id + LEFT OUTER JOIN ( + SELECT DISTINCT ON ( cntrb_canonical ) cntrb_full_name, + cntrb_canonical AS canonical_email, + data_collection_date, + cntrb_id AS canonical_id + FROM augur_data.contributors + WHERE cntrb_canonical = cntrb_email ORDER BY cntrb_canonical + ) canonical_full_names ON canonical_full_names.canonical_email =contributors.cntrb_canonical + WHERE + /**repo_id in (30347, 33226) + AND **/ pull_request IS NULL + GROUP BY + canonical_id, + repo_id, + issues.created_at, + contributors.cntrb_full_name, + contributors.cntrb_login + ) UNION ALL + ( + SELECT + canonical_id AS ID, + TO_TIMESTAMP( cmt_author_date, 'YYYY-MM-DD' ) AS created_at, + repo_id, + 'commit' AS ACTION, + contributors.cntrb_full_name AS full_name, + contributors.cntrb_login AS login + FROM + augur_data.commits + LEFT OUTER JOIN augur_data.contributors ON cntrb_email = cmt_author_email + LEFT OUTER JOIN ( + SELECT DISTINCT ON ( cntrb_canonical ) cntrb_full_name, + cntrb_canonical AS canonical_email, + data_collection_date, cntrb_id AS canonical_id + FROM augur_data.contributors + WHERE cntrb_canonical = cntrb_email ORDER BY cntrb_canonical + ) canonical_full_names ON canonical_full_names.canonical_email =contributors.cntrb_canonical + /** WHERE + repo_id in (30347, 33226) **/ + GROUP BY + repo_id, + canonical_email, + canonical_id, + commits.cmt_author_date, + contributors.cntrb_full_name, + contributors.cntrb_login + ) UNION ALL + ( + SELECT + message.cntrb_id AS ID, + created_at AS created_at, + commits.repo_id, + 'commit_comment' AS ACTION, + contributors.cntrb_full_name AS full_name, + contributors.cntrb_login AS login + + FROM + augur_data.commit_comment_ref, + augur_data.commits, + augur_data.message + LEFT OUTER JOIN augur_data.contributors ON contributors.cntrb_id = message.cntrb_id + LEFT OUTER JOIN ( + SELECT DISTINCT ON ( cntrb_canonical ) cntrb_full_name, + cntrb_canonical AS canonical_email, + data_collection_date, cntrb_id AS canonical_id + FROM augur_data.contributors + WHERE cntrb_canonical = cntrb_email ORDER BY cntrb_canonical + ) canonical_full_names ON canonical_full_names.canonical_email =contributors.cntrb_canonical + WHERE + commits.cmt_id = commit_comment_ref.cmt_id + /**AND commits.repo_id in (30347, 33226)**/ + AND commit_comment_ref.msg_id = message.msg_id + + GROUP BY + ID, + commits.repo_id, + commit_comment_ref.created_at, + contributors.cntrb_full_name, + contributors.cntrb_login + ) UNION ALL + ( + SELECT + issue_events.cntrb_id AS ID, + issue_events.created_at AS created_at, + issues.repo_id, + 'issue_closed' AS ACTION, + contributors.cntrb_full_name AS full_name, + contributors.cntrb_login AS login + FROM + augur_data.issues, + augur_data.issue_events + LEFT OUTER JOIN augur_data.contributors ON contributors.cntrb_id = issue_events.cntrb_id + LEFT OUTER JOIN ( + SELECT DISTINCT ON ( cntrb_canonical ) cntrb_full_name, + cntrb_canonical AS canonical_email, + data_collection_date, + cntrb_id AS canonical_id + FROM augur_data.contributors + WHERE cntrb_canonical = cntrb_email ORDER BY cntrb_canonical + ) canonical_full_names ON canonical_full_names.canonical_email =contributors.cntrb_canonical + WHERE + /** issues.repo_id in (30347, 33226) + AND **/ issues.issue_id = issue_events.issue_id + AND issues.pull_request IS NULL + AND issue_events.cntrb_id IS NOT NULL + AND ACTION = 'closed' + GROUP BY + issue_events.cntrb_id, + issues.repo_id, + issue_events.created_at, + contributors.cntrb_full_name, + contributors.cntrb_login + ) UNION ALL + ( + SELECT + pr_augur_contributor_id AS ID, + pr_created_at AS created_at, + pull_requests.repo_id, + 'open_pull_request' AS ACTION, + contributors.cntrb_full_name AS full_name, + contributors.cntrb_login AS login + FROM + augur_data.pull_requests + LEFT OUTER JOIN augur_data.contributors ON pull_requests.pr_augur_contributor_id = contributors.cntrb_id + LEFT OUTER JOIN ( + SELECT DISTINCT ON ( cntrb_canonical ) cntrb_full_name, + cntrb_canonical AS canonical_email, + data_collection_date, + cntrb_id AS canonical_id + FROM augur_data.contributors + WHERE cntrb_canonical = cntrb_email ORDER BY cntrb_canonical + ) canonical_full_names ON canonical_full_names.canonical_email =contributors.cntrb_canonical + /*WHERE + pull_requests.repo_id in (30347, 33226) **/ + GROUP BY + pull_requests.pr_augur_contributor_id, + pull_requests.repo_id, + pull_requests.pr_created_at, + contributors.cntrb_full_name, + contributors.cntrb_login + ) UNION ALL + ( + SELECT + message.cntrb_id AS ID, + msg_timestamp AS created_at, + pull_requests.repo_id as repo_id, + 'pull_request_comment' AS ACTION, + contributors.cntrb_full_name AS full_name, + contributors.cntrb_login AS login + FROM + augur_data.pull_requests, + augur_data.pull_request_message_ref, + augur_data.message + LEFT OUTER JOIN augur_data.contributors ON contributors.cntrb_id = message.cntrb_id + LEFT OUTER JOIN ( + SELECT DISTINCT ON ( cntrb_canonical ) cntrb_full_name, + cntrb_canonical AS canonical_email, + data_collection_date, + cntrb_id AS canonical_id + FROM augur_data.contributors + WHERE cntrb_canonical = cntrb_email ORDER BY cntrb_canonical + ) canonical_full_names ON canonical_full_names.canonical_email =contributors.cntrb_canonical + WHERE + /**pull_requests.repo_id in (30347, 33226) + AND **/ pull_request_message_ref.pull_request_id = pull_requests.pull_request_id + AND pull_request_message_ref.msg_id = message.msg_id + GROUP BY + message.cntrb_id, + pull_requests.repo_id, + message.msg_timestamp, + contributors.cntrb_full_name, + contributors.cntrb_login + ) UNION ALL + ( + SELECT + issues.reporter_id AS ID, + msg_timestamp AS created_at, + issues.repo_id as repo_id, + 'issue_comment' AS ACTION, + contributors.cntrb_full_name AS full_name, + contributors.cntrb_login AS login + FROM + augur_data.issues, + augur_data.issue_message_ref, + augur_data.message + LEFT OUTER JOIN augur_data.contributors ON contributors.cntrb_id = message.cntrb_id + LEFT OUTER JOIN ( + SELECT DISTINCT ON ( cntrb_canonical ) cntrb_full_name, + cntrb_canonical AS canonical_email, + data_collection_date, + cntrb_id AS canonical_id + FROM augur_data.contributors + WHERE cntrb_canonical = cntrb_email ORDER BY cntrb_canonical + ) canonical_full_names ON canonical_full_names.canonical_email =contributors.cntrb_canonical + WHERE + /** issues.repo_id in (30347, 33226) + AND **/ issue_message_ref.msg_id = message.msg_id + AND issues.issue_id = issue_message_ref.issue_id + AND issues.pull_request_id = NULL + GROUP BY + issues.reporter_id, + issues.repo_id, + message.msg_timestamp, + contributors.cntrb_full_name, + contributors.cntrb_login + ) + ) A, + augur_data.repo + WHERE + ID IS NOT NULL + AND A.repo_id = augur_data.repo.repo_id + GROUP BY + A.ID, + A.repo_id, + A.ACTION, + A.created_at, + repo.repo_name, + A.full_name, + A.login + ORDER BY + cntrb_id + ) b + WHERE RANK IN (1,2,3,4,5,6,7) + ) x ; + +ALTER MATERIALIZED VIEW "augur_data"."explorer_new_contributors" OWNER TO "augur"; + +drop materialized view IF EXISTS "augur_data"."augur_new_contributors"; +CREATE MATERIALIZED VIEW "augur_data"."augur_new_contributors" +AS +Select cntrb_id, created_at, month, year, repo_id, repo_name, full_name, login, rank from +( + SELECT * FROM ( + SELECT ID AS + cntrb_id, + A.created_at AS created_at, + date_part('month', A.created_at::DATE) AS month, + date_part('year', A.created_at::DATE) AS year, + A.repo_id, + repo_name, + full_name, + login, + ACTION, + rank() OVER ( + PARTITION BY id + ORDER BY A.created_at ASC + ) + FROM + ( + ( + SELECT + canonical_id AS ID, + created_at AS created_at, + repo_id, + 'issue_opened' AS ACTION, + contributors.cntrb_full_name AS full_name, + contributors.cntrb_login AS login + FROM + augur_data.issues + LEFT OUTER JOIN augur_data.contributors ON contributors.cntrb_id = issues.reporter_id + LEFT OUTER JOIN ( + SELECT DISTINCT ON ( cntrb_canonical ) cntrb_full_name, + cntrb_canonical AS canonical_email, + data_collection_date, + cntrb_id AS canonical_id + FROM augur_data.contributors + WHERE cntrb_canonical = cntrb_email ORDER BY cntrb_canonical + ) canonical_full_names ON canonical_full_names.canonical_email =contributors.cntrb_canonical + WHERE + /**repo_id in (30347, 33226) + AND **/ pull_request IS NULL + GROUP BY + canonical_id, + repo_id, + issues.created_at, + contributors.cntrb_full_name, + contributors.cntrb_login + ) UNION ALL + ( + SELECT + canonical_id AS ID, + TO_TIMESTAMP( cmt_author_date, 'YYYY-MM-DD' ) AS created_at, + repo_id, + 'commit' AS ACTION, + contributors.cntrb_full_name AS full_name, + contributors.cntrb_login AS login + FROM + augur_data.commits + LEFT OUTER JOIN augur_data.contributors ON cntrb_email = cmt_author_email + LEFT OUTER JOIN ( + SELECT DISTINCT ON ( cntrb_canonical ) cntrb_full_name, + cntrb_canonical AS canonical_email, + data_collection_date, cntrb_id AS canonical_id + FROM augur_data.contributors + WHERE cntrb_canonical = cntrb_email ORDER BY cntrb_canonical + ) canonical_full_names ON canonical_full_names.canonical_email =contributors.cntrb_canonical + /** WHERE + repo_id in (30347, 33226) **/ + GROUP BY + repo_id, + canonical_email, + canonical_id, + commits.cmt_author_date, + contributors.cntrb_full_name, + contributors.cntrb_login + ) UNION ALL + ( + SELECT + message.cntrb_id AS ID, + created_at AS created_at, + commits.repo_id, + 'commit_comment' AS ACTION, + contributors.cntrb_full_name AS full_name, + contributors.cntrb_login AS login + + FROM + augur_data.commit_comment_ref, + augur_data.commits, + augur_data.message + LEFT OUTER JOIN augur_data.contributors ON contributors.cntrb_id = message.cntrb_id + LEFT OUTER JOIN ( + SELECT DISTINCT ON ( cntrb_canonical ) cntrb_full_name, + cntrb_canonical AS canonical_email, + data_collection_date, cntrb_id AS canonical_id + FROM augur_data.contributors + WHERE cntrb_canonical = cntrb_email ORDER BY cntrb_canonical + ) canonical_full_names ON canonical_full_names.canonical_email =contributors.cntrb_canonical + WHERE + commits.cmt_id = commit_comment_ref.cmt_id + /**AND commits.repo_id in (30347, 33226)**/ + AND commit_comment_ref.msg_id = message.msg_id + + GROUP BY + ID, + commits.repo_id, + commit_comment_ref.created_at, + contributors.cntrb_full_name, + contributors.cntrb_login + ) UNION ALL + ( + SELECT + issue_events.cntrb_id AS ID, + issue_events.created_at AS created_at, + issues.repo_id, + 'issue_closed' AS ACTION, + contributors.cntrb_full_name AS full_name, + contributors.cntrb_login AS login + FROM + augur_data.issues, + augur_data.issue_events + LEFT OUTER JOIN augur_data.contributors ON contributors.cntrb_id = issue_events.cntrb_id + LEFT OUTER JOIN ( + SELECT DISTINCT ON ( cntrb_canonical ) cntrb_full_name, + cntrb_canonical AS canonical_email, + data_collection_date, + cntrb_id AS canonical_id + FROM augur_data.contributors + WHERE cntrb_canonical = cntrb_email ORDER BY cntrb_canonical + ) canonical_full_names ON canonical_full_names.canonical_email =contributors.cntrb_canonical + WHERE + /** issues.repo_id in (30347, 33226) + AND **/ issues.issue_id = issue_events.issue_id + AND issues.pull_request IS NULL + AND issue_events.cntrb_id IS NOT NULL + AND ACTION = 'closed' + GROUP BY + issue_events.cntrb_id, + issues.repo_id, + issue_events.created_at, + contributors.cntrb_full_name, + contributors.cntrb_login + ) UNION ALL + ( + SELECT + pr_augur_contributor_id AS ID, + pr_created_at AS created_at, + pull_requests.repo_id, + 'open_pull_request' AS ACTION, + contributors.cntrb_full_name AS full_name, + contributors.cntrb_login AS login + FROM + augur_data.pull_requests + LEFT OUTER JOIN augur_data.contributors ON pull_requests.pr_augur_contributor_id = contributors.cntrb_id + LEFT OUTER JOIN ( + SELECT DISTINCT ON ( cntrb_canonical ) cntrb_full_name, + cntrb_canonical AS canonical_email, + data_collection_date, + cntrb_id AS canonical_id + FROM augur_data.contributors + WHERE cntrb_canonical = cntrb_email ORDER BY cntrb_canonical + ) canonical_full_names ON canonical_full_names.canonical_email =contributors.cntrb_canonical + /*WHERE + pull_requests.repo_id in (30347, 33226) **/ + GROUP BY + pull_requests.pr_augur_contributor_id, + pull_requests.repo_id, + pull_requests.pr_created_at, + contributors.cntrb_full_name, + contributors.cntrb_login + ) UNION ALL + ( + SELECT + message.cntrb_id AS ID, + msg_timestamp AS created_at, + pull_requests.repo_id as repo_id, + 'pull_request_comment' AS ACTION, + contributors.cntrb_full_name AS full_name, + contributors.cntrb_login AS login + FROM + augur_data.pull_requests, + augur_data.pull_request_message_ref, + augur_data.message + LEFT OUTER JOIN augur_data.contributors ON contributors.cntrb_id = message.cntrb_id + LEFT OUTER JOIN ( + SELECT DISTINCT ON ( cntrb_canonical ) cntrb_full_name, + cntrb_canonical AS canonical_email, + data_collection_date, + cntrb_id AS canonical_id + FROM augur_data.contributors + WHERE cntrb_canonical = cntrb_email ORDER BY cntrb_canonical + ) canonical_full_names ON canonical_full_names.canonical_email =contributors.cntrb_canonical + WHERE + /**pull_requests.repo_id in (30347, 33226) + AND **/ pull_request_message_ref.pull_request_id = pull_requests.pull_request_id + AND pull_request_message_ref.msg_id = message.msg_id + GROUP BY + message.cntrb_id, + pull_requests.repo_id, + message.msg_timestamp, + contributors.cntrb_full_name, + contributors.cntrb_login + ) UNION ALL + ( + SELECT + issues.reporter_id AS ID, + msg_timestamp AS created_at, + issues.repo_id as repo_id, + 'issue_comment' AS ACTION, + contributors.cntrb_full_name AS full_name, + contributors.cntrb_login AS login + FROM + augur_data.issues, + augur_data.issue_message_ref, + augur_data.message + LEFT OUTER JOIN augur_data.contributors ON contributors.cntrb_id = message.cntrb_id + LEFT OUTER JOIN ( + SELECT DISTINCT ON ( cntrb_canonical ) cntrb_full_name, + cntrb_canonical AS canonical_email, + data_collection_date, + cntrb_id AS canonical_id + FROM augur_data.contributors + WHERE cntrb_canonical = cntrb_email ORDER BY cntrb_canonical + ) canonical_full_names ON canonical_full_names.canonical_email =contributors.cntrb_canonical + WHERE + /** issues.repo_id in (30347, 33226) + AND **/ issue_message_ref.msg_id = message.msg_id + AND issues.issue_id = issue_message_ref.issue_id + AND issues.pull_request_id = NULL + GROUP BY + issues.reporter_id, + issues.repo_id, + message.msg_timestamp, + contributors.cntrb_full_name, + contributors.cntrb_login + ) + ) A, + augur_data.repo + WHERE + ID IS NOT NULL + AND A.repo_id = augur_data.repo.repo_id + GROUP BY + A.ID, + A.repo_id, + A.ACTION, + A.created_at, + repo.repo_name, + A.full_name, + A.login + ORDER BY + cntrb_id + ) b + WHERE RANK IN (1,2,3,4,5,6,7) + ) x ; + +ALTER MATERIALIZED VIEW "augur_data"."augur_new_contributors" OWNER TO "augur"; + +REFRESH MATERIALIZED VIEW "augur_data"."augur_new_contributors"; +REFRESH MATERIALIZED VIEW "augur_data"."explorer_new_contributors"; + +GRANT SELECT ON "augur_data"."augur_new_contributors" to PUBLIC; +GRANT SELECT ON "augur_data"."explorer_new_contributors" to PUBLIC; + + +-- +update "augur_operations"."augur_settings" set value = 101 + where setting = 'augur_data_version'; + +COMMIT; \ No newline at end of file diff --git a/schema/generate/dev/__66-schema_update_68.sql b/schema/generate/dev/__66-schema_update_68.sql deleted file mode 100644 index a5a1a6ac4d..0000000000 --- a/schema/generate/dev/__66-schema_update_68.sql +++ /dev/null @@ -1,13 +0,0 @@ -BEGIN; - -ALTER TABLE "augur_data"."pull_request_review_message_ref" - DROP CONSTRAINT "fk_pull_request_review_message_ref_message_1", - DROP CONSTRAINT "fk_pull_request_review_message_ref_pull_request_reviews_1", - ADD COLUMN "pull_request_id" int8, - ADD CONSTRAINT "fk_pull_request_review_message_ref_message_1" FOREIGN KEY ("msg_id") REFERENCES "augur_data"."message" ("msg_id") ON DELETE RESTRICT ON UPDATE CASCADE, - 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 RESTRICT ON UPDATE CASCADE, - ADD CONSTRAINT "fk_pull_request_for_reviews_1" FOREIGN KEY ("pull_request_id") REFERENCES "augur_data"."pull_requests" ("pull_request_id") ON DELETE RESTRICT ON UPDATE CASCADE; - - update "augur_operations"."augur_settings" set value = 68 where setting = 'augur_data_version'; - -COMMIT; \ No newline at end of file diff --git a/schema/queries/collection-status-queries.md b/schema/queries/collection-status-queries.md new file mode 100644 index 0000000000..3fd8aab052 --- /dev/null +++ b/schema/queries/collection-status-queries.md @@ -0,0 +1,213 @@ +# Data collection completeness queries. + +```sql +SELECT + * +FROM + ( + ( SELECT repo_id, issues_enabled, COUNT ( * ) AS meta_count + FROM repo_info + WHERE issues_count != 0 + GROUP BY repo_id, issues_enabled + ORDER BY repo_id ) zz + LEFT OUTER JOIN ( + SELECT A.repo_id, + A.repo_name, + b.issues_count, + d.repo_id AS issue_repo_id, + e.last_collected, + f.most_recently_collected_issue, + COUNT ( * ) AS issue_count, + ( + b.issues_count - COUNT ( * )) AS issues_missing, + ABS ( + CAST (( COUNT ( * )) +1 AS DOUBLE PRECISION ) / CAST ( b.issues_count + 1 AS DOUBLE PRECISION )) AS ratio_abs, + ( + CAST (( COUNT ( * )) +1 AS DOUBLE PRECISION ) / CAST ( b.issues_count + 1 AS DOUBLE PRECISION )) AS ratio_issues + FROM + augur_data.repo A, + augur_data.issues d, + augur_data.repo_info b, + ( SELECT repo_id, MAX ( data_collection_date ) AS last_collected FROM augur_data.repo_info GROUP BY repo_id ORDER BY repo_id ) e, + ( SELECT repo_id, MAX ( data_collection_date ) AS most_recently_collected_issue FROM issues GROUP BY repo_id ORDER BY repo_id ) f + WHERE + A.repo_id = b.repo_id + AND lower(A.repo_git) like '%github.com%' + AND A.repo_id = d.repo_id + AND b.repo_id = d.repo_id + AND e.repo_id = A.repo_id + AND b.data_collection_date = e.last_collected + -- AND d.issue_id IS NULL + AND f.repo_id = A.repo_id + and d.pull_request is NULL + and b.issues_count is not NULL + GROUP BY + A.repo_id, + d.repo_id, + b.issues_count, + e.last_collected, + f.most_recently_collected_issue + ORDER BY ratio_abs + ) yy ON zz.repo_id = yy.repo_id + ) D + where d.issues_enabled = 'true'; +-- order by most_recently_collected_issue desc + +SELECT + * +FROM + ( + SELECT + repo_info.repo_id, + repo.repo_name, + MAX ( pull_request_count ) AS max_pr_count, + COUNT ( * ) AS meta_count + FROM + repo_info, + repo -- WHERE issues_enabled = 'true' + WHERE + pull_request_count >= 1 + AND repo.repo_id = repo_info.repo_id + GROUP BY + repo_info.repo_id, + repo.repo_name + ORDER BY + repo_info.repo_id, + repo.repo_name + ) yy + LEFT OUTER JOIN ( + SELECT A + .repo_id, + A.repo_name, + a.repo_git, + b.pull_request_count, + d.repo_id AS pull_request_repo_id, + e.last_collected, + f.last_pr_collected, + COUNT ( * ) AS pull_requests_collected, + ( b.pull_request_count - COUNT ( * ) ) AS pull_requests_missing, + ABS ( CAST ( ( COUNT ( * ) ) + 1 AS DOUBLE PRECISION ) / CAST ( b.pull_request_count + 1 AS DOUBLE PRECISION ) ) AS ratio_abs, + ( CAST ( ( COUNT ( * ) ) + 1 AS DOUBLE PRECISION ) / CAST ( b.pull_request_count + 1 AS DOUBLE PRECISION ) ) AS ratio_issues + FROM + augur_data.repo A, + augur_data.pull_requests d, + augur_data.repo_info b, + ( SELECT repo_id, MAX ( data_collection_date ) AS last_collected FROM augur_data.repo_info GROUP BY repo_id ORDER BY repo_id ) e, + ( SELECT repo_id, MAX ( data_collection_date ) AS last_pr_collected FROM augur_data.pull_requests GROUP BY repo_id ORDER BY repo_id ) f + WHERE + A.repo_id = b.repo_id + AND LOWER ( A.repo_git ) LIKE'%github.com%' + AND A.repo_id = d.repo_id + AND b.repo_id = d.repo_id + AND e.repo_id = A.repo_id + AND b.data_collection_date = e.last_collected + AND f.repo_id = A.repo_id -- AND d.pull_request_id IS NULL + GROUP BY + A.repo_id, + d.repo_id, + b.pull_request_count, + e.last_collected, + f.last_pr_collected + ORDER BY + A.repo_id DESC + ) zz ON yy.repo_id = zz.repo_id +ORDER BY + ratio_abs; + --last_pr_collected desc; + --pull_requests_missing desc; + + +SELECT + * +FROM + ( + SELECT + repo_info.repo_id, + repo.repo_name, + MAX ( pull_request_count ) AS max_pr_count, + COUNT ( * ) AS meta_count + FROM + repo_info, + repo -- WHERE issues_enabled = 'true' + WHERE + pull_request_count >= 1 + AND repo.repo_id = repo_info.repo_id + GROUP BY + repo_info.repo_id, + repo.repo_name + ORDER BY + repo_info.repo_id, + repo.repo_name + ) yy + LEFT OUTER JOIN ( + SELECT A + .repo_id, + A.repo_name, + a.repo_git, + b.pull_request_count, + d.repo_id AS pull_request_repo_id, + e.last_collected, + f.last_pr_collected, + COUNT ( * ) AS pull_requests_collected, + ( b.pull_request_count - COUNT ( * ) ) AS pull_requests_missing, + ABS ( CAST ( ( COUNT ( * ) ) + 1 AS DOUBLE PRECISION ) / CAST ( b.pull_request_count + 1 AS DOUBLE PRECISION ) ) AS ratio_abs, + ( CAST ( ( COUNT ( * ) ) + 1 AS DOUBLE PRECISION ) / CAST ( b.pull_request_count + 1 AS DOUBLE PRECISION ) ) AS ratio_issues + FROM + augur_data.repo A, + augur_data.pull_requests d, + augur_data.repo_info b, + ( SELECT repo_id, MAX ( data_collection_date ) AS last_collected FROM augur_data.repo_info GROUP BY repo_id ORDER BY repo_id ) e, + ( SELECT repo_id, MAX ( data_collection_date ) AS last_pr_collected FROM augur_data.pull_requests GROUP BY repo_id ORDER BY repo_id ) f + WHERE + A.repo_id = b.repo_id + AND LOWER ( A.repo_git ) LIKE'%github.com%' + AND A.repo_id = d.repo_id + AND b.repo_id = d.repo_id + AND e.repo_id = A.repo_id + AND b.data_collection_date = e.last_collected + AND f.repo_id = A.repo_id -- AND d.pull_request_id IS NULL + GROUP BY + A.repo_id, + d.repo_id, + b.pull_request_count, + e.last_collected, + f.last_pr_collected + ORDER BY + A.repo_id DESC + ) zz ON yy.repo_id = zz.repo_id +ORDER BY + ratio_abs; +-- last_pr_collected desc; + --pull_requests_missing desc; + + +select 'pull requets collected' as data_point, count(*) as count from pull_requests +union +select data_point, sum(COUNT) +from +( +SELECT + data_point, + SUM ( COUNT ) AS COUNT +FROM + ( + SELECT distinct on (repo_id) repo_id, 'pull request metadata count' as data_point, max(latest_collection_date) as maxdate, + SUM ( pull_request_count ) AS COUNT + FROM + ( SELECT distinct on (repo_id) repo_id, MAX( data_collection_date) as latest_collection_date, pull_request_count FROM augur_data.repo_info GROUP BY repo_id, pull_request_count ORDER BY repo_id ) A + GROUP BY + data_point, repo_id + order by repo_id + ) b group by data_point, repo_id, count, maxdate ) d group by data_point ; + + +-- Some repositories will have no pull requests. If there are no pull requests, and no issues, the repositories cannot be clustered or evaluated by the machine learning workers, which look at the message text following each issue and each PR. +select repo_id, pull_request_count, max(data_collection_date) from repo_info where pull_request_count=0 +group by repo_id, pull_request_count +order by repo_id, pull_request_count asc; + +select count(*) from message; + +select tool_source, count(*) as counter from message +group by tool_source; +``` \ No newline at end of file diff --git a/schema/queries/ecosystem-comparison-queries.md b/schema/queries/ecosystem-comparison-queries.md index b182b1652a..dd661d8718 100644 --- a/schema/queries/ecosystem-comparison-queries.md +++ b/schema/queries/ecosystem-comparison-queries.md @@ -26,6 +26,6 @@ order by average_sentiment; select repo.repo_id, count(*) from issues, contributors, repo where contributors.gh_user_id=issues.gh_user_id and repo.repo_id = issues.repo_id -group by repo.repo_id +group by repo.repo_id; ``` \ No newline at end of file diff --git a/schema/queries/machine-learning-queries.md b/schema/queries/machine-learning-queries.md index 31a178acda..d71378adde 100644 --- a/schema/queries/machine-learning-queries.md +++ b/schema/queries/machine-learning-queries.md @@ -2,39 +2,58 @@ ```sql -- clustering +/** +This query shows the most recent cluster id for repos in a cluster. The field is `cluster_content`. +Also shown are the total number of messages per repo. +Also shown are the total number of issue events per repo +Also shown are the total number of pull request events per repo. + +The field `msg_cluster_id` is not meaningful. Its necessary to ensure only the most recent cluster +for each repository is shown. + +The use of out joins will ensure that all repositories have a record. There are a significant +number of cases in open source software where there are too few messages against a repository +for them to be part of a cluster in a collection of repositories. + +**/ + SELECT - repo_cluster_messages.repo_id, - repo.repo_name, - repo_cluster_messages.cluster_content, - MAX ( repo_cluster_messages.data_collection_date ) -FROM - repo_cluster_messages, - repo -WHERE - repo_cluster_messages.repo_id = repo.repo_id -GROUP BY - repo_cluster_messages.repo_id, - repo.repo_name, - repo_cluster_messages.cluster_content - --- discourse_insights -SELECT - discourse_act, - COUNT ( * ) AS discourse_type_count, + repo.repo_name, + repo.repo_git, repo.repo_id, - repo_name + A.cluster_content, + d.message_count, + e.issue_event_count, + f.pull_request_event_count, + MAX ( msg_cluster_id ) AS msg_cluster_id FROM - discourse_insights, - repo, - issue_message_ref -WHERE - repo.repo_id = issue_message_ref.repo_id - AND discourse_insights.msg_id = issue_message_ref.msg_id + repo + LEFT OUTER JOIN ( + SELECT + repo.repo_id, + repo_cluster_messages.cluster_content, + repo_cluster_messages.msg_cluster_id, + repo.repo_name + FROM + ( SELECT MAX ( msg_cluster_id ) AS msg_cluster_id, repo_id, MAX ( data_collection_date ) AS data_collection_date FROM repo_cluster_messages GROUP BY repo_id ) + C LEFT OUTER JOIN repo ON repo.repo_id = C.repo_id + LEFT OUTER JOIN repo_cluster_messages ON C.msg_cluster_id = repo_cluster_messages.msg_cluster_id + ) A ON repo.repo_id = A.repo_id + AND A.msg_cluster_id = msg_cluster_id + LEFT OUTER JOIN ( SELECT repo_id, COUNT ( * ) AS message_count FROM message WHERE repo_id IS NOT NULL GROUP BY repo_id ) d ON repo.repo_id = d.repo_id + LEFT OUTER JOIN ( SELECT repo_id, COUNT ( * ) AS issue_event_count FROM issue_events GROUP BY repo_id ) e ON repo.repo_id = e.repo_id + LEFT OUTER JOIN ( SELECT repo_id, COUNT ( * ) AS pull_request_event_count FROM pull_request_events GROUP BY repo_id ) f ON repo.repo_id = f.repo_id GROUP BY - discourse_act, - repo.repo_id -ORDER BY - repo_name; + repo.repo_name, + repo.repo_git, + A.cluster_content, + repo.repo_id, + d.message_count, + e.issue_event_count, + f.pull_request_event_count; +``` + +```sql -- message_analysis SELECT diff --git a/workers/deps_libyear_worker/deps_libyear_worker.py b/workers/deps_libyear_worker/deps_libyear_worker.py index 40c3643df2..2d3b40de05 100644 --- a/workers/deps_libyear_worker/deps_libyear_worker.py +++ b/workers/deps_libyear_worker/deps_libyear_worker.py @@ -100,4 +100,4 @@ def generate_deps_libyear_data(self, repo_id, path): result = self.db.execute(self.repo_deps_libyear_table.insert().values(repo_deps)) self.logger.info(f"Added dep: {result.inserted_primary_key}") except Exception as e: - self.print_traceback("Deps_libyear_worker: generating and inserting data", e, True) + self.print_traceback("Deps_libyear_worker: Error generating and inserting data", e, True) diff --git a/workers/deps_worker/deps_worker.py b/workers/deps_worker/deps_worker.py index 81b6876fed..4437a8d465 100644 --- a/workers/deps_worker/deps_worker.py +++ b/workers/deps_worker/deps_worker.py @@ -76,6 +76,8 @@ def ossf_scorecard_model(self, entry_info, repo_id): WHERE repo_id = :repo_id """) + self.logger.debug(f'Repo Path SQL is {repo_path_sql}') + scorecard_repo_path = self.db.execute(repo_path_sql, {'repo_id': repo_id}).fetchone()[1] # absolute_repo_path = self.config['repo_directory'] + relative_repo_path ## TODO: Flesh out generate_scorecard diff --git a/workers/message_insights_worker/setup.py b/workers/message_insights_worker/setup.py index 54ddf439ee..b92fb2c7c5 100644 --- a/workers/message_insights_worker/setup.py +++ b/workers/message_insights_worker/setup.py @@ -35,7 +35,6 @@ def read(filename): 'numpy==1.21.0', 'nltk==3.6.6', 'pandas==1.3.5', - 'gensim==3.8.3', 'emoji==1.2.0', 'Keras<2.9.0rc0', 'Keras-Preprocessing==1.1.2', diff --git a/workers/pull_request_analysis_worker/setup.py b/workers/pull_request_analysis_worker/setup.py index f221359a84..cbc282be8a 100644 --- a/workers/pull_request_analysis_worker/setup.py +++ b/workers/pull_request_analysis_worker/setup.py @@ -31,7 +31,6 @@ def read(filename): 'nltk==3.6.6', 'numpy==1.21.0', 'pandas==1.3.5', - 'gensim==3.8.3', 'emoji==1.2.0', 'joblib==1.0.1', 'xgboost==1.4.2', diff --git a/workers/pull_request_worker/pull_request_worker.py b/workers/pull_request_worker/pull_request_worker.py index 9839e557ea..92f6618ede 100644 --- a/workers/pull_request_worker/pull_request_worker.py +++ b/workers/pull_request_worker/pull_request_worker.py @@ -555,7 +555,9 @@ def pk_source_increment_insert(inc_source_prs, action_map): { 'repo_id': self.repo_id, 'pr_url': pr['url'], - 'pr_src_id': int(str(pr['id']).encode(encoding='UTF-8').decode(encoding='UTF-8')),#1-22-2022 inconsistent casting; sometimes int, sometimes float in bulk_insert + 'pr_src_id': int(str(pr['id']).encode(encoding='UTF-8').decode(encoding='UTF-8').rsplit(".")[0]), + #1-22-2022 inconsistent casting; sometimes int, sometimes float in bulk_insert + #4-26-2022 String processing error for float on int in rare cases: add rsplit. 'pr_src_node_id': pr['node_id'], ## 9/20/2021 - This was null. No idea why. 'pr_html_url': pr['html_url'], 'pr_diff_url': pr['diff_url'],