Skip to content

detects autoIncrement flag from MySQL - #9827

Closed
poison wants to merge 1 commit into
sequelize:v4from
poison:feature-fix-9826
Closed

poison wants to merge 1 commit into
sequelize:v4from
poison:feature-fix-9826

Conversation

@poison

@poison poison commented Aug 22, 2018 •

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 follow the commit message conventions explained in CONTRIBUTING.md?

Description of change

Includes the autoIncrement flag on thee mysql dialect, just like the mssql dialect behaves. Closes #9826

@poison

poison commented Aug 22, 2018

Copy link
Copy Markdown
Author

FYI: The failing builds are not related to my commit

@sushantdhiman

Copy link
Copy Markdown
Contributor

Needs a PR to master first, with tests. I suppose this flag was available to other dialects and not to MySQL?

@poison

poison commented Aug 23, 2018

Copy link
Copy Markdown
Author

Exactly, it's available on mssql for example (see lib/dialects/mssql/query.js:209).
Okay, I'll create a PR on master and add a test in the coming days

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.

2 participants