Skip to content

fix(postgres): Escape identifier in createSchema and dropSchema - #15752

Merged
WikiRik merged 1 commit into
sequelize:v6from
meyfa:v6
Mar 9, 2023
Merged

WikiRik merged 1 commit into
sequelize:v6from
meyfa:v6

Conversation

@meyfa

@meyfa meyfa commented Mar 9, 2023

Copy link
Copy Markdown

Pull Request Checklist

  • Have you added new tests to prevent regressions?
  • If a documentation update is necessary, have you opened a PR to the documentation repository?
  • Did you update the typescript typings accordingly (if applicable)?
  • Does the description below contain a link to an existing issue (Closes #[issue]) or a description of the issue you are solving?
  • Does the name of your PR follow our conventions?

Description Of Change

Fixes #15651. This patch backports a part of #14999 to Sequelize v6 to quote schema identifiers in PostgreSQL createSchema() and dropSchema().

Todos

(none)

Fixes #15651. This patch backports a part of #14999 to Sequelize v6 to
quote schema identifiers in PostgreSQL `createSchema()` and
`dropSchema()`.
@meyfa meyfa mentioned this pull request Mar 9, 2023
3 of 6 tasks

@ephys ephys left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks!

@WikiRik WikiRik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, easy fix but looks good to me

@WikiRik
WikiRik merged commit 1ad9a64 into sequelize:v6 Mar 9, 2023
@github-actions

github-actions Bot commented Mar 9, 2023

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 6.29.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants