fix(snyk)!: Add organization_id to primary keys#9658
Merged
Conversation
organization_id to primary keysorganization_id to primary keys
This PR has the following changes to source plugin(s) tables:
|
hermanschaaf
approved these changes
Apr 4, 2023
kodiakhq Bot
pushed a commit
that referenced
this pull request
Apr 4, 2023
🤖 I have created a release *beep* *boop* --- ## [2.0.0](plugins-source-snyk-v1.2.2...plugins-source-snyk-v2.0.0) (2023-04-04) ### ⚠ BREAKING CHANGES * **snyk:** Added `organization_id` to primary keys to ensure no duplicate primary keys are encountered. The following tables are affected: * `snyk_dependencies` * `snyk_integrations` * `snyk_projects` ### This Release has the Following Changes to Tables - Table `snyk_dependencies`: column added with name `organization_id (PK)` and type `String` (:warning: breaking) - Table `snyk_integrations`: primary key constraint added to column `organization_id` (:warning: breaking) - Table `snyk_integrations`: column order changed for `id` - Table `snyk_organizations`: column order changed for `id` - Table `snyk_projects`: primary key constraint added to column `organization_id` (:warning: breaking) ### Bug Fixes * **deps:** Update golang.org/x/exp digest to 10a5072 ([#9587](#9587)) ([31f913f](31f913f)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.44.1 ([#9520](#9520)) ([202c31b](202c31b)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.44.2 ([#9661](#9661)) ([a27dc84](a27dc84)) * **deps:** Update module github.com/mattn/go-isatty to v0.0.18 ([#9609](#9609)) ([5b2908e](5b2908e)) * **snyk:** Add `organization_id` to primary keys ([#9658](#9658)) ([6b4e1af](6b4e1af)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes https://github.com/cloudquery/cloudquery-issues/issues/511
BEGIN_COMMIT_OVERRIDE
fix(snyk)!: Add
organization_idto primary keys (#9658)BREAKING-CHANGE: Added
organization_idto primary keys to ensure no duplicate primary keys are encountered.The following tables are affected:
snyk_dependenciessnyk_integrationssnyk_projectsEND_COMMIT_OVERRIDE