Skip to content

add support for composite foreign keys in v6 - #12867

Closed
ShaunParsons wants to merge 1 commit into
sequelize:v6from
ShaunParsons:feat/composite-foreign-key
Closed

ShaunParsons wants to merge 1 commit into
sequelize:v6from
ShaunParsons:feat/composite-foreign-key

Conversation

@ShaunParsons

@ShaunParsons ShaunParsons commented Nov 25, 2020 •

Copy link
Copy Markdown

Pull Request check-list

Please make sure to review and check all of these items:

  • Does npm run test or npm run test-DIALECT pass with this change (including linting)?
  • Does the description below contain a link to an existing issue (Closes #[issue]) or a description of the issue you are solving?
  • Have you added new tests to prevent regressions?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Did you update the typescript typings accordingly (if applicable)?
  • Did you follow the commit message conventions explained in CONTRIBUTING.md?

Description of change

Following on from #12456 add support for composite foreign keys in v6

@codecov

codecov Bot commented Nov 26, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #12867 (af3add7) into v6 (aa6345b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##               v6   #12867   +/-   ##
=======================================
  Coverage   96.44%   96.44%           
=======================================
  Files          95       95           
  Lines        9162     9164    +2     
=======================================
+ Hits         8836     8838    +2     
  Misses        326      326           
Impacted Files Coverage Δ
lib/dialects/abstract/query-interface.js 94.08% <ø> (ø)
lib/dialects/abstract/query-generator.js 97.39% <100.00%> (+<0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aa6345b...af3add7. Read the comment docs.

@papb

papb commented Jan 18, 2021

Copy link
Copy Markdown
Member

Hi @ShaunParsons! Thank you for the PR. I already cherry-picked the linked PR in 9ecebef, and it is now available on v6.4.0. Sorry for taking long!

@papb papb closed this Jan 18, 2021
@ShaunParsons

Copy link
Copy Markdown
Author

Thank you @papb

@kf6kjg

kf6kjg commented Aug 7, 2025

Copy link
Copy Markdown
Contributor

After all this time I finally come back to look at this! Looks good but missed the TypeScript change.

kf6kjg added a commit to kf6kjg/sequelize that referenced this pull request Aug 7, 2025
Javascript support was added in sequelize#12867, but the TypeScript change was missed, even by me.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants