Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Adds domain column to github_apps migration#52268

Merged
st0nebreaker merged 5 commits into
batches/commit-signingfrom
bb/gh_app_add_domain_column
May 23, 2023
Merged

Adds domain column to github_apps migration#52268
st0nebreaker merged 5 commits into
batches/commit-signingfrom
bb/gh_app_add_domain_column

Conversation

@st0nebreaker

Copy link
Copy Markdown
Contributor

Adds new domain column to the github_apps table to close #52264
image

@kopancek - What default value do you want for this field for your use case? We will change the column to batches for Batch Changes GitHub Apps. We set the default value to repos for now, let us know what you think! 🙏🏻

Test plan

  • Run sg migration up ensure new domain column to github_apps table
  • Run sg migration undo new column is removed

Comment thread migrations/frontend/1684771948_add_domain_to_github_app/up.sql Outdated
Comment thread migrations/frontend/squashed.sql Outdated
BolajiOlajide and others added 3 commits May 23, 2023 14:14
Co-authored-by: Milan Freml <kopancek@users.noreply.github.com>
Co-authored-by: Milan Freml <kopancek@users.noreply.github.com>
@st0nebreaker st0nebreaker merged this pull request into batches/commit-signing May 23, 2023
@st0nebreaker st0nebreaker deleted the bb/gh_app_add_domain_column branch May 23, 2023 15:37
@BolajiOlajide BolajiOlajide restored the bb/gh_app_add_domain_column branch May 23, 2023 19:03
st0nebreaker added a commit that referenced this pull request May 23, 2023
Closes #52270
Exposes new `domain` property from #52268

## Test plan
- Make sure there is a GitHub App on your instance
- In the API Console ensure the following query doesn't fail and returns
the `domain` property:
```
query {
  gitHubApps {
    nodes {
      name
      domain
    }
  }
}
````

---------

Co-authored-by: Milan Freml <kopancek@users.noreply.github.com>
Co-authored-by: Bolaji Olajide <25608335+BolajiOlajide@users.noreply.github.com>
Co-authored-by: Kelli Rockwell <kelli@sourcegraph.com>
BolajiOlajide added a commit that referenced this pull request May 26, 2023
Closes #52270
Exposes new `domain` property from #52268

## Test plan
- Make sure there is a GitHub App on your instance
- In the API Console ensure the following query doesn't fail and returns
the `domain` property:
```
query {
  gitHubApps {
    nodes {
      name
      domain
    }
  }
}
````

---------

Co-authored-by: Milan Freml <kopancek@users.noreply.github.com>
Co-authored-by: Bolaji Olajide <25608335+BolajiOlajide@users.noreply.github.com>
Co-authored-by: Kelli Rockwell <kelli@sourcegraph.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants