---
name: 🐛 Bug report
about: Create a bug report to help us improve
title: ""
labels: ["type: bug", "pending-approval"]
assignees: ""
---

<!--
If you don't follow the issue template, your issue may be closed.

Remember to properly format your code in code blocks.

Please note this is an issue tracker, not a support forum.
For general questions, please use one of these:
- StackOverflow: https://stackoverflow.com/questions/tagged/sequelize.js
- GitHub discussions: https://github.com/sequelize/sequelize/discussions
-->

## Issue Creation Checklist

- [ ] I understand that my issue will be automatically closed if I don't fill in the requested information
- [ ] I have read the [contribution guidelines](https://github.com/sequelize/sequelize/blob/main/CONTRIBUTING.md)

## Bug Description

<!-- You can describe your issue here -->

### Reproducible Example

<!--
We almost always need a reproducible example (SSCCE) of your error.
You should use https://github.com/sequelize/sequelize-sscce to create one.

Please understand that your issue will be closed if you do not provide a reproducible example.
-->

Here is the link to the SSCCE for this issue:

<!--
We also accept pasting the relevant source code here, but it must follow the rules of SSCCE: http://sscce.org/
-->

### What do you expect to happen?

<!-- Explain what behavior you wanted/expected. You may include an output. -->

### What is actually happening?

<!-- Describe what happened. Including relevant details like complete stacktraces & the SQL output -->

### Environment

<!---
Please answer the questions below. If you don't, your issue will be closed.

To find the version numbers for the three systems below use the following commands:
- `npm list sequelize` / `yarn list --pattern sequelize` (v6 stable)
- `npm list @sequelize/core` / `yarn list --pattern @sequelize/core` (v7 alpha)
- `node -v`
- `npm list typescript` / `yarn list --pattern typescript`
- 'Database' is which actual database system you're using. e.g. 'PostgreSQL 14', 'MariaDB 8', etc…
- 'Connector library' is the dependency sequelize requires you to install to interact with a given database type.
  e.g. 'pg' or 'pg-native' for PostgreSQL, 'mysql2' for MySQL, 'tedious' for SQL Server, etc… (see README for complete list).
--->

- Sequelize version:
- Node.js version:
- If TypeScript related: TypeScript version:
- Database & Version:
- Connector library & Version:

## Would you be willing to resolve this issue by submitting a Pull Request?

<!-- Remember that first contributors are welcome! -->

- [ ] Yes, I have the time and I know how to start.
- [ ] Yes, I have the time but I will need guidance.
- [ ] No, I don't have the time, but my company or I are [supporting Sequelize through donations on OpenCollective](https://opencollective.com/sequelize).
- [ ] No, I don't have the time, and I understand that I will need to wait until someone from the community or maintainers is interested in resolving my issue.

---

<!-- do not delete this footer -->

*Indicate your interest in the resolution of this issue by adding the 👍 reaction. Comments such as "+1" will be removed.*
