# GitHub

GitHub is a platform and cloud-based service for software development and version control using Git. You can use GitHub as a data source when landing or replicating data.

GitHub integration replicates data using the [GitHub REST API v3](https://developer.github.com/v3/).

See the [Schema](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#Schema) section for a list of objects available for replication.

## Preparing for authentication

To access your data, you need to authenticate the connection with your account credentials.

Information noteMake sure that the account you use has read access to the tables you want to fetch.

To create a Personal Access Token, follow the steps outlined in the [GitHub documentation](https://docs.github.com/en/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens).

You can choose to generate either a fine-grained token or a classic token:

* Fine-grained token: When creating a fine-grained token, make sure to select the specific repository you want to replicate data from.
* Classic token: For classic tokens, select at least the repo scope to allow replication and set an appropriate expiration date.

Your token will be displayed only once, immediately after you generate it. Copy and paste it into a secured file.

## Creating the connection

For more information, see [Connecting to SaaS applications](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/Landing/connecting-web-applications.htm).

1. Fill in the required connection properties.

2. Provide a name for the connection in Connection name.

3. Select Open connection metadata to define metadata for the connection when it has been created.

4. Click Create.

Connection settings

| Setting | Description |
| --- | --- |
| Data gateway | Select a Data Movement gateway if required by your use case.<br><br>Information note<br><br>This field is not available with the Qlik Talend Cloud Starter subscription, as it does not support Data Movement gateway. If you have another subscription tier and do not want to use Data Movement gateway, select None.<br><br>For information on the benefits of Data Movement gateway and use cases that require it, see [Qlik Data Gateway - Data Movement](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/replication-gateway.htm). |
| Start Date | Enter the date, in the format `MM/DD/YYYY`, from which the data must be replicated from your source to your target. |
| Github Repository Name | Github repository name including organization name. For example: qlikorganization/the-repo-name. |
| Access token | Access token. |

## Schema

Information note

Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.

Depending on your destination, table and column names may not appear as they are outlined below.

### assignees

The `assignees` table contains info about the available assignees for issues in the repositories specified for the integration.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub documentation](https://developer.github.com/v3/issues/assignees/)<br><br>[GitHub API method](https://docs.github.com/en/rest/reference/issues#list-assignees "Opens in new tab: GitHub API method") |

assignees table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **avatar\_url**<br><br><br>STRING |
| **email**<br><br><br>STRING |
| **events\_url**<br><br><br>STRING |
| **followers\_url**<br><br><br>STRING |
| **following\_url**<br><br><br>STRING |
| **gists\_url**<br><br><br>STRING |
| **gravatar\_id**<br><br><br>STRING |
| **html\_url**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **login**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **node\_id**<br><br><br>STRING |
| **organizations\_url**<br><br><br>STRING |
| **received\_events\_url**<br><br><br>STRING |
| **repos\_url**<br><br><br>STRING |
| **site\_admin**<br><br><br>BOOLEAN |
| **starred\_at**<br><br><br>STRING |
| **starred\_url**<br><br><br>STRING |
| **subscriptions\_url**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **url**<br><br><br>STRING |

### collaborators

The `collaborators` table contains info about the users who contribute to the repositories specified for the integration.

For organization-owned repositories, this will include outside collaborators, organization owners, organization members that are direct collaborators, who have access through team memberships, or have access through default organization permissions.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub API method](https://docs.github.com/en/rest/reference/repos#list-repository-collaborators "Opens in new tab: GitHub API method") |

collaborators table foreign keys

| Join collaborators with | on |
| --- | --- |
| [pull_requests](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#pull-requests) | ```<br>collaborators.id = pull_requests.user.id<br>``` |
| [reviews](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#reviews) | ```<br>collaborators.id = reviews.user.id<br>``` |

collaborators table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **avatar\_url**<br><br><br>STRING |
| **email**<br><br><br>STRING |
| **events\_url**<br><br><br>STRING |
| **followers\_url**<br><br><br>STRING |
| **following\_url**<br><br><br>STRING |
| **gists\_url**<br><br><br>STRING |
| **gravatar\_id**<br><br><br>STRING |
| **html\_url**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **login**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **node\_id**<br><br><br>STRING |
| **organizations\_url**<br><br><br>STRING |
| **permissions**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>admin: BOOLEAN</li><li>maintain: BOOLEAN</li><li>pull: BOOLEAN</li><li>push: BOOLEAN</li><li>triage: BOOLEAN</li></ul> |
| **received\_events\_url**<br><br><br>STRING |
| **repos\_url**<br><br><br>STRING |
| **role\_name**<br><br><br>STRING |
| **site\_admin**<br><br><br>BOOLEAN |
| **starred\_url**<br><br><br>STRING |
| **subscriptions\_url**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **url**<br><br><br>STRING |

### comments

The `comments` table contains info about comments made on issues in the repositories specified for the integration.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub documentation](https://developer.github.com/v3/comments/)<br><br>[GitHub API method](https://docs.github.com/en/rest/reference/issues#list-issue-comments-for-a-repository "Opens in new tab: GitHub API method") |

comments table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **author\_association**<br><br><br>STRING |
| **body**<br><br><br>STRING |
| **body\_html**<br><br><br>STRING |
| **body\_text**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **home\_url**<br><br><br>STRING |
| **html\_url**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **issue\_url**<br><br><br>STRING |
| **node\_id**<br><br><br>STRING |
| **performed\_via\_github\_app**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>client_id: STRING</li><li>client_secret: STRING</li><li>created_at: DATE-TIME</li><li>description: STRING</li><li>events: ARRAY, which is also a nested data structure.</li><li>external_url: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>installations_count: INTEGER</li><li>name: STRING</li><li>node_id: STRING</li><li>owner: OBJECT, which is also a nested data structure.											<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>pem: STRING</li><li>permissions: OBJECT, which is also a nested data structure.											<ul><li>checks: STRING</li><li>contents: STRING</li><li>deployments: STRING</li><li>issues: STRING</li><li>metadata: STRING</li></ul></li><li>slug: STRING</li><li>updated_at: DATE-TIME</li><li>webhook_secret: STRING</li></ul> |
| **reactions**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>+1: INTEGER</li><li>-1: INTEGER</li><li>confused: INTEGER </li><li>eyes: INTEGER</li><li>heart: INTEGER</li><li>hooray: INTEGER</li><li>laugh: INTEGER</li><li>rocket: INTEGER</li><li>total_count: INTEGER</li><li>url: STRING</li></ul> |
| **updated\_at**<br><br><br>DATE-TIME |
| **url**<br><br><br>STRING |
| **user**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |

### commit\_comments

The `commit_comments` table contains info about the commit comments in the repositories specified for the integration.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Replication Key** | updated\_at |
| **Useful links** | [GitHub API method](https://docs.github.com/en/rest/reference/repos#list-commit-comments-for-a-repository "Opens in new tab: GitHub API method") |

commit\_comments table schema

| **author\_association**<br><br><br>STRING |
| --- |
| **body**<br><br><br>STRING |
| **commit\_id**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **html\_url**<br><br><br>STRING |
| **id**<br><br><br>NUMBER |
| **line**<br><br><br>NUMBER |
| **node\_id**<br><br><br>STRING |
| **path**<br><br><br>STRING |
| **position**<br><br><br>NUMBER |
| **reactions**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>+1: INTEGER</li><li>-1: INTEGER</li><li>confused: INTEGER </li><li>eyes: INTEGER</li><li>heart: INTEGER</li><li>hooray: INTEGER</li><li>laugh: INTEGER</li><li>rocket: INTEGER</li><li>total_count: INTEGER</li><li>url: STRING</li></ul> |
| **updated\_at**<br><br><br>DATE-TIME |
| **url**<br><br><br>STRING |
| **user**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |

### commits

The `commits` table contains info about repository commits in a project.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | sha |
| **Useful links** | GitHub documentation<br><br>[GitHub API method](https://docs.github.com/en/rest/reference/repos#list-commits "Opens in new tab: GitHub API method") |

commits table foreign keys

| Join commits with | on |
| --- | --- |
| [issue_events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#issue-events) | ```<br>commits.id = issue_events.commit_id<br>``` |
| [reviews](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#reviews) | ```<br>commits.id = reviews.commit_id<br>``` |
| [review_comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#review-comments) | ```<br>commits.id = review_comments.commit_id<br>```<br><br>```<br>commits.id = review_comments.original_commit_id<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#events) | ```<br>commits.sha = events.payload.commits.sha<br>``` |
| [pr_commits](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#pr-commits) | ```<br>commits.sha = pr_commits.sha<br>``` |

commits table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **author**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **comments\_url**<br><br><br>STRING |
| **commit**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>author: OBJECT, which is also a nested data structure.											<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>comment_count: INTEGER</li><li>committer: OBJECT, which is also a nested data structure.											<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>message: STRING</li><li>tree: OBJECT, which is also a nested data structure.											<ul><li>sha: STRING</li><li>url: STRING</li></ul></li><li>url: STRING</li></ul> |
| **committer**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **html\_url**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **node\_id**<br><br><br>STRING |
| **parents**<br><br><br>ARRAY<br><br>This is a nested data structure:<br><br><ul><li>html_url: STRING</li><li>sha: STRING</li><li>url: STRING</li></ul> |
| **pr\_id**<br><br><br>STRING |
| **pr\_number**<br><br><br>INTEGER |
| **sha**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **url**<br><br><br>STRING |

### events

The `events` table contains information about events in the repositories specified for the integration.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub documentation](https://developer.github.com/v3/activity/events/)<br><br>[GitHub API method](https://docs.github.com/en/rest/activity/events#list-repository-events "Opens in new tab: GitHub API method") |

events table foreign keys

| Join events with | on |
| --- | --- |
| [commits](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#commits) | ```<br>events.payload.commits.sha = commits.sha<br>``` |
| [pr_commits](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#pr-commits) | ```<br>events.payload.commits.sha = pr_commits.sha<br>``` |

events table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **actor**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>display_login: STRING</li><li>gravatar_id: STRING</li><li>id: STRING</li><li>login: STRING</li><li>url: STRING</li></ul> |
| **created\_at**<br><br><br>STRING |
| **distinct\_size**<br><br><br>NUMBER |
| **head**<br><br><br>STRING |
| **id**<br><br><br>NUMBER |
| **org**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>display_login: STRING</li><li>gravatar_id: STRING</li><li>id: STRING</li><li>login: STRING</li><li>url: STRING</li></ul> |
| **payload**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>action: STRING</li><li>before: STRING</li><li>comment: OBJECT, STRING, which is also a nested data structure.											<ul><li>author_association: STRING</li><li>body: STRING</li><li>body_html: STRING</li><li>body_text: STRING</li><li>created_at: DATE-TIME</li><li>html_url: STRING</li><li>id: INTEGER</li><li>issue_url: STRING</li><li>node_id: STRING</li><li>performed_via_github_app: OBJECT, which is also a nested data structure.													<ul><li>client_id: STRING</li><li>client_secret: STRING</li><li>created_at: DATE-TIME</li><li>description: STRING</li><li>events: ARRAY, which is also a nested data structure.</li><li>external_url: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>installations_count: INTEGER</li><li>name: STRING</li><li>node_id: STRING</li><li>owner: OBJECT, which is also a nested data structure.															<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>pem: STRING</li><li>permissions: OBJECT, which is also a nested data structure.															<ul><li>checks: STRING</li><li>contents: STRING</li><li>deployments: STRING</li><li>issues: STRING</li><li>metadata: STRING</li></ul></li><li>slug: STRING</li><li>updated_at: DATE-TIME</li><li>webhook_secret: STRING</li></ul></li><li>reactions: OBJECT, which is also a nested data structure.													<ul><li>+1: INTEGER</li><li>-1: INTEGER</li><li>confused: INTEGER </li><li>eyes: INTEGER</li><li>heart: INTEGER</li><li>hooray: INTEGER</li><li>laugh: INTEGER</li><li>rocket: INTEGER</li><li>total_count: INTEGER</li><li>url: STRING</li></ul></li><li>updated_at: DATE-TIME</li><li>url: STRING</li><li>user: OBJECT, which is also a nested data structure.													<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li></ul></li><li>commits: ARRAY, which is also a nested data structure.											<ul><li>author: OBJECT, which is also a nested data structure.													<ul><li>email: STRING</li><li>name: STRING</li></ul></li><li>distinct: BOOLEAN</li><li>message: STRING</li><li>sha: STRING</li><li>url: STRING</li></ul></li><li>description: STRING</li><li>issue: OBJECT, STRING, which is also a nested data structure.											<ul><li>body: STRING</li><li>comments_url: STRING</li><li>events_url: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>labels: OBJECT, which is also a nested data structure.													<ul><li>active_lock_reason: STRING</li><li>assignee: OBJECT, which is also a nested data structure.															<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>assignees: ARRAY, which is also a nested data structure.</li><li>author_association: STRING</li><li>body_html: STRING</li><li>body_text: STRING</li><li>closed_at: DATE-TIME</li><li>closed_by: OBJECT, which is also a nested data structure.															<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>comments: INTEGER</li><li>created_at: DATE-TIME</li><li>draft: BOOLEAN</li><li>items: OBJECT, which is also a nested data structure.															<ul><li>color: STRING</li><li>default: BOOLEAN</li><li>description: STRING</li><li>id: INTEGER</li><li>name: STRING</li><li>node_id: STRING</li><li>url: STRING</li></ul></li><li>locked: BOOLEAN</li><li>milestone: OBJECT, which is also a nested data structure.															<ul><li>closed_at: DATE-TIME</li><li>closed_issues: INTEGER</li><li>created_at: DATE-TIME</li><li>creator: OBJECT, which is also a nested data structure.																	<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>description: STRING</li><li>due_on: DATE-TIME</li><li>html_url: STRING</li><li>id: INTEGER</li><li>labels_url: STRING</li><li>node_id: STRING</li><li>number: INTEGER</li><li>open_issues: INTEGER</li><li>state: STRING</li><li>title: STRING</li><li>updated_at: DATE-TIME</li><li>url: STRING</li></ul></li><li>performed_via_github_app: OBJECT, which is also a nested data structure.															<ul><li>client_id: STRING</li><li>client_secret: STRING</li><li>created_at: DATE-TIME</li><li>description: STRING</li><li>events: ARRAY, which is also a nested data structure.</li><li>external_url: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>installations_count: INTEGER</li><li>name: STRING</li><li>node_id: STRING</li><li>owner: OBJECT, which is also a nested data structure.																	<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>pem: STRING</li><li>permissions: OBJECT, which is also a nested data structure.																	<ul><li>checks: STRING</li><li>contents: STRING</li><li>deployments: STRING</li><li>issues: STRING</li><li>metadata: STRING</li></ul></li><li>slug: STRING</li><li>updated_at: DATE-TIME</li><li>webhook_secret: STRING</li></ul></li><li>pull_request: OBJECT, which is also a nested data structure.															<ul><li>diff_url: STRING</li><li>html_url: STRING</li><li>merged_at: DATE-TIME</li><li>patch_url: STRING</li><li>url: STRING</li></ul></li><li>reactions: OBJECT, which is also a nested data structure.															<ul><li>+1: INTEGER</li><li>-1: INTEGER</li><li>confused: INTEGER </li><li>eyes: INTEGER</li><li>heart: INTEGER</li><li>hooray: INTEGER</li><li>laugh: INTEGER</li><li>rocket: INTEGER</li><li>total_count: INTEGER</li><li>url: STRING</li></ul></li><li>repository: OBJECT, which is also a nested data structure.</li><li>timeline_url: STRING</li><li>updated_at: DATE-TIME</li></ul></li><li>labels_url: STRING</li><li>node_id: STRING</li><li>number: INTEGER</li><li>repository_url: STRING</li><li>state: STRING</li><li>state_reason: STRING</li><li>title: STRING</li><li>url: STRING</li><li>user: OBJECT, which is also a nested data structure.													<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li></ul></li><li>master_branch: STRING</li><li>pages: ARRAY, which is also a nested data structure.											<ul><li>action: STRING</li><li>html_url: STRING</li><li>page_name: STRING</li><li>sha: STRING</li><li>summary: STRING</li><li>title: STRING</li></ul></li><li>pusher_type: STRING</li><li>ref: STRING</li><li>ref_type: STRING</li></ul> |
| **public**<br><br><br>BOOLEAN |
| **push\_id**<br><br><br>NUMBER |
| **ref**<br><br><br>STRING |
| **repo**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>id: NUMBER</li><li>name: STRING</li><li>url: STRING</li></ul> |
| **size**<br><br><br>NUMBER |
| **type**<br><br><br>STRING |

### issue\_events

The `issue_events` table contains info about issue events in the repositories specified for the integration.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub API method](https://docs.github.com/en/rest/reference/issues#list-issue-events-for-a-repository "Opens in new tab: GitHub API method") |

issue\_events table foreign keys

| Join issue\_events with | on |
| --- | --- |
| [commits](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#commits) | ```<br>issue_events.commit_id = commits.id<br>``` |
| [reviews](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#reviews) | ```<br>issue_events.commit_id = reviews.commit_id<br>``` |
| [review_comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#review-comments) | ```<br>issue_events.commit_id = review_comments.commit_id<br>```<br><br>```<br>issue_events.commit_id = review_comments.original_commit_id<br>``` |
| [issues](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#issues) | ```<br>issue_events.id = issues.id<br>``` |
| [pull_requests](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#pull-requests) | ```<br>issue_events.id = pull_requests.id<br>``` |

issue\_events table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **actor**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **assignee**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **assigner**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **author\_association**<br><br><br>STRING |
| **commit\_id**<br><br><br>STRING |
| **commit\_url**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **dismissed\_review**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>dismissal_commit_id: STRING</li><li>dismissal_message: STRING</li><li>review_id: INTEGER</li><li>state: STRING</li></ul> |
| **draft**<br><br><br>BOOLEAN |
| **event**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **issue**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>active_lock_reason: STRING</li><li>assignee: OBJECT, which is also a nested data structure.											<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>assignees: ARRAY, which is also a nested data structure.</li><li>author_association: STRING</li><li>body: STRING</li><li>closed_at: DATE-TIME</li><li>closed_by: OBJECT, which is also a nested data structure.											<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>comments: INTEGER</li><li>comments_url: STRING</li><li>created_at: DATE-TIME</li><li>events_url: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>labels: ARRAY, which is also a nested data structure.											<ul><li>color: STRING</li><li>default: BOOLEAN</li><li>description: STRING</li><li>id: INTEGER</li><li>name: STRING</li><li>node_id: STRING</li><li>url: STRING</li></ul></li><li>labels_url: STRING</li><li>locked: BOOLEAN</li><li>milestone: OBJECT, which is also a nested data structure.											<ul><li>closed_at: DATE-TIME</li><li>closed_issues: INTEGER</li><li>created_at: DATE-TIME</li><li>creator: OBJECT, which is also a nested data structure.													<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>description: STRING</li><li>due_on: DATE-TIME</li><li>html_url: STRING</li><li>id: INTEGER</li><li>labels_url: STRING</li><li>node_id: STRING</li><li>number: INTEGER</li><li>open_issues: INTEGER</li><li>state: STRING</li><li>title: STRING</li><li>updated_at: DATE-TIME</li><li>url: STRING</li></ul></li><li>node_id: STRING</li><li>number: INTEGER</li><li>performed_via_github_app: OBJECT, which is also a nested data structure.											<ul><li>client_id: STRING</li><li>client_secret: STRING</li><li>created_at: DATE-TIME</li><li>description: STRING</li><li>events: ARRAY, which is also a nested data structure.</li><li>external_url: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>installations_count: INTEGER</li><li>name: STRING</li><li>node_id: STRING</li><li>owner: OBJECT, which is also a nested data structure.													<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>pem: STRING</li><li>permissions: OBJECT, which is also a nested data structure.													<ul><li>checks: STRING</li><li>contents: STRING</li><li>deployments: STRING</li><li>issues: STRING</li><li>metadata: STRING</li></ul></li><li>slug: STRING</li><li>updated_at: DATE-TIME</li><li>webhook_secret: STRING</li></ul></li><li>pull_request: OBJECT, which is also a nested data structure.											<ul><li>diff_url: STRING</li><li>html_url: STRING</li><li>merged_at: DATE-TIME</li><li>patch_url: STRING</li><li>url: STRING</li></ul></li><li>reactions: OBJECT, which is also a nested data structure.											<ul><li>+1: INTEGER</li><li>-1: INTEGER</li><li>confused: INTEGER </li><li>eyes: INTEGER</li><li>heart: INTEGER</li><li>hooray: INTEGER</li><li>laugh: INTEGER</li><li>rocket: INTEGER</li><li>total_count: INTEGER</li><li>url: STRING</li></ul></li><li>repository: OBJECT, which is also a nested data structure.</li><li>repository_url: STRING</li><li>state: STRING</li><li>title: STRING</li><li>updated_at: DATE-TIME</li><li>url: STRING</li><li>user: OBJECT, which is also a nested data structure.											<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li></ul> |
| **label**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>color: STRING</li><li>name: STRING</li></ul> |
| **lock\_reason**<br><br><br>STRING |
| **milestone**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>title: STRING</li></ul> |
| **node\_id**<br><br><br>STRING |
| **performed\_via\_github\_app**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>client_id: STRING</li><li>client_secret: STRING</li><li>created_at: DATE-TIME</li><li>description: STRING</li><li>events: ARRAY, which is also a nested data structure.</li><li>external_url: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>installations_count: INTEGER</li><li>name: STRING</li><li>node_id: STRING</li><li>owner: OBJECT, which is also a nested data structure.											<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>pem: STRING</li><li>permissions: OBJECT, which is also a nested data structure.											<ul><li>checks: STRING</li><li>contents: STRING</li><li>deployments: STRING</li><li>issues: STRING</li><li>metadata: STRING</li></ul></li><li>slug: STRING</li><li>updated_at: DATE-TIME</li><li>webhook_secret: STRING</li></ul> |
| **project\_card**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>column_name: STRING</li><li>id: INTEGER</li><li>previous_column_name: STRING</li><li>project_id: INTEGER</li><li>project_url: STRING</li><li>url: STRING</li></ul> |
| **rename**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>from: STRING</li><li>to: STRING</li></ul> |
| **requested\_reviewer**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **requested\_team**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>description: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>members_url: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>parent: OBJECT, which is also a nested data structure.											<ul><li>description: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>ldap_dn: STRING</li><li>members_url: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>permission: STRING</li><li>privacy: STRING</li><li>repositories_url: STRING</li><li>slug: STRING</li><li>url: STRING</li></ul></li><li>permission: STRING</li><li>permissions: OBJECT, which is also a nested data structure.											<ul><li>admin: BOOLEAN</li><li>maintain: BOOLEAN</li><li>pull: BOOLEAN</li><li>push: BOOLEAN</li><li>triage: BOOLEAN</li></ul></li><li>privacy: STRING</li><li>repositories_url: STRING</li><li>slug: STRING</li><li>url: STRING</li></ul> |
| **review\_requester**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **url**<br><br><br>STRING |

### issue\_labels

The `issue_labels` table contains info about issue labels in the repositories specified for the integration.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub API method](https://docs.github.com/en/rest/reference/issues#list-labels-for-a-repository "Opens in new tab: GitHub API method") |

issue\_labels table foreign keys

| Join issue\_labels with | on |
| --- | --- |
| [issues](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#issues) | ```<br>issue_labels.id = issues.labels.id<br>``` |
| [pull_requests](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#pull-requests) | ```<br>issue_labels.id = pull_requests.labels.id<br>``` |

issue\_labels table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **color**<br><br><br>STRING |
| **default**<br><br><br>BOOLEAN |
| **description**<br><br><br>STRING |
| **id**<br><br><br>NUMBER |
| **name**<br><br><br>STRING |
| **node\_id**<br><br><br>STRING |
| **url**<br><br><br>STRING |

### issue\_milestones

The `issue_milestones` table contains info about issue milestones in the repositories specified for the integration.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub API method](https://docs.github.com/en/rest/reference/issues#list-milestones "Opens in new tab: GitHub API method") |

issue\_milestones table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **closed\_at**<br><br><br>DATE-TIME |
| **closed\_issues**<br><br><br>NUMBER |
| **created\_at**<br><br><br>DATE-TIME |
| **creator**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **description**<br><br><br>STRING |
| **due\_on**<br><br><br>DATE-TIME |
| **html\_url**<br><br><br>STRING |
| **id**<br><br><br>NUMBER |
| **labels\_url**<br><br><br>STRING |
| **node\_id**<br><br><br>STRING |
| **number**<br><br><br>NUMBER |
| **open\_issues**<br><br><br>NUMBER |
| **state**<br><br><br>STRING |
| **title**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **url**<br><br><br>STRING |

### issues

The `issues` table contains info about issues in the repositories specified for the integration.

#### Issues and pull requests

GitHub’s API considers every pull request an issue, but not every issue may be a pull request. Therefore, this table may contain both issues and pull requests.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub documentation](https://developer.github.com/v3/issues/)<br><br>[GitHub API method](https://docs.github.com/en/rest/reference/issues#list-repository-issues "Opens in new tab: GitHub API method") |

issues table foreign keys

| Join issues with | on |
| --- | --- |
| [issue_events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#issue-events) | ```<br>issues.id = issue_events.id<br>``` |
| [pull_requests](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#pull-requests) | ```<br>issues.id = pull_requests.id<br>```<br><br>```<br>issues.labels.id = pull_requests.labels.id<br>``` |
| [issue_labels](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#issue-labels) | ```<br>issues.labels.id = issue_labels.id<br>``` |
| [pr_commits](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#pr-commits) | ```<br>issues.id = pr_commits.pr_id<br>``` |

issues table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **active\_lock\_reason**<br><br><br>STRING |
| **assignee**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **assignees**<br><br><br>ARRAY<br><br>This is a nested data structure. |
| **author\_association**<br><br><br>STRING |
| **body**<br><br><br>STRING |
| **body\_html**<br><br><br>STRING |
| **body\_text**<br><br><br>STRING |
| **closed\_at**<br><br><br>DATE-TIME |
| **closed\_by**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **comments**<br><br><br>INTEGER |
| **comments\_url**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **draft**<br><br><br>BOOLEAN |
| **events\_url**<br><br><br>STRING |
| **html\_url**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **labels**<br><br><br>ARRAY<br><br>This is a nested data structure:<br><br><ul><li>color: STRING</li><li>default: BOOLEAN</li><li>description: STRING</li><li>id: INTEGER</li><li>name: STRING</li><li>node_id: STRING</li><li>url: STRING</li></ul> |
| **labels\_url**<br><br><br>STRING |
| **locked**<br><br><br>BOOLEAN |
| **milestone**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>closed_at: DATE-TIME</li><li>closed_issues: INTEGER</li><li>created_at: DATE-TIME</li><li>creator: OBJECT, which is also a nested data structure.											<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>description: STRING</li><li>due_on: DATE-TIME</li><li>html_url: STRING</li><li>id: INTEGER</li><li>labels_url: STRING</li><li>node_id: STRING</li><li>number: INTEGER</li><li>open_issues: INTEGER</li><li>state: STRING</li><li>title: STRING</li><li>updated_at: DATE-TIME</li><li>url: STRING</li></ul> |
| **node\_id**<br><br><br>STRING |
| **number**<br><br><br>INTEGER |
| **performed\_via\_github\_app**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>client_id: STRING</li><li>client_secret: STRING</li><li>created_at: DATE-TIME</li><li>description: STRING</li><li>events: ARRAY, which is also a nested data structure.</li><li>external_url: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>installations_count: INTEGER</li><li>name: STRING</li><li>node_id: STRING</li><li>owner: OBJECT, which is also a nested data structure.												<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>pem: STRING</li><li>permissions: OBJECT, which is also a nested data structure.													<ul><li>checks: STRING</li><li>contents: STRING</li><li>deployments: STRING</li><li>issues: STRING</li><li>metadata: STRING</li></ul></li><li>slug: STRING</li><li>updated_at: DATE-TIME</li><li>webhook_secret: STRING</li></ul> |
| **pull\_request**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>diff_url: STRING</li><li>html_url: STRING</li><li>merged_at: DATE-TIME</li><li>patch_url: STRING</li><li>url: STRING</li></ul> |
| **reactions**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>+1: INTEGER</li><li>-1: INTEGER</li><li>confused: INTEGER</li><li>eyes: INTEGER</li><li>heart: INTEGER</li><li>hooray: INTEGER</li><li>laugh: INTEGER</li><li>rocket: INTEGER</li><li>total_count: INTEGER</li><li>url: STRING</li></ul> |
| **repository\_url**<br><br><br>STRING |
| **state**<br><br><br>STRING |
| **state\_reason**<br><br><br>STRING |
| **timeline\_url**<br><br><br>STRING |
| **title**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **url**<br><br><br>STRING |
| **user**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |

### pr\_commits

The `pr_commits` table contains info about pull request commits and is a slight variation of the [`commits`](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#commits) table. This allows you to associate commits to pull requests that are squash merged.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | pr\_commits schema on GitHub<br><br>[GitHub API method](https://docs.github.com/en/rest/reference/pulls#list-commits-on-a-pull-request "Opens in new tab: GitHub API method") |

pr\_commits table foreign keys

| Join pr\_commits with | on |
| --- | --- |
| [issues](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#issues) | ```<br>pr_commits.pr_id = issues.id<br>``` |
| [pull_requests](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#pull-requests) | ```<br>pr_commits.pr_id = pull_requests.id<br>``` |
| [commits](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#commits) | ```<br>pr_commits.sha = commits.sha<br>``` |
| [events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#events) | ```<br>pr_commits.sha = events.payload.commits.sha<br>``` |

pr\_commits table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **author**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **comments\_url**<br><br><br>STRING |
| **commit**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>author: OBJECT, which is also a nested data structure.											<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>comment_count: INTEGER</li><li>committer: OBJECT, which is also a nested data structure.											<ul><li>date: DATE-TIME</li><li>email: STRING</li><li>login: STRING</li><li>name: STRING</li></ul></li><li>message: STRING</li><li>tree: OBJECT, which is also a nested data structure.											<ul><li>sha: STRING</li><li>url: STRING</li></ul></li><li>url: STRING</li><li>verification: OBJECT, which is also a nested data structure.											<ul><li>payload: STRING</li><li>reason: STRING</li><li>signature: STRING</li><li>verified: BOOLEAN</li></ul></li></ul> |
| **committer**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **html\_url**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **node\_id**<br><br><br>STRING |
| **parents**<br><br><br>ARRAY<br><br>This is a nested data structure:<br><br><ul><li>html_url: STRING</li><li>sha: STRING</li><li>url: STRING</li></ul> |
| **pr\_id**<br><br><br>STRING |
| **pr\_number**<br><br><br>INTEGER |
| **sha**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **url**<br><br><br>STRING |

### project\_cards

The `project_cards` table contains information about project cards in the repositories specified for the integration.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub documentation](https://docs.github.com/en/rest/reference/projects#cards)<br><br>[GitHub API method](https://docs.github.com/en/rest/reference/projects#list-project-cards "Opens in new tab: GitHub API method") |

project\_cards table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **archived**<br><br><br>BOOLEAN |
| **cards\_url**<br><br><br>STRING |
| **column\_name**<br><br><br>STRING |
| **column\_url**<br><br><br>STRING |
| **content\_url**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **creator**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **id**<br><br><br>NUMBER |
| **name**<br><br><br>STRING |
| **node\_id**<br><br><br>STRING |
| **note**<br><br><br>STRING |
| **project\_id**<br><br><br>STRING |
| **project\_url**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **url**<br><br><br>STRING |

### project\_columns

The `project_columns` table contains info about the columns of projects in the repositories specified for the integration.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub API method](https://docs.github.com/en/rest/reference/projects#list-project-columns "Opens in new tab: GitHub API method") |

project\_columns table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **cards\_url**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **id**<br><br><br>NUMBER |
| **name**<br><br><br>STRING |
| **node\_id**<br><br><br>STRING |
| **project\_url**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **url**<br><br><br>STRING |

### projects

The `projects` table contains info about projects in the repositories specified for the integration.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub API method](https://docs.github.com/en/rest/reference/projects#list-repository-projects "Opens in new tab: GitHub API method") |

projects table schema

| **body**<br><br><br>STRING |
| --- |
| **columns\_url**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **creator**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **html\_url**<br><br><br>STRING |
| **id**<br><br><br>NUMBER |
| **name**<br><br><br>STRING |
| **node\_id**<br><br><br>STRING |
| **number**<br><br><br>NUMBER |
| **organization\_permission**<br><br><br>STRING |
| **owner\_url**<br><br><br>STRING |
| **private**<br><br><br>BOOLEAN |
| **state**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **url**<br><br><br>STRING |

### pull\_requests

The `pull_requests` table contains info about pull requests made against the repositories specified for the integration.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub documentation](https://developer.github.com/v3/pulls/)<br><br>[GitHub API method](https://docs.github.com/en/rest/reference/pulls#list-pull-requests "Opens in new tab: GitHub API method") |

pull\_requests table foreign keys

| Join pull\_requests with | on |
| --- | --- |
| [collaborators](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#collaborators) | ```<br>pull_requests.user.id = collaborators.id<br>``` |
| [reviews](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#reviews) | ```<br>pull_requests.user.id = reviews.user.id<br>``` |
| [issues](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#issues) | ```<br>pull_requests.id = issues.id<br>```<br><br>```<br>pull_requests.labels.id = issues.labels.id<br>``` |
| [issue_events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#issue-events) | ```<br>pull_requests.id = issue_events.id<br>``` |
| [issue_labels](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#issue-labels) | ```<br>pull_requests.labels.id = issue_labels.id<br>``` |
| [pr_commits](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#pr-commits) | ```<br>pull_requests.id = pr_commits.pr_id<br>``` |

pull\_requests table schema

| **\_links**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>comments: OBJECT, which is also a nested data structure.											<ul><li>href: STRING</li></ul></li><li>commits: OBJECT, which is also a nested data structure.											<ul><li>href: STRING</li></ul></li><li>html: OBJECT, which is also a nested data structure.											<ul><li>href: STRING</li></ul></li><li>issue: OBJECT, which is also a nested data structure.											<ul><li>href: STRING</li></ul></li><li>review_comment: OBJECT, which is also a nested data structure.											<ul><li>href: STRING</li></ul></li><li>review_comments: OBJECT, which is also a nested data structure.											<ul><li>href: STRING</li></ul></li><li>self: OBJECT, which is also a nested data structure.											<ul><li>href: STRING</li></ul></li><li>statuses: OBJECT, which is also a nested data structure.											<ul><li>href: STRING</li></ul></li></ul> |
| --- |
| **\_sdc\_repository**<br><br><br>STRING |
| **active\_lock\_reason**<br><br><br>STRING |
| **assignee**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **assignees**<br><br><br>ARRAY<br><br>This is a nested data structure. |
| **author\_association**<br><br><br>STRING |
| **auto\_merge**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>commit_message: STRING</li><li>commit_title: STRING</li><li>enabled_by: OBJECT, which is also a nested data structure.											<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>merge_method: STRING</li></ul> |
| **base**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>label: STRING</li><li>ref: STRING</li><li>repo: OBJECT, which is also a nested data structure.</li><li>sha: STRING</li><li>user: OBJECT, which is also a nested data structure.											<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li></ul> |
| **body**<br><br><br>STRING |
| **closed\_at**<br><br><br>DATE-TIME |
| **comments\_url**<br><br><br>STRING |
| **commits\_url**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **diff\_url**<br><br><br>STRING |
| **draft**<br><br><br>BOOLEAN |
| **head**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>label: STRING</li><li>ref: STRING</li><li>repo: OBJECT, which is also a nested data structure.</li><li>sha: STRING</li><li>user: OBJECT, which is also a nested data structure.											<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li></ul> |
| **html\_url**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **issues\_url**<br><br><br>STRING |
| **labels**<br><br><br>ARRAY<br><br>This is a nested data structure:<br><br><ul><li>color: STRING</li><li>default: BOOLEAN</li><li>description: STRING</li><li>id: INTEGER</li><li>name: STRING</li><li>node_id: STRING</li><li>url: STRING</li></ul> |
| **locked**<br><br><br>BOOLEAN |
| **merge\_commit\_sha**<br><br><br>STRING |
| **merged\_at**<br><br><br>DATE-TIME |
| **milestone**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>closed_at: DATE-TIME</li><li>closed_issues: INTEGER</li><li>created_at: DATE-TIME</li><li>creator: OBJECT, which is also a nested data structure.											<ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul></li><li>description: STRING</li><li>due_on: DATE-TIME</li><li>html_url: STRING</li><li>id: INTEGER</li><li>labels_url: STRING</li><li>node_id: STRING</li><li>number: INTEGER</li><li>open_issues: INTEGER</li><li>state: STRING</li><li>title: STRING</li><li>updated_at: DATE-TIME</li><li>url: STRING</li></ul> |
| **node\_id**<br><br><br>STRING |
| **number**<br><br><br>INTEGER |
| **patch\_url**<br><br><br>STRING |
| **requested\_reviewers**<br><br><br>ARRAY<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **requested\_teams**<br><br><br>ARRAY<br><br>This is a nested data structure:<br><br><ul><li>description: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>members_url: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>parent: OBJECT, which is also a nested data structure.											<ul><li>description: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>ldap_dn: STRING</li><li>members_url: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>permission: STRING</li><li>privacy: STRING</li><li>repositories_url: STRING</li><li>slug: STRING</li><li>url: STRING</li></ul></li><li>permission: STRING</li><li>permissions: OBJECT, which is also a nested data structure.											<ul><li>admin: BOOLEAN</li><li>maintain: BOOLEAN</li><li>pull: BOOLEAN</li><li>push: BOOLEAN</li><li>triage: BOOLEAN</li></ul></li><li>privacy: STRING</li><li>repositories_url: STRING</li><li>slug: STRING</li><li>url: STRING</li></ul> |
| **review\_comments\_url**<br><br><br>STRING |
| **state**<br><br><br>STRING |
| **statuses\_url**<br><br><br>STRING |
| **title**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **url**<br><br><br>STRING |
| **user**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |

### releases

The `releases` table contains info about releases in the repositories specified for the integration.

**Note**: GitHub doesn’t include regular Git tags that haven’t been associated with a release.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub API method](https://docs.github.com/en/rest/reference/repos#list-releases "Opens in new tab: GitHub API method") |

releases table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **assets**<br><br><br>ARRAY<br><br>This is a nested data structure. |
| **assets\_url**<br><br><br>STRING |
| **author**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **body**<br><br><br>STRING |
| **body\_html**<br><br><br>STRING |
| **body\_text**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **discussion\_url**<br><br><br>STRING |
| **draft**<br><br><br>BOOLEAN |
| **html\_url**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **mentions\_count**<br><br><br>INTEGER |
| **name**<br><br><br>STRING |
| **node\_id**<br><br><br>STRING |
| **prerelease**<br><br><br>BOOLEAN |
| **published\_at**<br><br><br>DATE-TIME |
| **reactions**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>+1: INTEGER</li><li>-1: INTEGER</li><li>confused: INTEGER</li><li>eyes: INTEGER</li><li>heart: INTEGER</li><li>hooray: INTEGER</li><li>laugh: INTEGER</li><li>rocket: INTEGER</li><li>total_count: INTEGER</li><li>url: STRING</li></ul> |
| **tag\_name**<br><br><br>STRING |
| **tarball\_url**<br><br><br>STRING |
| **target\_commitish**<br><br><br>STRING |
| **upload\_url**<br><br><br>STRING |
| **url**<br><br><br>STRING |
| **zipball\_url**<br><br><br>STRING |

### review\_comments

The `review_comments` table contains info about comments made on pull request reviews in the repositories specified for the integration.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub API method](https://docs.github.com/en/rest/reference/pulls#list-review-comments-on-a-pull-request "Opens in new tab: GitHub API method") |

review\_comments table foreign keys

| Join review\_comments with | on |
| --- | --- |
| [commits](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#commits) | ```<br>review_comments.commit_id = commits.id<br>```<br><br>```<br>review_comments.original_commit_id = commits.id<br>``` |
| [issue_events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#issue-events) | ```<br>review_comments.commit_id = issue_events.commit_id<br>```<br><br>```<br>review_comments.original_commit_id = issue_events.commit_id<br>``` |
| [reviews](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#reviews) | ```<br>review_comments.commit_id = reviews.commit_id<br>```<br><br>```<br>review_comments.original_commit_id = reviews.commit_id<br>```<br><br>```<br>review_comments.pull_request_review_id = reviews.id<br>``` |

review\_comments table schema

| **\_links**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>html: OBJECT, which is also a nested data structure.											<ul><li>href: STRING</li></ul></li><li>pull_request: OBJECT, which is also a nested data structure.											<ul><li>href: STRING</li></ul></li><li>self: OBJECT, which is also a nested data structure.											<ul><li>href: STRING</li></ul></li></ul> |
| --- |
| **\_sdc\_repository**<br><br><br>STRING |
| **assignee**<br><br><br>STRING |
| **assignees**<br><br><br>STRING |
| **author\_association**<br><br><br>STRING |
| **base**<br><br><br>STRING |
| **body**<br><br><br>STRING |
| **body\_html**<br><br><br>STRING |
| **body\_text**<br><br><br>STRING |
| **comments\_url**<br><br><br>STRING |
| **commit\_id**<br><br><br>STRING |
| **commits\_url**<br><br><br>STRING |
| **created\_at**<br><br><br>DATE-TIME |
| **diff\_hunk**<br><br><br>STRING |
| **diff\_url**<br><br><br>STRING |
| **head**<br><br><br>STRING |
| **html\_url**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **in\_reply\_to\_id**<br><br><br>INTEGER |
| **issue\_url**<br><br><br>STRING |
| **labels**<br><br><br>STRING |
| **line**<br><br><br>INTEGER |
| **locked**<br><br><br>STRING |
| **merge\_commit\_sha**<br><br><br>STRING |
| **milestone**<br><br><br>STRING |
| **node\_id**<br><br><br>STRING |
| **original\_commit\_id**<br><br><br>STRING |
| **original\_line**<br><br><br>INTEGER |
| **original\_position**<br><br><br>INTEGER |
| **original\_start\_line**<br><br><br>INTEGER |
| **patch\_url**<br><br><br>STRING |
| **path**<br><br><br>STRING |
| **position**<br><br><br>INTEGER |
| **pr\_id**<br><br><br>STRING |
| **pull\_request\_review\_id**<br><br><br>INTEGER |
| **pull\_request\_url**<br><br><br>STRING |
| **reactions**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>+1: INTEGER</li><li>-1: INTEGER</li><li>confused: INTEGER</li><li>eyes: INTEGER</li><li>heart: INTEGER</li><li>hooray: INTEGER</li><li>laugh: INTEGER</li><li>rocket: INTEGER</li><li>total_count: INTEGER</li><li>url: STRING</li></ul> |
| **requested\_reviewers**<br><br><br>STRING |
| **requested\_teams**<br><br><br>STRING |
| **review\_comment\_url**<br><br><br>STRING |
| **review\_comments\_url**<br><br><br>STRING |
| **side**<br><br><br>STRING |
| **start\_line**<br><br><br>INTEGER |
| **start\_side**<br><br><br>STRING |
| **statuses\_url**<br><br><br>STRING |
| **updated\_at**<br><br><br>DATE-TIME |
| **url**<br><br><br>STRING |
| **user**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |

### reviews

The `reviews` table contains info about pull request reviews in the repositories specified for the integration. A pull request review is a group of comments on a pull request.

| **Replication Method** | CDC |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub documentation](https://developer.github.com/v3/pulls/reviews/)<br><br>[GitHub API method](https://docs.github.com/en/rest/reference/pulls#list-reviews-for-a-pull-request "Opens in new tab: GitHub API method") |

reviews table foreign keys

| Join reviews with | on |
| --- | --- |
| [collaborators](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#collaborators) | ```<br>reviews.user.id = collaborators.id<br>``` |
| [pull_requests](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#pull-requests) | ```<br>reviews.user.id = pull_requests.user.id<br>``` |
| [commits](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#commits) | ```<br>reviews.commit_id = commits.id<br>``` |
| [issue_events](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#issue-events) | ```<br>reviews.commit_id = issue_events.commit_id<br>``` |
| [review_comments](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataIntegration/WebApplications/Connecting-GitHub-v2.htm#review-comments) | ```<br>reviews.commit_id = review_comments.commit_id<br>```<br><br>```<br>reviews.commit_id = review_comments.original_commit_id<br>```<br><br>```<br>reviews.id = review_comments.pull_request_review_id<br>``` |

reviews table schema

| **\_links**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>html: OBJECT, which is also a nested data structure.											<ul><li>href: STRING</li></ul></li><li>pull_request: OBJECT, which is also a nested data structure.											<ul><li>href: STRING</li></ul></li></ul> |
| --- |
| **\_sdc\_repository**<br><br><br>STRING |
| **author\_association**<br><br><br>STRING |
| **body**<br><br><br>STRING |
| **body\_html**<br><br><br>STRING |
| **body\_text**<br><br><br>STRING |
| **commit\_id**<br><br><br>STRING |
| **html\_url**<br><br><br>STRING |
| **id**<br><br><br>INTEGER |
| **node\_id**<br><br><br>STRING |
| **pr\_id**<br><br><br>STRING |
| **pull\_request\_url**<br><br><br>STRING |
| **state**<br><br><br>STRING |
| **submitted\_at**<br><br><br>DATE-TIME |
| **user**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |

### stargazers

The `stargazers` table contains info about users who have starred the repositories specified for the integration.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | user\_id |
| **Useful links** | [GitHub API method](https://docs.github.com/en/rest/reference/activity#list-stargazers "Opens in new tab: GitHub API method") |

stargazers table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **starred\_at**<br><br><br>DATE-TIME |
| **user**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>avatar_url: STRING</li><li>email: STRING</li><li>events_url: STRING</li><li>followers_url: STRING</li><li>following_url: STRING</li><li>gists_url: STRING</li><li>gravatar_id: STRING</li><li>html_url: STRING</li><li>id: INTEGER</li><li>login: STRING</li><li>name: STRING</li><li>node_id: STRING</li><li>organizations_url: STRING</li><li>received_events_url: STRING</li><li>repos_url: STRING</li><li>site_admin: BOOLEAN</li><li>starred_at: STRING</li><li>starred_url: STRING</li><li>subscriptions_url: STRING</li><li>type: STRING</li><li>url: STRING</li></ul> |
| **user\_id**<br><br><br>INTEGER |

### team\_members

The `team_members` table contains info about members of organization teams that are visible to the user who authorized the integration.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub API method](https://docs.github.com/en/rest/reference/teams#list-team-members "Opens in new tab: GitHub API method") |

team\_members table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **avatar\_url**<br><br><br>STRING |
| **email**<br><br><br>STRING |
| **events\_url**<br><br><br>STRING |
| **followers\_url**<br><br><br>STRING |
| **following\_url**<br><br><br>STRING |
| **gists\_url**<br><br><br>STRING |
| **gravatar\_id**<br><br><br>STRING |
| **html\_url**<br><br><br>STRING |
| **id**<br><br><br>NUMBER |
| **login**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **node\_id**<br><br><br>STRING |
| **organizations\_url**<br><br><br>STRING |
| **received\_events\_url**<br><br><br>STRING |
| **repos\_url**<br><br><br>STRING |
| **site\_admin**<br><br><br>BOOLEAN |
| **starred\_at**<br><br><br>STRING |
| **starred\_url**<br><br><br>STRING |
| **subscriptions\_url**<br><br><br>STRING |
| **team\_slug**<br><br><br>STRING |
| **type**<br><br><br>STRING |
| **url**<br><br><br>STRING |

### team\_memberships

The `team_memberships` table contains info about membership of users in of organization teams that are visible to the user who authorized the integration.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | url |
| **Useful links** | [GitHub API method](https://docs.github.com/en/rest/reference/teams#get-team-membership-for-a-user "Opens in new tab: GitHub API method") |

team\_memberships table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **login**<br><br><br>STRING |
| **role**<br><br><br>STRING |
| **state**<br><br><br>STRING |
| **url**<br><br><br>STRING |

### teams

The `teams` table contains info about the teams in an organization. Only teams that are visible to the user who authorized the integration in Stitch will be replicated.

| **Replication Method** | Full Table |
| --- | --- |
| **Primary Key** | id |
| **Useful links** | [GitHub API method](https://docs.github.com/en/rest/reference/teams#list-teams "Opens in new tab: GitHub API method") |

teams table schema

| **\_sdc\_repository**<br><br><br>STRING |
| --- |
| **description**<br><br><br>STRING |
| **html\_url**<br><br><br>STRING |
| **id**<br><br><br>NUMBER |
| **members\_url**<br><br><br>STRING |
| **name**<br><br><br>STRING |
| **node\_id**<br><br><br>STRING |
| **parent**<br><br><br>OBJECT, STRING<br><br>This is a nested data structure. |
| **permission**<br><br><br>STRING |
| **permissions**<br><br><br>OBJECT<br><br>This is a nested data structure:<br><br><ul><li>admin: BOOLEAN</li><li>maintain: BOOLEAN</li><li>pull: BOOLEAN</li><li>push: BOOLEAN</li><li>triage: BOOLEAN</li></ul> |
| **privacy**<br><br><br>STRING |
| **repositories\_url**<br><br><br>STRING |
| **slug**<br><br><br>STRING |
| **url**<br><br><br>STRING |