Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use "GENERATED BY DEFAULT AS IDENTITY" for h2 2.0+ #2372

Merged
merged 2 commits into from
Feb 17, 2022
Merged

Conversation

nvoxland
Copy link
Contributor

@nvoxland nvoxland commented Jan 14, 2022

Description

Fixes #2362

Change H2 2.0's autoIncrement syntax from AUTO_INCREMENT GENERATED BY DEFAULT AS IDENTITY. Keep 1.x as-is


Dev Handoff Notes (Internal Use)

Links

Testing

Dev Verification

Old AUTO_INCREMENT syntax worked for me with 2.0 even, but users reported issues with it. Checked that the new syntax works with my 2.0 setup through both manual and automated tests

┆Issue is synchronized with this Jira Bug by Unito

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.

Changeset generates wrong CREATE TABLE query for auto increment primary key column
4 participants